HomeFreeBSD

zio: remove io_cmd and DKIOCFLUSHWRITECACHE

Description

zio: remove io_cmd and DKIOCFLUSHWRITECACHE

There's no other options, so we can just always assume its a flush.

Includes some light refactoring where a switch statement was doing
control flow that no longer works.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #16064

Details

Provenance
rob.norris_klarasystems.comAuthored on Apr 4 2024, 11:34 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Apr 12 2024, 12:17 AM
Parents
rGcac416f1062f: zio: remove zio_ioctl()
Branches
Unknown
Tags
Unknown