btrfs: extent_io: Introduce needed structure for recoding set/clear bits
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Mon, 12 Oct 2015 04:08:16 +0000 (12:08 +0800)
committerChris Mason <clm@fb.com>
Thu, 22 Oct 2015 01:37:43 +0000 (18:37 -0700)
commitac46777213e00e26b9210060586f473368c54da2
treee4e2b6758fb57e53fc0cec268dd133955ee7e615
parenta408365c62762c30419018587cffd2b89836434e
btrfs: extent_io: Introduce needed structure for recoding set/clear bits

Add a new structure, extent_change_set, to record how many bytes are
changed in one set/clear_extent_bits() operation, with detailed changed
ranges info.

This provides the needed facilities for later qgroup reserve framework.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent_io.h