mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
libzpool/abd_os: iovec-based scatter abd
This is intended to be a simple userspace scatter abd based on struct iovec. It's not very sophisticated as-is, but sets a base for something much more interesting. 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
This commit is contained in:
committed by
Brian Behlendorf
parent
5b9e695392
commit
b69bebb535
@@ -32,8 +32,8 @@ extern "C" {
|
||||
|
||||
struct abd_scatter {
|
||||
uint_t abd_offset;
|
||||
uint_t abd_nents;
|
||||
struct scatterlist *abd_sgl;
|
||||
uint_t abd_iovcnt;
|
||||
struct iovec abd_iov[1]; /* actually variable-length */
|
||||
};
|
||||
|
||||
struct abd_linear {
|
||||
|
||||
Reference in New Issue
Block a user