HomeFreeBSD

Extending FreeBSD UIO Struct

Description

Extending FreeBSD UIO Struct

In FreeBSD the struct uio was just a typedef to uio_t. In order to
extend this struct, outside of the definition for the struct uio, the
struct uio has been embedded inside of a uio_t struct.

Also renamed all the uio_* interfaces to be zfs_uio_* to make it clear
this is a ZFS interface.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Jorgen Lundman <lundman@lundman.net>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Brian Atkinson <batkinson@lanl.gov>
Closes #11438

Details

Provenance
Brian Atkinson <batkinson@lanl.gov>Authored on Jan 21 2021, 5:27 AM
GitHub <noreply@github.com>Committed on Jan 21 2021, 5:27 AM
Parents
rGe2af2acce343: allow callers to allocate and provide the abd_t struct
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGd0cd9a5cc65e: Extending FreeBSD UIO Struct (authored by Brian Atkinson <batkinson@lanl.gov>).Jan 21 2021, 5:27 AM