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)
commitcb77fcd88569cd2b7b25ecd4086ea932a53be9b3
tree331330ac068ce4028e8d97bb47388ca67cf7430b
parente18fca734278784bd6591de63ca148cc27344ca9
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