summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds2008-07-03 04:25:36 +0200
committerLinus Torvalds2008-07-03 04:25:36 +0200
commit0e77a07ff9d18cdfc6c1fdd5b3c667ae79895489 (patch)
tree0b8b5a24f3c7081244b0a64625f6184733de43cf /include
parentMerge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/... (diff)
parentProperly notify block layer of sync writes (diff)
downloadkernel-qcow2-linux-0e77a07ff9d18cdfc6c1fdd5b3c667ae79895489.tar.gz
kernel-qcow2-linux-0e77a07ff9d18cdfc6c1fdd5b3c667ae79895489.tar.xz
kernel-qcow2-linux-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