projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48e70bc
)
cfq-iosched: use rw_is_sync() to see if rw flags are sync or not
author
Jens Axboe
<jens.axboe@oracle.com>
Wed, 8 Apr 2009 08:56:08 +0000
(10:56 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 15 Apr 2009 06:28:10 +0000
(08:28 +0200)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/cfq-iosched.c
patch
|
blob
|
history
diff --git
a/block/cfq-iosched.c
b/block/cfq-iosched.c
index a4809de6fea656a4ac6091f6c61c38f536a4f766..f36f8b4d04cf1cab274f10db4ebc2a718926d856 100644
(file)
--- a/
block/cfq-iosched.c
+++ b/
block/cfq-iosched.c
@@
-2062,7
+2062,7
@@
static int cfq_may_queue(struct request_queue *q, int rw)
if (!cic)
return ELV_MQUEUE_MAY;
- cfqq = cic_to_cfqq(cic, rw
& REQ_RW_SYNC
);
+ cfqq = cic_to_cfqq(cic, rw
_is_sync(rw)
);
if (cfqq) {
cfq_init_prio_data(cfqq, cic->ioc);
cfq_prio_boost(cfqq);