Revision 452e62b71fbbefe2646fad3a968371a026936c6d authored by Liu Bo on 26 May 2017, 23:44:23 UTC, committed by Chris Mason on 09 June 2017, 19:48:29 UTC
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>
1 parent 286b92f
History
File Mode Size
kvm
lib
Makefile -rw-r--r-- 14 bytes

back to top