From: Jeremy Higdon <jeremy@sgi.com>
To: Patrick Mansfield <patmans@us.ibm.com>
Cc: linux-scsi@vger.kernel.org, axboe@suse.de
Subject: Re: [RFC & PATCH 2.6.9-rc1] Add Blacklist for RAID configuration luns
Date: Tue, 14 Sep 2004 11:22:03 -0700 [thread overview]
Message-ID: <20040914182203.GA100433@sgi.com> (raw)
In-Reply-To: <20040914144023.GA9524@beaverton.ibm.com>
On Tue, Sep 14, 2004 at 07:40:23AM -0700, Patrick Mansfield wrote:
> On Mon, Sep 13, 2004 at 11:32:37PM -0700, Jeremy Higdon wrote:
> > Engenio RAIDs have special luns that are used for configuring the RAID.
> > These luns have a device type of 0 (disk), but do not adhere to
> > standard disk semantics. To avoid having to parse potentially dozens
> > of error messages during initialization, it's good to avoid attaching
> > these devices to sd. This can be done by changing the device type
> > to RAID (0xC).
>
> What error messages are output without your patch?
>
> -- Patrick Mansfield
If you try to read block 1 of the device, for example, you get these
errors (cut & pasted from /var/log/messages):
Sep 13 16:12:51 perflinux29 kernel: Buffer I/O error on device sdo, logical block 0
Sep 13 16:12:51 perflinux29 kernel: Buffer I/O error on device sdo, logical block 1
Sep 13 16:12:51 perflinux29 kernel: Buffer I/O error on device sdo, logical block 2
Sep 13 16:12:51 perflinux29 kernel: Buffer I/O error on device sdo, logical block 3
Sep 13 16:12:51 perflinux29 kernel: end_request: I/O error, dev sdt, sector 0
On SLES9, for example, you get these messages when hwscan or blkid
is run (they're opening disk devices and presumably scanning for
partition tables). There are several system utilities that might
do this sort scanning (lvm, for example).
The error occurs, because the lun in question returns errors for
any request beyond block 64, and the new readahead algorithm
generally issues requests for 128 blocks even when only one block
is requested.
If we convince sd not to attach to this device, the problem goes
away. Thus, the new blacklist type and new entry.
jeremy
next prev parent reply other threads:[~2004-09-14 18:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-14 6:32 [RFC & PATCH 2.6.9-rc1] Add Blacklist for RAID configuration luns Jeremy Higdon
2004-09-14 14:40 ` Patrick Mansfield
2004-09-14 18:22 ` Jeremy Higdon [this message]
2004-09-15 3:18 ` [RFC] [PATCH 2.6.9-rc1] add blacklist attribute indicating no ULD attach Jeremy Higdon
2004-09-15 6:25 ` Jens Axboe
2004-09-15 6:47 ` Christoph Hellwig
2004-09-15 7:37 ` Jeremy Higdon
2004-09-15 7:40 ` Jens Axboe
2004-09-15 7:56 ` Jeremy Higdon
2004-09-15 7:59 ` Jens Axboe
2004-09-15 13:25 ` James Bottomley
2004-09-16 0:41 ` Jeremy Higdon
2004-09-16 5:42 ` Jens Axboe
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=20040914182203.GA100433@sgi.com \
--to=jeremy@sgi.com \
--cc=axboe@suse.de \
--cc=linux-scsi@vger.kernel.org \
--cc=patmans@us.ibm.com \
/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