]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: fix how we discard outstanding ordered extents on abort
authorJosef Bacik <jbacik@fusionio.com>
Thu, 31 Jan 2013 19:30:08 +0000 (14:30 -0500)
committerJosef Bacik <jbacik@fusionio.com>
Wed, 20 Feb 2013 17:59:28 +0000 (12:59 -0500)
commit45730879d71243ef2624d712d6280ea2ec1a440f
tree715770c70ccbfa1e2352c6cd2f4cddee50eca596
parent4bb43c83a449e61481f43d239e45621b28ea2afd
Btrfs: fix how we discard outstanding ordered extents on abort

When we abort we've been just free'ing up all the ordered extents and
hoping for the best.  This results in lots of warnings from various places,
warnings from btrfs_destroy_inode() because it's ENOSPC accounting isn't
fixed.  It will also screw up lots of pages who have been set private but
never get cleared because the ordered extents are never allowed to be
submitted.  This patch fixes those warnings.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/disk-io.c