diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-11-12 20:54:09 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-11-20 20:41:32 -0500 |
commit | d006a04816a306995cd9d394079652a7462f81f8 (patch) | |
tree | dadb038189ee9e2e2ea582bf6014f1a48c19239c /fs/btrfs/scrub.c | |
parent | 6cfab851f42edcfa72763b3cb8dc26b8fd74e203 (diff) | |
download | linux-d006a04816a306995cd9d394079652a7462f81f8.tar.bz2 |
Btrfs: only drop modified extents if we logged the whole inode
If we fsync, seek and write, rename and then fsync again we will lose the
modified hole extent because the rename will drop all of the modified extents
since we didn't do the fast search. We need to only drop the modified extents
if we didn't do the fast search and we were logging the entire inode as we don't
need them anymore, otherwise this is being premature. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/scrub.c')
0 files changed, 0 insertions, 0 deletions