Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754420AbZFPD4U (ORCPT ); Mon, 15 Jun 2009 23:56:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752427AbZFPD4L (ORCPT ); Mon, 15 Jun 2009 23:56:11 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:49355 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1751654AbZFPD4K (ORCPT ); Mon, 15 Jun 2009 23:56:10 -0400 Message-ID: <4A37175C.80906@cn.fujitsu.com> Date: Tue, 16 Jun 2009 11:54:04 +0800 From: Gui Jianfeng User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: Vivek Goyal CC: linux-kernel@vger.kernel.org, containers@lists.linux-foundation.org, dm-devel@redhat.com, jens.axboe@oracle.com, nauman@google.com, dpshah@google.com, lizf@cn.fujitsu.com, mikew@google.com, fchecconi@gmail.com, paolo.valente@unimore.it, ryov@valinux.co.jp, fernando@oss.ntt.co.jp, s-uchida@ap.jp.nec.com, taka@valinux.co.jp, jmoyer@redhat.com, dhaval@linux.vnet.ibm.com, balbir@linux.vnet.ibm.com, righi.andrea@gmail.com, m-ikeda@ds.jp.nec.com, jbaron@redhat.com, agk@redhat.com, snitzer@redhat.com, akpm@linux-foundation.org, peterz@infradead.org Subject: Re: [PATCH 02/19] io-controller: Common flat fair queuing code in elevaotor layer References: <1244513342-11758-1-git-send-email-vgoyal@redhat.com> <1244513342-11758-3-git-send-email-vgoyal@redhat.com> In-Reply-To: <1244513342-11758-3-git-send-email-vgoyal@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1654 Lines: 55 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 --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/