mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +03:00
Add linux kernel module support
Setup linux kernel module support, this includes: - zfs context for kernel/user - kernel module build system integration - kernel module macros - kernel module symbol export - kernel module options Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
@@ -405,3 +405,14 @@ vdev_queue_io_done(zio_t *zio)
|
||||
|
||||
mutex_exit(&vq->vq_lock);
|
||||
}
|
||||
|
||||
#if defined(_KERNEL) && defined(HAVE_SPL)
|
||||
module_param(zfs_vdev_max_pending, int, 0644);
|
||||
MODULE_PARM_DESC(zfs_vdev_max_pending, "Maximum pending VDEV IO");
|
||||
|
||||
module_param(zfs_vdev_min_pending, int, 0644);
|
||||
MODULE_PARM_DESC(zfs_vdev_min_pending, "Minimum pending VDEV IO");
|
||||
|
||||
module_param(zfs_vdev_aggregation_limit, int, 0644);
|
||||
MODULE_PARM_DESC(zfs_vdev_aggregation_limit, "Maximum VDEV IO aggregation");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user