From 965e919506220a5cf088026641f16dc0693d52d6 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sun, 24 Apr 2022 13:54:10 -0600 Subject: [PATCH] bio: Add the speedup flags to PRINT_BIO_FLAGS The BIO_SPEEDUP_WRITE and BIO_SPEEDUP_TRIM bits are part of the flags word, so print them as such. Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D35035 --- sys/sys/bio.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/sys/bio.h b/sys/sys/bio.h index e23c2f845e6c..be4f4cd6c073 100644 --- a/sys/sys/bio.h +++ b/sys/sys/bio.h @@ -68,13 +68,13 @@ #define BIO_TRANSIENT_MAPPING 0x20 #define BIO_VLIST 0x40 #define BIO_SWAP 0x200 /* Swap-related I/O */ - -#define PRINT_BIO_FLAGS "\20\12swap\7vlist\6transient_mapping\5unmapped" \ - "\4ordered\3onqueue\2done\1error" - #define BIO_SPEEDUP_WRITE 0x4000 /* Resource shortage at upper layers */ #define BIO_SPEEDUP_TRIM 0x8000 /* Resource shortage at upper layers */ +#define PRINT_BIO_FLAGS "\20\20speedup_trim\17speedup_write\12swap\7vlist\6transient_mapping\5unmapped" \ + "\4ordered\3onqueue\2done\1error" + + #ifdef _KERNEL struct disk; struct bio;