Combine OS-independent ABD Code into Common Source File
commitfc551d7efbbf26cc1671ddb51f2f0df57ec53ee7
authorBrian Atkinson <bwa@g.clemson.edu>
Sun, 10 May 2020 19:23:52 +0000 (10 13:23 -0600)
committerGitHub <noreply@github.com>
Sun, 10 May 2020 19:23:52 +0000 (10 12:23 -0700)
tree4e2759ebb1984272a46a46888ca7a998791369b2
parentbd95f00d4b6aa185bf508f12d2cdbfbb2350b80e
Combine OS-independent ABD Code into Common Source File

Reorganizing ABD code base so OS-independent ABD code has been placed
into a common abd.c file. OS-dependent ABD code has been left in each
OS's ABD source files, and these source files have been renamed to
abd_os.

The OS-independent ABD code is now under:
module/zfs/abd.c
With the OS-dependent code in:
module/os/linux/zfs/abd_os.c
module/os/freebsd/zfs/abd_os.c

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Brian Atkinson <batkinson@lanl.gov>
Closes #10293
12 files changed:
include/sys/Makefile.am
include/sys/abd.h
include/sys/abd_impl.h [new file with mode: 0644]
lib/libzpool/Makefile.am
module/Makefile.bsd
module/os/freebsd/zfs/abd_os.c [new file with mode: 0644]
module/os/linux/zfs/Makefile.in
module/os/linux/zfs/abd.c [deleted file]
module/os/linux/zfs/abd_os.c [new file with mode: 0644]
module/zfs/Makefile.in
module/zfs/abd.c [moved from module/os/freebsd/zfs/abd.c with 61% similarity]
module/zfs/vdev_indirect.c