]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commitfefdc55702a5f9f99778b6bdce4c4e1185ff943f
tree5200c727ca441747ae8c1d168962749bd25dbe48
parentd38ed27f0442c8cd520e093081127949d4bcf9bc
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