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)
Sun, Mar 16, 5:02 PM
Unknown Object (File)
Mon, Mar 3, 12:38 AM
Unknown Object (File)
Tue, Feb 25, 5:13 PM
Unknown Object (File)
Feb 9 2025, 7:44 PM
Unknown Object (File)
Feb 4 2025, 12:36 PM
Unknown Object (File)
Feb 4 2025, 12:36 PM
Unknown Object (File)
Dec 15 2024, 11:02 AM
Unknown Object (File)
Dec 2 2024, 1:54 AM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 49095
Build 45984: arc lint + arc unit