summaryrefslogtreecommitdiff
path: root/fs/btrfs/relocation.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-07-29 17:22:24 (GMT)
committerChris Mason <chris.mason@fusionio.com>2013-09-01 12:04:39 (GMT)
commit151a41bc46df2a9cb5e05c3b3265cedc1f65a86f (patch)
tree574b41c09c2890e7a6eeda18dedb5e37c1aac98c /fs/btrfs/relocation.c
parentc2790a2e2bc824084717fde031a8e0d370fc8650 (diff)
downloadlinux-fsl-qoriq-151a41bc46df2a9cb5e05c3b3265cedc1f65a86f.tar.xz
Btrfs: fix what bits we clear when erroring out from delalloc
First of all we no longer set EXTENT_DIRTY when we dirty an extent so this patch removes the clearing of EXTENT_DIRTY since it confuses me. This patch also adds clearing EXTENT_DEFRAG and also doing EXTENT_DO_ACCOUNTING when we have errors. This is because if we are clearing delalloc without adding an ordered extent then we need to make sure the enospc handling stuff is accounted for. Also if this range was DEFRAG we need to make sure that bit is cleared so we dont leak it. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/relocation.c')
0 files changed, 0 insertions, 0 deletions