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
This commit is contained in:
parent
fb7288456a
commit
965e919506
@ -68,13 +68,13 @@
|
|||||||
#define BIO_TRANSIENT_MAPPING 0x20
|
#define BIO_TRANSIENT_MAPPING 0x20
|
||||||
#define BIO_VLIST 0x40
|
#define BIO_VLIST 0x40
|
||||||
#define BIO_SWAP 0x200 /* Swap-related I/O */
|
#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_WRITE 0x4000 /* Resource shortage at upper layers */
|
||||||
#define BIO_SPEEDUP_TRIM 0x8000 /* 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
|
#ifdef _KERNEL
|
||||||
struct disk;
|
struct disk;
|
||||||
struct bio;
|
struct bio;
|
||||||
|
Loading…
Reference in New Issue
Block a user