3 dnl # Immutable biovecs. A number of fields of struct bio are moved to
4 dnl # struct bvec_iter.
6 AC_DEFUN([ZFS_AC_KERNEL_BIO_BVEC_ITER], [
7 AC_MSG_CHECKING([whether bio has bi_iter])
8 ZFS_LINUX_TRY_COMPILE([
12 bio.bi_iter.bi_sector = 0;
15 AC_DEFINE(HAVE_BIO_BVEC_ITER, 1, [bio has bi_iter])