diff mbox

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

Message ID 4A385374.7060708@cn.fujitsu.com (mailing list archive)
State New, archived
Headers show

Commit Message

Gui Jianfeng June 17, 2009, 2:22 a.m. UTC
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@cn.fujitsu.com>
---
 block/cfq-iosched.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Vivek Goyal June 17, 2009, 1 p.m. UTC | #1
On Wed, Jun 17, 2009 at 10:22:44AM +0800, Gui Jianfeng wrote:
> 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@cn.fujitsu.com>

Thanks Gui. Queued up for next posting.

Vivek

> ---
>  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

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
diff mbox

Patch

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);
 	}