]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: make __process_pages_contig() to handle subpage dirty/error/writeback status
authorQu Wenruo <wqu@suse.com>
Mon, 31 May 2021 08:50:42 +0000 (16:50 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Jun 2021 13:19:09 +0000 (15:19 +0200)
commit81b866933e33ea5674ef6cac8f44dd3468bcd253
treed311334dbe29ce2a221692cef75f4ea0b08afea9
parent49ba6a13a4cc40a6535091346dd53fad108fc205
btrfs: make __process_pages_contig() to handle subpage dirty/error/writeback status

For __process_pages_contig() and process_one_page(), to handle subpage
we only need to pass bytenr in and call subpage helpers to handle
dirty/error/writeback status.

Tested-by: Ritesh Harjani <riteshh@linux.ibm.com> # [ppc64]
Tested-by: Anand Jain <anand.jain@oracle.com> # [aarch64]
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent_io.c