]> git.proxmox.com Git - mirror_zfs.git/commit
Linux 2.6.36 compat, use REQ_FAILFAST_MASK and remove pre-2.6.36 support
authorTim Chase <tim@onlight.com>
Fri, 8 May 2015 20:49:56 +0000 (15:49 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 11 May 2015 22:07:00 +0000 (15:07 -0700)
commite48533383b6ba1737245ac4338c492865a97b0e9
treef1dfd06194774c61748bc7793aa7fc0e25a407e0
parent492b1d2ef0aa14c22a8f075d948950d072970c17
Linux 2.6.36 compat, use REQ_FAILFAST_MASK and remove pre-2.6.36 support

Commit f4af6bb783b0b7f2a6075cb1c74c225db8a157b2 which added support
for REQ_FAILFAST_MASK but the new autoconf test didn't use the same
preprocessor macro name as the code did.

The effect is that FAILFAST mode has not been enabled for ZoL in any
post-2.6.35 kernel.

Retire the HAVE_BIO_RW_FAILFAST interface used in pre-2.6.28 kernels.

Raise an error condition if the FAILFAST interface can't be detected.

Signed-off-by: Tim Chase <tim@onlight.com
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3386
config/kernel-bio-failfast.m4
config/kernel.m4
include/linux/blkdev_compat.h