git: 965e91950622 - main - bio: Add the speedup flags to PRINT_BIO_FLAGS

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sun, 24 Apr 2022 20:02:24 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=965e919506220a5cf088026641f16dc0693d52d6

commit 965e919506220a5cf088026641f16dc0693d52d6
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-04-24 19:54:10 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-04-24 20:01:08 +0000

    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 | 6 +++---
 1 file changed, 3 insertions(+), 3 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,12 +68,12 @@
 #define	BIO_TRANSIENT_MAPPING	0x20
 #define	BIO_VLIST	0x40
 #define	BIO_SWAP	0x200	/* Swap-related I/O */
+#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\12swap\7vlist\6transient_mapping\5unmapped" \
+#define	PRINT_BIO_FLAGS "\20\20speedup_trim\17speedup_write\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 */
 
 #ifdef _KERNEL
 struct disk;