Files
mirror_zfs/module/os/linux/zfs
Rob N 8f1b7a6fa6 vdev_disk: disable flushes if device does not support it
If the underlying device doesn't have a write-back cache, the kernel
will just return a successful response. This doesn't hurt anything, but
it's extra work on the IO taskqs that are unnecessary. So, detect this
when we open the device for the first time.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #16148
2024-05-02 15:18:35 -07:00
..
2023-09-07 14:38:17 -07:00
2023-09-01 18:00:30 -07:00
2023-11-08 10:19:41 -08:00
2023-11-08 10:19:41 -08:00
2022-10-29 13:05:11 -07:00
2023-10-30 16:56:04 -07:00