]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: scrub: rename scrub_bio::pagev and related members
authorQu Wenruo <wqu@suse.com>
Sun, 13 Mar 2022 10:40:02 +0000 (18:40 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 16 May 2022 15:03:07 +0000 (17:03 +0200)
commitd60ebc10ba5d547df0262a312b441d84b0cd5fc5
tree2a6d8e9e1a4e0d44eeeed394edd49b139d3d6156
parent72f9b601ce62b257bf0af36dc295f0b3aa3272ef
btrfs: scrub: rename scrub_bio::pagev and related members

Since the subpage support for scrub, one page no longer always represents
one sector, thus scrub_bio::pagev and scrub_bio::sector_count are no
longer accurate.

Rename them to scrub_bio::sectors and scrub_bio::sector_count respectively.
This also involves scrub_ctx::pages_per_bio and other macros involved.

Now the renaming of pages involved in scrub is be finished.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/scrub.c