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

[dm-devel] Re: [PATCH 02/19] io-controller: Common flat fair queuing code in elevaotor layer



On Tue, Jun 16, 2009 at 11:54:04AM +0800, Gui Jianfeng wrote:
> Vivek Goyal wrote:
> ...
> > +
> > +int elv_nr_busy_rt_ioq(struct elevator_queue *e)
> > +{
> > +	return e->efqd.busy_rt_queues;
> > +}
> > +EXPORT_SYMBOL(elv_nr_busy_rt_ioq);
> 
> This function is no need now.
> 
> Signed-off-by: Gui Jianfeng <guijianfeng cn fujitsu com>

Thanks Gui. Queued for next posting.

Thanks
Vivek

> ---
>  block/elevator-fq.c |    6 ------
>  block/elevator-fq.h |    1 -
>  2 files changed, 0 insertions(+), 7 deletions(-)
> 
> diff --git a/block/elevator-fq.c b/block/elevator-fq.c
> index f33155c..912ac6a 100644
> --- a/block/elevator-fq.c
> +++ b/block/elevator-fq.c
> @@ -2553,12 +2553,6 @@ int elv_nr_busy_ioq(struct elevator_queue *e)
>  }
>  EXPORT_SYMBOL(elv_nr_busy_ioq);
>  
> -int elv_nr_busy_rt_ioq(struct elevator_queue *e)
> -{
> -	return e->efqd.busy_rt_queues;
> -}
> -EXPORT_SYMBOL(elv_nr_busy_rt_ioq);
> -
>  int elv_hw_tag(struct elevator_queue *e)
>  {
>  	return e->efqd.hw_tag;
> diff --git a/block/elevator-fq.h b/block/elevator-fq.h
> index 0939735..285a1ff 100644
> --- a/block/elevator-fq.h
> +++ b/block/elevator-fq.h
> @@ -711,7 +711,6 @@ extern void io_group_set_async_queue(struct io_group *iog, int ioprio_class,
>  extern struct io_group *io_get_io_group(struct request_queue *q,
>  					struct bio *bio, int create);
>  extern int elv_nr_busy_ioq(struct elevator_queue *e);
> -extern int elv_nr_busy_rt_ioq(struct elevator_queue *e);
>  extern struct io_queue *elv_alloc_ioq(struct request_queue *q, gfp_t gfp_mask);
>  extern void elv_free_ioq(struct io_queue *ioq);
>  
> -- 
> 1.5.4.rc3
> 


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