summaryrefslogtreecommitdiffstats
path: root/crypto/scompress.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2017-05-27 01:44:23 +0200
committerChris Mason <clm@fb.com>2017-06-09 21:48:29 +0200
commit452e62b71fbbefe2646fad3a968371a026936c6d (patch)
tree74f25261a8064b9f36735dcdbb47cf1dbea1f8ac /crypto/scompress.c
parentbtrfs: tree-log.c: Wrong printk information about namelen (diff)
downloadlinux-452e62b71fbbefe2646fad3a968371a026936c6d.tar.xz
linux-452e62b71fbbefe2646fad3a968371a026936c6d.zip
Btrfs: clear EXTENT_DEFRAG bits in finish_ordered_io
Before this, we use 'filled' mode here, ie. if all range has been filled with EXTENT_DEFRAG bits, get to clear it, but if the defrag range joins the adjacent delalloc range, then we'll have EXTENT_DEFRAG bits in extent_state until releasing this inode's pages, and that prevents extent_data from being freed. This clears the bit if any was found within the ordered extent. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'crypto/scompress.c')
0 files changed, 0 insertions, 0 deletions