Files
mirror_zfs/config
Coleman Kane ae15f1c1d8 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-11-02 22:01:19 +00:00
..
2020-04-14 11:36:28 -07:00
2019-06-13 13:15:46 -07:00
2020-06-24 18:19:59 -07:00
2020-08-20 10:30:06 -07:00
2018-05-01 10:33:35 -07:00
2020-06-08 16:32:02 -07:00
2020-06-09 21:24:09 -07:00
2019-10-01 12:50:34 -07:00
2019-10-01 12:50:34 -07:00
2019-08-30 09:40:30 -07:00
2020-07-14 17:33:44 -07:00
2018-11-11 18:06:36 -08:00
2020-07-10 14:26:00 -07:00
2019-10-01 12:50:34 -07:00