Skip to content

btrfs: scrub: setup all fields for sblock_to_check

Zhao Lei linux-btrfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5btrfs: scrub: setup all fields for sblock_to_checkfs/btrfs/scrub.c+12 -00 replies
2/5btrfs: Reset sblock->xxx_error stats before calling scrub_recheck_block_checksumfs/btrfs/scrub.c+4 -00 replies
3/5btrfs: Use scrub_checksum_data and scrub_checksum_tree_block for scrub_recheck_block_checksumfs/btrfs/scrub.c+34 -920 replies
4/5btrfs: Reduce unnecessary arguments in scrub_recheck_blockfs/btrfs/scrub.c+8 -200 replies
5/5btrfs: Remove len argument from scrub_find_csumfs/btrfs/scrub.c+3 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] btrfs: scrub: setup all fields for sblock_to_check

scrub_setup_recheck_block() isn't setup all necessary fields for sblock_to_check because history reason.

So current code need more arguments in severial functions, and more local variables, just to passing these lacked values to necessary place.

[PATCH 1/5] setup above fields for sblock_to_check, it makes other code simple(done in [PATCH 2..5]).

Zhao Lei (5):
btrfs: scrub: setup all fields for sblock_to_check
btrfs: Reset sblock->xxx_error stats before calling
scrub_recheck_block_checksum
btrfs: Use scrub_checksum_data and scrub_checksum_tree_block for
scrub_recheck_block_checksum
btrfs: Reduce unnecessary arguments in scrub_recheck_block
btrfs: Remove len argument from scrub_find_csum

 fs/btrfs/scrub.c | 169 +++++++++++++++++++------------------------------------
 1 file changed, 57 insertions(+), 112 deletions(-)
Signature · 1 line
1.8.5.1