]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: extent_io: Introduce new function clear_record_extent_bits()
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Mon, 12 Oct 2015 07:35:38 +0000 (15:35 +0800)
committerChris Mason <clm@fb.com>
Thu, 22 Oct 2015 01:37:44 +0000 (18:37 -0700)
commit8caf85cfd87d9356f6e0f53479d5d3735bc4c270
tree5200c727ca441747ae8c1d168962749bd25dbe48
parent4d52f74471d9fa108acdb51e0a305b237144778e
btrfs: extent_io: Introduce new function clear_record_extent_bits()

Introduce new function clear_record_extent_bits(), which will clear bits
for given range and record the details about which ranges are cleared
and how many bytes in total it changes.

This provides the basis for later qgroup reserve codes.

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