linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] btrfs: scrub: setup all fields for sblock_to_check
@ 2015-08-24 15:34 Zhao Lei
  2015-08-24 15:34 ` [PATCH 1/5] " Zhao Lei
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Zhao Lei @ 2015-08-24 15:34 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Zhao Lei

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(-)

-- 
1.8.5.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-08-24 15:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-24 15:34 [PATCH 0/5] btrfs: scrub: setup all fields for sblock_to_check Zhao Lei
2015-08-24 15:34 ` [PATCH 1/5] " Zhao Lei
2015-08-24 15:34 ` [PATCH 2/5] btrfs: Reset sblock->xxx_error stats before calling scrub_recheck_block_checksum Zhao Lei
2015-08-24 15:34 ` [PATCH 3/5] btrfs: Use scrub_checksum_data and scrub_checksum_tree_block for scrub_recheck_block_checksum Zhao Lei
2015-08-24 15:34 ` [PATCH 4/5] btrfs: Reduce unnecessary arguments in scrub_recheck_block Zhao Lei
2015-08-24 15:34 ` [PATCH 5/5] btrfs: Remove len argument from scrub_find_csum Zhao Lei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).