diff options
author | Rob Norris <[email protected]> | 2024-04-04 22:34:54 +1100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2024-04-11 17:17:11 -0700 |
commit | c9c838aa1fca9aef84d74db1d99872c5efa9a25d (patch) | |
tree | 3d838e71611b593e11f61727aeb298a6a2c2f009 /include/sys | |
parent | cac416f1062fdbd2ff84ff2b40835d4853cbf190 (diff) |
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 <[email protected]>
Reviewed-by: Alexander Motin <[email protected]>
Signed-off-by: Rob Norris <[email protected]>
Closes #16064
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/zio.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sys/zio.h b/include/sys/zio.h index 5dcd7fe07..545b9cf0c 100644 --- a/include/sys/zio.h +++ b/include/sys/zio.h @@ -451,7 +451,6 @@ struct zio { zio_type_t io_type; enum zio_child io_child_type; enum trim_flag io_trim_flags; - int io_cmd; zio_priority_t io_priority; uint8_t io_reexecute; uint8_t io_state[ZIO_WAIT_TYPES]; |