HomeFreeBSD

abd_os: split userspace and Linux kernel code

Description

abd_os: split userspace and Linux kernel code

The Linux abd_os.c serves double-duty as the userspace scatter abd
implementation, by carrying an emulation of kernel scatterlists. This
commit lifts common and userspace-specific parts out into a separate
abd_os.c for libzpool.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #16253

Details

Provenance
rob.norris_klarasystems.comAuthored on Dec 25 2023, 11:25 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 21 2024, 8:37 PM
Parents
rG2b7d9a786346: zio: no alloc canary in userspace
Branches
Unknown
Tags
Unknown