summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2022-04-01 19:23:28 +0800
committerDavid Sterba <dsterba@suse.com>2022-05-16 17:03:15 +0200
commit5fdb7afc6f94d5da88edc58910a42615fb1ca5ab (patch)
tree7956f001c32a70a3eec29f2bfbd00cf92b3aed4f /tools/perf/scripts/python/export-to-postgresql.py
parentac26df8b3b02101056ca868109d2f24ed396bba8 (diff)
btrfs: raid56: make set_bio_pages_uptodate() subpage compatible
Unlike previous code, we can not directly set PageUptodate for stripe pages now. Instead we have to iterate through all the sectors and set SECTOR_UPTODATE flag there. Introduce a new helper find_stripe_sector(), to do the work. 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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions