diff mbox

Re: [PATCH 15/19] io-controller: map async requests to appropriate cgroup

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

Commit Message

Gui Jianfeng June 17, 2009, 9:17 a.m. UTC
Vivek Goyal wrote:
...
> +
> +struct io_group *rq_iog(struct request_queue *q, struct request *rq)
>  {
>  	return q->elevator->efqd.root_group;
>  }

There is no need for this function now.

Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
---
 block/elevator-fq.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

Comments

Vivek Goyal June 17, 2009, 1 p.m. UTC | #1
On Wed, Jun 17, 2009 at 05:17:40PM +0800, Gui Jianfeng wrote:
> Vivek Goyal wrote:
> ...
> > +
> > +struct io_group *rq_iog(struct request_queue *q, struct request *rq)
> >  {
> >  	return q->elevator->efqd.root_group;
> >  }
> 
> There is no need for this function now.
> 
> Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>

Thanks Gui. Queued up for next posting.

Vivek

> ---
>  block/elevator-fq.c |    5 -----
>  1 files changed, 0 insertions(+), 5 deletions(-)
> 
> diff --git a/block/elevator-fq.c b/block/elevator-fq.c
> index 912ac6a..bfa79c9 100644
> --- a/block/elevator-fq.c
> +++ b/block/elevator-fq.c
> @@ -2522,11 +2522,6 @@ struct io_group *io_get_io_group(struct request_queue *q, struct bio *bio,
>  {
>  	return q->elevator->efqd.root_group;
>  }
> -
> -struct io_group *rq_iog(struct request_queue *q, struct request *rq)
> -{
> -	return q->elevator->efqd.root_group;
> -}
>  EXPORT_SYMBOL(io_get_io_group);
>  #endif /* CONFIG_GROUP_IOSCHED*/
>  
> -- 
> 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/elevator-fq.c b/block/elevator-fq.c
index 912ac6a..bfa79c9 100644
--- a/block/elevator-fq.c
+++ b/block/elevator-fq.c
@@ -2522,11 +2522,6 @@  struct io_group *io_get_io_group(struct request_queue *q, struct bio *bio,
 {
 	return q->elevator->efqd.root_group;
 }
-
-struct io_group *rq_iog(struct request_queue *q, struct request *rq)
-{
-	return q->elevator->efqd.root_group;
-}
 EXPORT_SYMBOL(io_get_io_group);
 #endif /* CONFIG_GROUP_IOSCHED*/