aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRob Norris <rob.norris@klarasystems.com>2024-04-04 11:34:54 +0000
committerBrian Behlendorf <behlendorf1@llnl.gov>2024-04-12 00:17:11 +0000
commitc9c838aa1fca9aef84d74db1d99872c5efa9a25d (patch)
tree3d838e71611b593e11f61727aeb298a6a2c2f009 /include
parentcac416f1062fdbd2ff84ff2b40835d4853cbf190 (diff)
downloadsrc-c9c838aa1fca9aef84d74db1d99872c5efa9a25d.tar.gz
src-c9c838aa1fca9aef84d74db1d99872c5efa9a25d.zip
Diffstat (limited to 'include')
-rw-r--r--include/os/linux/zfs/sys/trace_common.h6
-rw-r--r--include/sys/zio.h1
2 files changed, 2 insertions, 5 deletions
diff --git a/include/os/linux/zfs/sys/trace_common.h b/include/os/linux/zfs/sys/trace_common.h
index 3d4b1920d598..6ffa57c86418 100644
--- a/include/os/linux/zfs/sys/trace_common.h
+++ b/include/os/linux/zfs/sys/trace_common.h
@@ -31,7 +31,6 @@
/* ZIO macros */
#define ZIO_TP_STRUCT_ENTRY \
__field(zio_type_t, zio_type) \
- __field(int, zio_cmd) \
__field(zio_priority_t, zio_priority) \
__field(uint64_t, zio_size) \
__field(uint64_t, zio_orig_size) \
@@ -61,7 +60,6 @@
#define ZIO_TP_FAST_ASSIGN \
__entry->zio_type = zio->io_type; \
- __entry->zio_cmd = zio->io_cmd; \
__entry->zio_priority = zio->io_priority; \
__entry->zio_size = zio->io_size; \
__entry->zio_orig_size = zio->io_orig_size; \
@@ -90,7 +88,7 @@
__entry->zp_dedup_verify = zio->io_prop.zp_dedup_verify;
#define ZIO_TP_PRINTK_FMT \
- "zio { type %u cmd %i prio %u size %llu orig_size %llu " \
+ "zio { type %u prio %u size %llu orig_size %llu " \
"offset %llu timestamp %llu delta %llu delay %llu " \
"flags 0x%llx stage 0x%x pipeline 0x%x orig_flags 0x%llx " \
"orig_stage 0x%x orig_pipeline 0x%x reexecute %u " \
@@ -98,7 +96,7 @@
"type %u level %u copies %u dedup %u dedup_verify %u nopwrite %u } }"
#define ZIO_TP_PRINTK_ARGS \
- __entry->zio_type, __entry->zio_cmd, __entry->zio_priority, \
+ __entry->zio_type, __entry->zio_priority, \
__entry->zio_size, __entry->zio_orig_size, __entry->zio_offset, \
__entry->zio_timestamp, __entry->zio_delta, __entry->zio_delay, \
__entry->zio_flags, __entry->zio_stage, __entry->zio_pipeline, \
diff --git a/include/sys/zio.h b/include/sys/zio.h
index 5dcd7fe073a0..545b9cf0c3c5 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];