]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: delay iput with async extents
authorJosef Bacik <josef@redhat.com>
Fri, 15 Jun 2012 18:19:48 +0000 (12:19 -0600)
committerChris Mason <chris.mason@fusionio.com>
Thu, 21 Jun 2012 11:19:36 +0000 (07:19 -0400)
commit1a629212de700d6224c2a7237f61634cdc022ec4
tree331330ac068ce4028e8d97bb47388ca67cf7430b
parent2614eb2327d491355163f917dda9be846575f0b3
Btrfs: delay iput with async extents

There is some concern that these iput()'s could be the final iputs and could
induce lockups on people waiting on writeback.  This would happen in the
rare case that we don't create ordered extents because of an error, but it
is theoretically possible and we already have a mechanism to deal with this
so just make them delayed iputs to negate any worry.

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/inode.c