HomeFreeBSD

Upstream: zdb inode mapping

Description

Upstream: zdb inode mapping

Unfortunately macOS reserves inode ID numbers 0-15, and we can
not used them. In macOS port we simply map them really high IDs.

Normally this is hidden inside the _os implementation, but this is
the one place in the common source files.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Closes #12530

Details

Provenance
Jorgen Lundman <lundman@lundman.net>Authored on Sep 8 2021, 8:56 PM
GitHub <noreply@github.com>Committed on Sep 8 2021, 8:56 PM
Parents
rGc634320e51df: Compressed receive with different ashift can result in incorrect PSIZE on disk
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG49d8a99a4d65: Upstream: zdb inode mapping (authored by Jorgen Lundman <lundman@lundman.net>).Sep 8 2021, 8:56 PM