mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Petr Vandrovec <vandrove@vc.cvut.cz>
To: Jens Axboe <axboe@suse.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] take 48-bit lba a bit further
Date: Sun, 6 Apr 2003 18:43:06 +0200	[thread overview]
Message-ID: <20030406164306.GC8303@vana.vc.cvut.cz> (raw)
In-Reply-To: <20030406130737.GL786@suse.de>

On Sun, Apr 06, 2003 at 03:07:37PM +0200, Jens Axboe wrote:
> Hi,
> 
> Thanks for taking the previous bit Alan, here's an incremental update to
> 2.5.66-ac2. Just cleans up the 'when to use 48-bit lba' logic a bit per
> Andries suggestion, and also expands the request size for 48-bit lba
> capable drives to 512KiB.
> 
> Works perfectly in testing here, ext2/3 generates nice big 512KiB
> requests and the drive flies.
> 
>  	(void) probe_lba_addressing(drive, 1);
>  
> +	if (drive->addressing)
> +		blk_queue_max_sectors(&drive->queue, 1024);
> +

Should not you honor host's max queue length? siimage & pdc4030 sets
max_sectors to 128 (resp. 16 resp. 127), while you overwrite it here
unconditionally with 1024.
					Thanks,
						Petr Vandrovec
						vandrove@vc.cvut.cz


  parent reply	other threads:[~2003-04-06 16:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-06 13:07 Jens Axboe
2003-04-06 13:32 ` John Bradford
2003-04-06 13:32   ` Jens Axboe
2003-04-06 14:35   ` Alan Cox
2003-04-06 15:47     ` John Bradford
2003-04-06 15:59       ` Jens Axboe
2003-04-06 16:04         ` Jens Axboe
2003-04-06 16:08         ` John Bradford
2003-04-06 16:43 ` Petr Vandrovec [this message]
2003-04-06 16:27   ` Alan Cox
2003-04-07  7:50     ` Jens Axboe
     [not found] <175955253@toto.iv>
2003-04-06 23:04 ` Peter Chubb

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=20030406164306.GC8303@vana.vc.cvut.cz \
    --to=vandrove@vc.cvut.cz \
    --cc=alan@lxorguk.ukuu.org.uk \
    --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®