diff options
author | Brian Behlendorf <[email protected]> | 2022-05-27 17:51:55 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-05-31 12:04:17 -0700 |
commit | 5e4aedaca7cee981ed21ac856fd27b4682bb7888 (patch) | |
tree | 23c0d38859f58856a4f763c1b4bb49ec5a8c0cb6 /config/kernel-vfs-iov_iter.m4 | |
parent | 5f264996f4dc2d5279afe96698688a20c281c473 (diff) |
Linux 5.19 compat: bdev_max_discard_sectors()
Linux 5.19 commit torvalds/linux@70200574cc removed the
blk_queue_discard() helper function. The preferred interface
is to now use the bdev_max_discard_sectors() function to check
for discard support.
Reviewed-by: Tony Hutter <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #13515
Diffstat (limited to 'config/kernel-vfs-iov_iter.m4')
-rw-r--r-- | config/kernel-vfs-iov_iter.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/kernel-vfs-iov_iter.m4 b/config/kernel-vfs-iov_iter.m4 index 57f78745a..e0617faab 100644 --- a/config/kernel-vfs-iov_iter.m4 +++ b/config/kernel-vfs-iov_iter.m4 @@ -134,6 +134,8 @@ AC_DEFUN([ZFS_AC_KERNEL_VFS_IOV_ITER], [ AC_DEFINE(HAVE_IOV_ITER_FAULT_IN_READABLE, 1, [iov_iter_fault_in_readable() is available]) ],[ + AC_MSG_RESULT(no) + AC_MSG_CHECKING([whether fault_in_iov_iter_readable() is available]) ZFS_LINUX_TEST_RESULT([fault_in_iov_iter_readable], [ AC_MSG_RESULT(yes) |