fsck parallel check
Rodney W. Grimes
freebsd-rwg at gndrsh.dnsmgr.net
Thu Apr 16 18:13:39 UTC 2020
> 16.04.2020 23:59, Poul-Henning Kamp wrote:
>
> > --------
> > In message <571d8b81-f4f9-d371-6cf2-2e7aeb82a09b at grosbein.net>, Eugene Grosbein writes:
> >
> >> Not necessary. Fsck tries to parse device name this way: /path/to/nameNUMBERrest
> >> so it skips all chars upto last /, then extracts "name" part not containing any digits,
> >> then extracts NUMBER part containing only digits, upto maximum lenght.
> >> Then is uses nameNUMBER for "disk name".
> >
> > Yeah, that part sucks...
> >
> > I think it would make sense to make the heuristic that if there are any
> > entries with pass > 2, then ignore the "disk name" and simply run all
> > entries for each pass number in parallel, trusting root to have it
> > figured out.
> >
> > If the highest passnumber is 2, retain the "disk name" heuristic.
>
> I like it.
Consider my semi-silence a "no objection here".
--
Rod Grimes rgrimes at freebsd.org
More information about the freebsd-hackers
mailing list