btrfs: rename btrfs_io_stripe::is_scrub to rst_search_commit_root
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Wed, 31 Jul 2024 20:43:04 +0000 (22:43 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 10 Sep 2024 14:51:17 +0000 (16:51 +0200)
commitd6106f0dc502c8ec375d6612418f7aa0e3e7d2b7
treeeb122e9dc19a3ecc527478bfcfe4dc8ceebb2132
parentf8428360c8f9eca3bf355cdf10b789f880d61b47
btrfs: rename btrfs_io_stripe::is_scrub to rst_search_commit_root

Rename 'btrfs_io_stripe::is_scrub' to 'rst_search_commit_root'. While
'is_scrub' describes the state of the io_stripe (it is a stripe submitted
by scrub) it does not describe the purpose, namely looking at the commit
root when searching RAID stripe-tree entries.

Renaming the stripe to rst_search_commit_root describes this purpose.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/bio.c
fs/btrfs/raid-stripe-tree.c
fs/btrfs/scrub.c
fs/btrfs/volumes.h