aboutsummaryrefslogtreecommitdiff
path: root/tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_001_pos.ksh
diff options
context:
space:
mode:
authorRob N <robn@despairlabs.com>2024-05-02 22:18:35 +0000
committerGitHub <noreply@github.com>2024-05-02 22:18:35 +0000
commit8f1b7a6fa6762ea4c89198ceb11c521f80b92ddc (patch)
tree1dadb509ae98de1438f372a753402f1dbd87a83f /tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_001_pos.ksh
parent645b83307918085ab2f0e12618809e348635b34f (diff)
downloadsrc-vendor/openzfs/master.tar.gz
src-vendor/openzfs/master.zip
vdev_disk: disable flushes if device does not support itvendor/openzfs/master
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
Diffstat (limited to 'tests/zfs-tests/tests/functional/clean_mirror/clean_mirror_001_pos.ksh')
0 files changed, 0 insertions, 0 deletions