mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-10-24 08:55:00 +03:00
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 |
||
|---|---|---|
| .. | ||
| blkdev_compat.h | ||
| compiler_compat.h | ||
| dcache_compat.h | ||
| kmap_compat.h | ||
| Makefile.am | ||
| mod_compat.h | ||
| page_compat.h | ||
| percpu_compat.h | ||
| simd_aarch64.h | ||
| simd_powerpc.h | ||
| simd_x86.h | ||
| simd.h | ||
| utsname_compat.h | ||
| vfs_compat.h | ||
| xattr_compat.h | ||