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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux