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
Tony Hutter <hutter2@llnl.gov>Committed on Nov 15 2024, 6:15 PM
Parents
rG94f84d2a754a: linux/abd_os: remove kernel version check for compound page support
Branches
Unknown
Tags
Unknown