diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-02-16 10:25:40 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-02-18 10:32:00 +0100 |
commit | 93dbb393503d53cd226e5e1f0088fe8f4dbaa2b8 (patch) | |
tree | 790365e207951cf6810e8995f3141ddc0b74519b /include/linux/blktrace_api.h | |
parent | c1c201200a359cf3b6e2e36a4236cdca77a3cd8e (diff) | |
download | linux-93dbb393503d53cd226e5e1f0088fe8f4dbaa2b8.tar.gz linux-93dbb393503d53cd226e5e1f0088fe8f4dbaa2b8.tar.bz2 linux-93dbb393503d53cd226e5e1f0088fe8f4dbaa2b8.zip |
block: fix bad definition of BIO_RW_SYNC
We can't OR shift values, so get rid of BIO_RW_SYNC and use BIO_RW_SYNCIO
and BIO_RW_UNPLUG explicitly. This brings back the behaviour from before
213d9417fec62ef4c3675621b9364a667954d4dd.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/blktrace_api.h')
-rw-r--r-- | include/linux/blktrace_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blktrace_api.h b/include/linux/blktrace_api.h index 25379cba2370..6e915878e88c 100644 --- a/include/linux/blktrace_api.h +++ b/include/linux/blktrace_api.h @@ -15,6 +15,7 @@ enum blktrace_cat { BLK_TC_WRITE = 1 << 1, /* writes */ BLK_TC_BARRIER = 1 << 2, /* barrier */ BLK_TC_SYNC = 1 << 3, /* sync IO */ + BLK_TC_SYNCIO = BLK_TC_SYNC, BLK_TC_QUEUE = 1 << 4, /* queueing/merging */ BLK_TC_REQUEUE = 1 << 5, /* requeueing */ BLK_TC_ISSUE = 1 << 6, /* issue */ |