Question to zfs scrub code

Paul Blockhaus paul at mueller-blockhaus.de
Sat Jun 30 20:19:36 UTC 2018


Hello folks,

I'm not entirely shure wether this is the right place to ask, but maybe
someone can help my anyway.
I'm trying to understand how the zfs scrub code works, but I'm stuck at
dsl_scan in dsl_scan.c, it just looks like a dead end in the code.
All called functions don't seem to traverse any data blocks and just
magically end in a scrubbed pool.

What am I missing?
Is there any documentation where the scrub continues?
Or does anyone of you can explain, what happens in and after the
dsl_scan function?

Thanks in advance,
Paul



More information about the freebsd-fs mailing list