Page MenuHomeFreeBSD

stand: Separate base and cli parts of nvstore
ClosedPublic

Authored by imp on Jan 13 2023, 5:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 27, 5:40 PM
Unknown Object (File)
Apr 30 2024, 3:53 PM
Unknown Object (File)
Apr 29 2024, 12:12 PM
Unknown Object (File)
Apr 22 2024, 7:16 PM
Unknown Object (File)
Apr 9 2024, 5:29 PM
Unknown Object (File)
Apr 6 2024, 4:33 PM
Unknown Object (File)
Mar 14 2024, 9:20 PM
Unknown Object (File)
Mar 14 2024, 9:19 PM
Subscribers

Details

Summary

zfs lives in libsa. However, it depends on nvstore (and other things)
that are in common. Fix part of this layering violation by splitting
nvstore into a libsa piece (which is the base implementation) and
keeping a much smaller common piece (to implement the nvstore
command). This just leaves zfs' knowledge of device names that's
specific to common and its calling platform specific init code to
resolve. Add a nvstore.h file for these two parts to communicate private
things and move the public nvstore api from bootstrap.h to stand.h.

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable