]> www.infradead.org Git - users/jedix/linux-maple.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>
Wed, 16 Nov 2011 02:20:59 +0000 (21:20 -0500)
commitc6504d6875f139f4d81d5e293371f98c3a39b5fd
treea8e6733301c5b9558cee1437d6eee278ee4e355e
parentfcdc297d4e7c3f0b4966779c1dac063f77a24b59
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>
(cherry picked from commit 2115133f8b9a8dbdb217d14080814df07ce90479)
fs/btrfs/delayed-inode.c
fs/btrfs/inode.c