* [patch]cfq-iosched: do cleanup
@ 2010-09-20 8:53 Shaohua Li
0 siblings, 0 replies; only message in thread
From: Shaohua Li @ 2010-09-20 8:53 UTC (permalink / raw)
To: lkml; +Cc: jaxboe
return bool for cfq_should_idle
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
---
block/cfq-iosched.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: linux-2.6/block/cfq-iosched.c
===================================================================
--- linux-2.6.orig/block/cfq-iosched.c 2010-09-21 00:27:23.000000000 +0800
+++ linux-2.6/block/cfq-iosched.c 2010-09-21 00:27:59.000000000 +0800
@@ -1882,10 +1882,10 @@
* in their service tree.
*/
if (service_tree->count == 1 && cfq_cfqq_sync(cfqq))
- return 1;
+ return true;
cfq_log_cfqq(cfqd, cfqq, "Not idling. st->count:%d",
service_tree->count);
- return 0;
+ return false;
}
static void cfq_arm_slice_timer(struct cfq_data *cfqd)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-20 8:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-20 8:53 [patch]cfq-iosched: do cleanup Shaohua Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®