summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2021-03-25 15:14:40 +0800
committerDavid Sterba <dsterba@suse.com>2021-04-19 17:25:18 +0200
commiteca0f6f64349c412695315490c30cda1622fba9f (patch)
tree74c79f9aaba6e512c5bb8e98f62e64e81b87f50e /tools/perf/scripts/python/mem-phys-addr.py
parent139e8cd32592affac5a1e719c2be96ecb8405c19 (diff)
btrfs: subpage: support metadata checksum calculation at write time
Add a new helper, csum_dirty_subpage_buffers(), to iterate through all dirty extent buffers in one bvec. Also extract the code of calculating csum for one extent buffer into csum_one_extent_buffer(), so that both the existing csum_dirty_buffer() and the new csum_dirty_subpage_buffers() can reuse the same routine. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions