Thread (52 messages) 52 messages, 5 authors, 2021-02-04

Re: [PATCH v5 09/18] btrfs: introduce helpers for subpage error status

From: Josef Bacik <josef@toxicpanda.com>
Date: 2021-01-27 16:36:40

On 1/26/21 3:33 AM, Qu Wenruo wrote:
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.

Signed-off-by: Qu Wenruo <redacted>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>

Thanks,

Josef
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help