mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-05-23 15:04:59 +03:00
Export correct symbols for Lustre Direct I/O
Originally the Lustre ZFS OSD code was going to use zfs_uio_t structs for supporting Direct I/O with ZFS. However, this has changed to using abd_t structs instead. This exports the proper symbols that will be used by the Lustre ZFS OSD code. Reviewed-by: Tony Hutter <hutter2@llnl.gov> Reviewed-by: Alexander Motin <mav@FreeBSD.org> Signed-off-by: Brian Atkinson <batkinson@lanl.gov> Closes #17256
This commit is contained in:
parent
37a3e26552
commit
7031a48c70
@ -1340,6 +1340,8 @@ abd_bio_map_off(struct bio *bio, abd_t *abd,
|
||||
return (io_size);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(abd_alloc_from_pages);
|
||||
|
||||
/* Tunable Parameters */
|
||||
module_param(zfs_abd_scatter_enabled, int, 0644);
|
||||
MODULE_PARM_DESC(zfs_abd_scatter_enabled,
|
||||
|
@ -1210,3 +1210,5 @@ abd_raidz_rec_iterate(abd_t **cabds, abd_t **tabds,
|
||||
}
|
||||
abd_exit_critical(flags);
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(abd_free);
|
||||
|
@ -393,5 +393,5 @@ dmu_write_uio_direct(dnode_t *dn, zfs_uio_t *uio, uint64_t size, dmu_tx_t *tx)
|
||||
}
|
||||
#endif /* _KERNEL */
|
||||
|
||||
EXPORT_SYMBOL(dmu_read_uio_direct);
|
||||
EXPORT_SYMBOL(dmu_write_uio_direct);
|
||||
EXPORT_SYMBOL(dmu_read_abd);
|
||||
EXPORT_SYMBOL(dmu_write_abd);
|
||||
|
Loading…
Reference in New Issue
Block a user