mirror_zfs/module/os
Brian Behlendorf 9ce5eb18ef Linux 5.19 compat: bdev_max_discard_sectors()
Linux 5.19 commit torvalds/linux@70200574cc removed the
blk_queue_discard() helper function.  The preferred interface
is to now use the bdev_max_discard_sectors() function to check
for discard support.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13515
2022-06-01 14:24:49 -07:00
..
freebsd FreeBSD: use zero_region instead of allocating a dedicated page 2022-05-20 10:33:24 -07:00
linux Linux 5.19 compat: bdev_max_discard_sectors() 2022-06-01 14:24:49 -07:00