]> granicus.if.org Git - zfs/commit
Reintroduce IO accounting on zvols on Linux 3.19+
authorRichard Yao <ryao@gentoo.org>
Mon, 7 Sep 2015 16:03:19 +0000 (12:03 -0400)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 9 Sep 2015 16:29:24 +0000 (09:29 -0700)
commit8198d18ca7e05ec30139e10d658a8b06c0ec4c55
tree898e7d611c3a7b1575870c26a4b853cfcbed8e7e
parent1e17e910ea315c0c3f732a7e8d31229dbd1e6069
Reintroduce IO accounting on zvols on Linux 3.19+

zfsonlinux/zfs@e20cd6f7a8922709b1aa2ecefd783390102d79e0 caused us to
lose IO accounting on zvols. When I originally wrote that last year, the
symbols we needed to maintain IO accounting were GPL exported, but
torvalds/linux@394ffa503bc40e32d7f54a9b817264e81ce131b4 provided
suitable symbols for restoring this functionality 4 months later.  We
can call them to restore the IO accounting on Linux 3.19 and later as
well as any older kernels where that patch is backported.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3741
config/kernel-generic_io_acct.m4 [new file with mode: 0644]
config/kernel.m4
include/linux/blkdev_compat.h
module/zfs/zvol.c