[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070510112034.GO4629@kernel.dk>
Date: Thu, 10 May 2007 13:20:34 +0200
From: Jens Axboe <jens.axboe@...cle.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 12/13] ll_rw_blk: temporarily enable max_segments tweaking
On Thu, May 10 2007, Andrew Morton wrote:
> On Thu, 10 May 2007 12:21:54 +0200 Jens Axboe <jens.axboe@...cle.com> wrote:
>
> > Expose this setting for now, so that users can play with enabling
> > large commands without defaulting it to on globally.
> >
> > Signed-off-by: Jens Axboe <jens.axboe@...cle.com>
> > ---
> > block/ll_rw_blk.c | 22 ++++++++++++++++++++++
> > 1 files changed, 22 insertions(+), 0 deletions(-)
> >
> > diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c
> > index b01a5f2..cf05396 100644
> > --- a/block/ll_rw_blk.c
> > +++ b/block/ll_rw_blk.c
> > @@ -3930,7 +3930,22 @@ static ssize_t queue_max_hw_sectors_show(struct request_queue *q, char *page)
> > return queue_var_show(max_hw_sectors_kb, (page));
> > }
> >
> > +static ssize_t queue_max_segments_show(struct request_queue *q, char *page)
> > +{
> > + return queue_var_show(q->max_phys_segments, page);
> > +}
> > +
> > +static ssize_t queue_max_segments_store(struct request_queue *q, const char *page, size_t count)
>
> 100-col xterm?
It's a debug thing, it'll go away for the final versions. So I didn't
pay much attention to details.
--
Jens Axboe
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists