aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bio.h
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2019-01-25 21:24:09 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2019-01-25 21:24:09 +0000
commitdab83bd1e8d2a1c677530a4c8d6d1fa2e2c6dc2e (patch)
tree7883dc762ac996164dbef522c0116c89ddce3355 /sys/sys/bio.h
parentcecf8bebe7aa9b2a0bbbb50780e4263161aeb92b (diff)
downloadsrc-dab83bd1e8d2a1c677530a4c8d6d1fa2e2c6dc2e.tar.gz
src-dab83bd1e8d2a1c677530a4c8d6d1fa2e2c6dc2e.zip
Add printing of b_ioflags to DDB `show buffer' command.
Sponsored by: Netflix
Notes
Notes: svn path=/head/; revision=343457
Diffstat (limited to 'sys/sys/bio.h')
-rw-r--r--sys/sys/bio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h
index 1dab615578ec..26a7ef444b4d 100644
--- a/sys/sys/bio.h
+++ b/sys/sys/bio.h
@@ -67,6 +67,9 @@
#define BIO_TRANSIENT_MAPPING 0x20
#define BIO_VLIST 0x40
+#define PRINT_BIO_FLAGS "\20\7vlist\6transient_mapping\5unmapped" \
+ "\4ordered\3onqueue\2done\1error"
+
#ifdef _KERNEL
struct disk;
struct bio;