]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee30f42db926c642dc360087d1cd19560da4cf1b
treee4e2b6758fb57e53fc0cec268dd133955ee7e615
parentee35ad832a35d2d82b99000f75834b414e7c26f7
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