]> 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)
commit97188d85ed04aa3b9c4800f73cc4b4cb17c806c5
tree331330ac068ce4028e8d97bb47388ca67cf7430b
parente22f1b1f5acafb5684ff2648d7025f24543b1ab8
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