summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-07-02 19:25:36 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-02 19:25:36 -0700
commit0e77a07ff9d18cdfc6c1fdd5b3c667ae79895489 (patch)
tree0b8b5a24f3c7081244b0a64625f6184733de43cf /include
parent23c0e4a2257051113a99e1377c49af224bd27bc8 (diff)
parent18ce3751ccd488c78d3827e9f6bf54e6322676fb (diff)
downloadlwn-0e77a07ff9d18cdfc6c1fdd5b3c667ae79895489.tar.gz
lwn-0e77a07ff9d18cdfc6c1fdd5b3c667ae79895489.zip
Merge branch 'for-2.6.26' of git://git.kernel.dk/linux-2.6-block
* 'for-2.6.26' of git://git.kernel.dk/linux-2.6-block: Properly notify block layer of sync writes block: Fix the starving writes bug in the anticipatory IO scheduler
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 7c1080826832..d8e2762ed14d 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -83,6 +83,7 @@ extern int dir_notify_enable;
#define READ_SYNC (READ | (1 << BIO_RW_SYNC))
#define READ_META (READ | (1 << BIO_RW_META))
#define WRITE_SYNC (WRITE | (1 << BIO_RW_SYNC))
+#define SWRITE_SYNC (SWRITE | (1 << BIO_RW_SYNC))
#define WRITE_BARRIER ((1 << BIO_RW) | (1 << BIO_RW_BARRIER))
#define SEL_IN 1