summaryrefslogtreecommitdiff
path: root/include/linux/bio.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2003-07-25 00:39:23 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-07-25 00:39:23 -0700
commite45635ccc6445e19ca197853ea9ec555ec5ca25a (patch)
tree05ee4c3863df3396148b431ac344a0df5a94dcfb /include/linux/bio.h
parentfe216eade3c29fe8c0c7cf316b8c7fc1c074861f (diff)
[PATCH] read-ahead and failfast
Here's the patch to enable failfast flag in the bio submission code, and use it for multipath and readahead.
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r--include/linux/bio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h
index d3f47b1b0f6a..6ad6d20d3778 100644
--- a/include/linux/bio.h
+++ b/include/linux/bio.h
@@ -119,10 +119,12 @@ struct bio {
* bit 0 -- read (not set) or write (set)
* bit 1 -- rw-ahead when set
* bit 2 -- barrier
+ * bit 3 -- fail fast, don't want low level driver retries
*/
#define BIO_RW 0
#define BIO_RW_AHEAD 1
#define BIO_RW_BARRIER 2
+#define BIO_RW_FAILFAST 3
/*
* various member access, note that bio_data should of course not be used