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:
d9ff418
)
[PATCH] stop cfq from pinning queue down
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 12 Mar 2006 18:45:25 +0000
(13:45 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 18 Mar 2006 23:34:09 +0000
(18:34 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
block/cfq-iosched.c
patch
|
blob
|
history
diff --git
a/block/cfq-iosched.c
b/block/cfq-iosched.c
index 3fc6e505e9c87c39db7f78fac42396e7f4a1a5da..521c56d4fdbc238b75c7e88ed24259faec263536 100644
(file)
--- a/
block/cfq-iosched.c
+++ b/
block/cfq-iosched.c
@@
-2121,13
+2121,10
@@
static void cfq_shutdown_timer_wq(struct cfq_data *cfqd)
static void cfq_put_cfqd(struct cfq_data *cfqd)
{
- request_queue_t *q = cfqd->queue;
-
if (!atomic_dec_and_test(&cfqd->ref))
return;
cfq_shutdown_timer_wq(cfqd);
- blk_put_queue(q);
mempool_destroy(cfqd->crq_pool);
kfree(cfqd->crq_hash);
@@
-2205,7
+2202,6
@@
static int cfq_init_queue(request_queue_t *q, elevator_t *e)
e->elevator_data = cfqd;
cfqd->queue = q;
- atomic_inc(&q->refcnt);
cfqd->max_queued = q->nr_requests / 4;
q->nr_batching = cfq_queued;