Re: [PATCH 04/19] io-controller: Modify cfq to make use of flat elevatorfair queuing

From: Gui Jianfeng
Date: Tue Jun 16 2009 - 22:25:00 EST


Vivek Goyal wrote:
> This patch changes cfq to use fair queuing code from elevator layer.
>

elevator_private2 isn't used to store cfqq now.

Signed-off-by: Gui Jianfeng <guijianfeng@xxxxxxxxxxxxxx>
---
block/cfq-iosched.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c
index 23b24b9..7a9bbe6 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
@@ -1874,7 +1874,7 @@ static void cfq_put_request(struct request *rq)
put_io_context(RQ_CIC(rq)->ioc);

rq->elevator_private = NULL;
- rq->elevator_private2 = NULL;
+ rq->ioq = NULL;

cfq_put_queue(cfqq);
}
--
1.5.4.rc3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/