linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Meaning of "no_csum" field when scrubbing with -R option
@ 2014-02-19 12:58 Sebastian Ochmann
  2014-02-20 10:31 ` Duncan
  0 siblings, 1 reply; 8+ messages in thread
From: Sebastian Ochmann @ 2014-02-19 12:58 UTC (permalink / raw)
  To: linux-btrfs

Hello everyone,

I have a question: What exactly does the value for "no_csum" mean when 
doing a scrub with the -R option? Example output:


 > sudo btrfs scrub start -BR /

scrub done for ...
   ...
   csum_errors: 0
   verify_errors: 0
   no_csum: 70517
   csum_discards: 87381
   super_errors: 0
   ...


In the btrfs header, I found the following comment for the "no_csum" 
field of the btrfs_scrub_progress struct:


"# of 4k data block for which no csum is present, probably the result of 
data written with nodatasum"


So my question is, why does scrub show a high (i.e. non-zero) value for 
no_csum? I never enabled nodatasum or a similar option.

Best regards
Sebastian

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

end of thread, other threads:[~2014-02-21  8:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-19 12:58 Meaning of "no_csum" field when scrubbing with -R option Sebastian Ochmann
2014-02-20 10:31 ` Duncan
2014-02-20 10:51   ` Wang Shilong
2014-02-20 11:16     ` Duncan
2014-02-20 11:25     ` Meaning of \"no_csum\" " Sebastian Ochmann
2014-02-20 12:38       ` Wang Shilong
2014-02-21  2:30         ` Wang Shilong
2014-02-21  8:00           ` Duncan

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