HomeFreeBSD

Improve chance of finding an alternate superblock in sbsearch(3).

Description

Improve chance of finding an alternate superblock in sbsearch(3).

When requesting a superblock read for the sole purpose of getting
the parameters needed to find if backup parameters have been stored,
specify UFS_NOCSUM as only the base superblock is needed. This
change reduces the number of checks that the superblock must pass.

MFC after: 1 week

Details

Provenance
mckusickAuthored on Mar 23 2023, 8:03 PM
Parents
rGc16c4ea6d399: vfs cache: return ENOTDIR for not_a_dir/{.,..} lookups
Branches
Unknown
Tags
Unknown