diff options
author | 2021-01-26 16:33:53 +0800 | |
---|---|---|
committer | 2021-02-08 22:59:02 +0100 | |
commit | 03a816b32be577fdeed2e17d95c2636b68f6860c (patch) | |
tree | b8267a8db6714ca67d877d6211eb7b63013390f3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: introduce helpers for subpage uptodate status (diff) | |
download | wireguard-linux-03a816b32be577fdeed2e17d95c2636b68f6860c.tar.xz wireguard-linux-03a816b32be577fdeed2e17d95c2636b68f6860c.zip |
btrfs: introduce helpers for subpage error status
Introduce the following functions to handle subpage error status:
- btrfs_subpage_set_error()
- btrfs_subpage_clear_error()
- btrfs_subpage_test_error()
These helpers can only be called when the page has subpage attached
and the range is ensured to be inside the page.
- btrfs_page_set_error()
- btrfs_page_clear_error()
- btrfs_page_test_error()
These helpers can handle both regular sector size and subpage without
problem.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
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