From 5d0fd8429b0257b2dcd80cef9ed13c8293c1060d Mon Sep 17 00:00:00 2001 From: youzhongyang Date: Fri, 28 Oct 2022 12:08:12 -0400 Subject: [PATCH] Fix zio_flag_t print format Follow up for 4938d01d which changed zio_flag from enum to uint64_t. Reviewed-by: Brian Behlendorf Reviewed-by: Richard Yao Signed-off-by: Youzhong Yang Closes #14100 --- include/os/linux/zfs/sys/trace_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/os/linux/zfs/sys/trace_common.h b/include/os/linux/zfs/sys/trace_common.h index a14727f15..3d4b1920d 100644 --- a/include/os/linux/zfs/sys/trace_common.h +++ b/include/os/linux/zfs/sys/trace_common.h @@ -92,7 +92,7 @@ #define ZIO_TP_PRINTK_FMT \ "zio { type %u cmd %i prio %u size %llu orig_size %llu " \ "offset %llu timestamp %llu delta %llu delay %llu " \ - "flags 0x%x stage 0x%x pipeline 0x%x orig_flags 0x%x " \ + "flags 0x%llx stage 0x%x pipeline 0x%x orig_flags 0x%llx " \ "orig_stage 0x%x orig_pipeline 0x%x reexecute %u " \ "txg %llu error %d ena %llu prop { checksum %u compress %u " \ "type %u level %u copies %u dedup %u dedup_verify %u nopwrite %u } }"