]> 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)
commite38992be1f6cf3ed88169347b7d92cec40cc44d3
treed311334dbe29ce2a221692cef75f4ea0b08afea9
parentf02a85d2d551f1a34ac3a02b59d419767c97556b
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