aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/bio.h
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2006-10-31 21:11:21 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2006-10-31 21:11:21 +0000
commitc3618c657a120cc152f3ff15995e3f690b17ba57 (patch)
treebc3a2953fbf55d1341923bd813f3f8dd4551b7bd /sys/sys/bio.h
parentcef5850ba06a4d9618e331d3e1f48517b89f5235 (diff)
downloadsrc-c3618c657a120cc152f3ff15995e3f690b17ba57.tar.gz
src-c3618c657a120cc152f3ff15995e3f690b17ba57.zip
Add a new I/O request - BIO_FLUSH, which basically tells providers below to
flush their caches. For now will mostly be used by disks to flush their write cache. Sponsored by: home.pl
Notes
Notes: svn path=/head/; revision=163832
Diffstat (limited to 'sys/sys/bio.h')
-rw-r--r--sys/sys/bio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h
index 2dbdfb9946ee..36359637daa7 100644
--- a/sys/sys/bio.h
+++ b/sys/sys/bio.h
@@ -93,6 +93,7 @@ struct bio {
#define BIO_WRITE 0x02
#define BIO_DELETE 0x04
#define BIO_GETATTR 0x08
+#define BIO_FLUSH 0x10
#define BIO_CMD0 0x20 /* Available for local hacks */
#define BIO_CMD1 0x40 /* Available for local hacks */
#define BIO_CMD2 0x80 /* Available for local hacks */