zfs/include/linux
Coleman Kane 26a3f3c7d9 Linux 5.10 compat: check_disk_change() removed
Kernel 5.10 removed check_disk_change() in favor of callers using
the faster bdev_check_media_change() instead, and explicitly forcing
bdev revalidation when they desire that behavior. To preserve prior
behavior, I have wrapped this into a zfs_check_media_change() macro
that calls an inline function for the new API that mimics the old
behavior when check_disk_change() doesn't exist, and just calls
check_disk_change() if it exists.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Coleman Kane <ckane@colemankane.org>
Closes #11085
2020-12-14 12:05:24 -08:00
..
Makefile.am Linux 5.0 compat: SIMD compatibility 2020-01-22 13:49:01 -08:00
blkdev_compat.h Linux 5.10 compat: check_disk_change() removed 2020-12-14 12:05:24 -08:00
compiler_compat.h Update build system and packaging 2018-05-29 16:00:33 -07:00
dcache_compat.h cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
kmap_compat.h Linux 5.0 compat: access_ok() drops 'type' parameter 2019-01-28 10:11:10 -08:00
mod_compat.h Linux compat: Grsecurity kernel 2016-08-22 10:05:45 -07:00
page_compat.h Linux 5.9 compat: NR_SLAB_RECLAIMABLE (#10865) 2020-09-15 21:16:58 +00:00
simd.h Linux 5.0 compat: SIMD compatibility 2020-01-22 13:49:01 -08:00
simd_aarch64.h Linux 5.0 compat: SIMD compatibility 2020-01-22 13:49:01 -08:00
simd_x86.h ICP: Improve AES-GCM performance 2020-05-12 10:53:32 -07:00
utsname_compat.h Update utsname support 2014-10-17 14:58:57 -07:00
vfs_compat.h Fix typos in include/ 2020-01-22 13:48:59 -08:00
xattr_compat.h Linux 4.7 compat: handler->set() takes both dentry and inode 2016-06-01 18:10:06 -07:00