btrfs: scrub: setup all fields for sblock_to_check
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | btrfs: scrub: setup all fields for sblock_to_checkfs/ | +12 | 0 replies | |
| 2/5 | btrfs: Reset sblock->xxx_error stats before calling scrub_recheck_block_checksumfs/ | +4 | 0 replies | |
| 3/5 | btrfs: Use scrub_checksum_data and scrub_checksum_tree_block for scrub_recheck_block_checksumfs/ | +34 | 0 replies | |
| 4/5 | btrfs: Reduce unnecessary arguments in scrub_recheck_blockfs/ | +8 | 0 replies | |
| 5/5 | btrfs: Remove len argument from scrub_find_csumfs/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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