[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[dm-devel] Re: no INQUIRY from userspace please (was Re: [PATCH 7/9] scsi_dh: Add support for SDEV_PASSIVE)
- From: Luben Tuikov <ltuikov yahoo com>
- To: Stefan Richter <stefanr s5r6 in-berlin de>, James Bottomley <James Bottomley HansenPartnership com>
- Cc: Mike Christie <michaelc cs wisc edu>, linux-scsi vger kernel org, Mike Anderson <andmike linux vnet ibm com>, dm-devel redhat com, jens axboe oracle com
- Subject: [dm-devel] Re: no INQUIRY from userspace please (was Re: [PATCH 7/9] scsi_dh: Add support for SDEV_PASSIVE)
- Date: Thu, 7 Feb 2008 12:42:31 -0800 (PST)
--- On Thu, 2/7/08, James Bottomley <James Bottomley HansenPartnership com> wrote:
> This is all a tradeoff. If you want userspace *never* to
> issue raw SCSI
> commands like INQUIRY, we're going to have to provide
> the needed
> information from the kernel via sysfs ... including VPD
> strings. This
> is something we've always shovelled off into userspace
> before.
What if a user-space application client _does_ send an INQUIRY to
a device anyway?
It would probably be better to preserve application client behaviour
and simulate/emulate n-th INQUIRY, after the 1st for such broken
device firmwares that break on any subsequent INQUIRY. Possibly
in the LLDD or via blacklisting in the mid-layer.
Luben
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]