mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: Andre Hedrick <andre@linux-ide.org>
Cc: linux-kernel@vger.kernel.org, Jens Axboe <axboe@suse.de>
Subject: Re: /pub/linux/kernel/people/hedrick/ide-2.5.32
Date: Thu, 29 Aug 2002 13:35:44 -0700	[thread overview]
Message-ID: <3D6E85A0.A88FA63A@zip.com.au> (raw)
In-Reply-To: <Pine.LNX.4.10.10208291300130.24156-100000@master.linux-ide.org>

I'm a wee bit reluctant to shrink these settings globally,
because it will have a small impact on people's ongoing
evaluation of 2.5 on high-end SCSI hardware.

Could you please set BIO_MAX_SECTORS to 64 within the IDE
patch, and add a BIG FAT COMMENT?


Andre Hedrick wrote:
> 
> Andrew,
> 
> I am just now getting back to crawling speeds in the 2.5 tree.
> I can only comment on what works and what Viro tells me.
> But if you think it needs to be globally set, until the updates from Jens
> arrive, please send to Linus.  I am running my stuff by Viro and company.
> 
> Cheers,
> 
> On Thu, 29 Aug 2002, Andrew Morton wrote:
> 
> > Andre Hedrick wrote:
> > >
> > > ...
> > > There is one more thing to fix.
> > >
> > > ./fs/mpage.c
> > >
> > > /*
> > >  * The largest-sized BIO which this code will assemble, in bytes.  Set this
> > >  * to PAGE_CACHE_SIZE if your drivers are broken.
> > >  */
> > > #define MPAGE_BIO_MAX_SIZE 32768        //BIO_MAX_SIZE
> > >
> > > This is confirmed with Al Viro and was required to make things sane!
> >
> > You'll need to do the same thing to fs/direct-io.c:DIO_BIO_MAX_SIZE
> > in that case.
> >
> > I'd suggest that you just go in and change BIO_MAX_SECTORS
> > to 64.   Or 32 if you happen to be using a qlogic controller :(
> >
> > So everything's broken in there - a hardwired constant doesn't
> > cut it.   Jens is cooking up an `add_page_to_bio()' API which
> > will do the right thing based upon q->max_sectors.  But that
> > is not yet available.
> >
> 
> Andre Hedrick
> LAD Storage Consulting Group

      reply	other threads:[~2002-08-29 20:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-29 19:46 /pub/linux/kernel/people/hedrick/ide-2.5.32 Andre Hedrick
2002-08-29 19:57 ` /pub/linux/kernel/people/hedrick/ide-2.5.32 Andrew Morton
2002-08-29 20:02   ` /pub/linux/kernel/people/hedrick/ide-2.5.32 Andre Hedrick
2002-08-29 20:35     ` Andrew Morton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3D6E85A0.A88FA63A@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=andre@linux-ide.org \
    --cc=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®