On Fri, May 18, 2012 at 04:18:12PM +1000, Daniel Carosone wrote: > > When doing a scrub, you start at the root bp and walk the tree, doing > reads for everything, verifying checksums, and letting repair happen > for any errors. That traversal is either a breadth-first or > depth-first traversal of the tree (I'm not sure which) done in TXG > order. > > [..] > > Note that there can be a lot of fanout in the tree;
Given the latter point, I'm going to guess depth-first. Yes, I should look at the code instead of posting speculation. -- Dan.
pgpX6jrYdlAjS.pgp
Description: PGP signature
_______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss