]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: tweak the delayed inode reservations again
authorChris Mason <chris.mason@oracle.com>
Fri, 11 Nov 2011 01:39:08 +0000 (20:39 -0500)
committerChris Mason <chris.mason@oracle.com>
Fri, 11 Nov 2011 01:39:08 +0000 (20:39 -0500)
commitb6e01d1ed56ba8be3f839b7c9e0505415ac4fa73
tree3b2f3d6839cdb1f6495ae10dd548f7fbfee70266
parent2529b60da67a3f5f0ed35c26e893031c53872b7c
Btrfs: tweak the delayed inode reservations again

Josef sent along an incremental to the inode reservation
code to make sure we try and fall back to directly updating
the inode item if things go horribly wrong.

This reworks that patch slightly, adding a fallback function
that will always try to update the inode item directly without
going through the delayed_inode code.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/delayed-inode.c
fs/btrfs/inode.c