diff options
author | Brian Behlendorf <[email protected]> | 2019-11-27 10:35:49 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2019-11-27 10:35:49 -0800 |
commit | 9e17e6f2541c69a7a5e0ed814a7f5e71cbf8b90a (patch) | |
tree | 873a33f82b25d13fd86a82cff31ed7064e68555a /config | |
parent | 3c819a2c7da4560abb75b9dbf9a314ceafddaf86 (diff) |
Remove zfs_vdev_elevator module option
As described in commit f81d5ef6 the zfs_vdev_elevator module
option is being removed. Users who require this functionality
should update their systems to set the disk scheduler using a
udev rule.
Reviewed-by: Richard Laager <[email protected]>
Reviewed-by: loli10K <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #8664
Closes #9417
Closes #9609
Diffstat (limited to 'config')
-rw-r--r-- | config/kernel-elevator-change.m4 | 26 | ||||
-rw-r--r-- | config/kernel.m4 | 2 |
2 files changed, 0 insertions, 28 deletions
diff --git a/config/kernel-elevator-change.m4 b/config/kernel-elevator-change.m4 deleted file mode 100644 index 3aa732040..000000000 --- a/config/kernel-elevator-change.m4 +++ /dev/null @@ -1,26 +0,0 @@ -dnl # -dnl # 2.6.36 API, exported elevator_change() symbol -dnl # 4.12 API, removed elevator_change() symbol -dnl # -AC_DEFUN([ZFS_AC_KERNEL_SRC_ELEVATOR_CHANGE], [ - ZFS_LINUX_TEST_SRC([elevator_change], [ - #include <linux/blkdev.h> - #include <linux/elevator.h> - ],[ - struct request_queue *q = NULL; - char *elevator = NULL; - int error __attribute__ ((unused)) = - elevator_change(q, elevator); - ]) -]) - -AC_DEFUN([ZFS_AC_KERNEL_ELEVATOR_CHANGE], [ - AC_MSG_CHECKING([whether elevator_change() is available]) - ZFS_LINUX_TEST_RESULT([elevator_change], [ - AC_MSG_RESULT(yes) - AC_DEFINE(HAVE_ELEVATOR_CHANGE, 1, - [elevator_change() is available]) - ],[ - AC_MSG_RESULT(no) - ]) -]) diff --git a/config/kernel.m4 b/config/kernel.m4 index 4309d5456..ec8f6a5c1 100644 --- a/config/kernel.m4 +++ b/config/kernel.m4 @@ -92,7 +92,6 @@ AC_DEFUN([ZFS_AC_KERNEL_TEST_SRC], [ ZFS_AC_KERNEL_SRC_FST_MOUNT ZFS_AC_KERNEL_SRC_BDI ZFS_AC_KERNEL_SRC_SET_NLINK - ZFS_AC_KERNEL_SRC_ELEVATOR_CHANGE ZFS_AC_KERNEL_SRC_SGET ZFS_AC_KERNEL_SRC_LSEEK_EXECUTE ZFS_AC_KERNEL_SRC_VFS_GETATTR @@ -186,7 +185,6 @@ AC_DEFUN([ZFS_AC_KERNEL_TEST_RESULT], [ ZFS_AC_KERNEL_FST_MOUNT ZFS_AC_KERNEL_BDI ZFS_AC_KERNEL_SET_NLINK - ZFS_AC_KERNEL_ELEVATOR_CHANGE ZFS_AC_KERNEL_SGET ZFS_AC_KERNEL_LSEEK_EXECUTE ZFS_AC_KERNEL_VFS_GETATTR |