diff options
author | Liu Bo <[email protected]> | 2017-05-26 17:44:23 -0600 |
---|---|---|
committer | Chris Mason <[email protected]> | 2017-06-09 12:48:29 -0700 |
commit | 452e62b71fbbefe2646fad3a968371a026936c6d (patch) | |
tree | 74f25261a8064b9f36735dcdbb47cf1dbea1f8ac /lib/debugobjects.c | |
parent | 286b92f43c0d0ae2c29a61769b66219fe5ae6701 (diff) |
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 <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions