HomeFreeBSD

abd_os: move headers from libzpool to libspl

Description

abd_os: move headers from libzpool to libspl

5b9e695 added specific userspace versions of abd_os.h and abd_impl_os.h
for libzpool. However, abd.h and abd_impl.h, which include them, are
packaged with libzfs, so other programs building against libzfs can
fail to build, either because the headers aren't installed, or because
they aren't on any standard include path.

So, move abd_os.h and abd_impl_os.h to libspl, where they we will be
installed alongside abd.h and abd_impl.h in a known path.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #16940
Closes #17390
Closes #17394

Details

Provenance
rob.norris_klarasystems.comAuthored on May 30 2025, 8:38 PM
GitHub <noreply@github.com>Committed on May 30 2025, 8:38 PM
Parents
rG008c9666efb3: Set spa_final_txg in spa_unload()
Branches
Unknown
Tags
Unknown