All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeremy Linton <jlinton@tributary.com>
To: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: Nao Nishijima <nao.nishijima.xt@hitachi.com>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Subject: Re: [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel.
Date: Mon, 18 Apr 2011 15:10:08 -0500	[thread overview]
Message-ID: <4DAC9AA0.8090904@tributary.com> (raw)
In-Reply-To: <20110408192113.2f3d5eda@stein>

> Identifiers and names of target ports and of logical units (per SAM-2 and
> later, Annex A) --- whether they are persistent, in which scope they are
> unique, how they look like, and how they can be obtained --- are transport
> specific.
> 
> Neither the INQUIRY command (per SPC) nor any other command is generally
> useful to obtain e.g. logical unit identifiers.  Any tool that needs to
> obtain identifiers or names of target ports and of logical units must talk
> with the transport driver through driver-specific interfaces.


	Inquiry page 0x83 has been mandatory for a while now, and while the name/id
assignments are all over the place, it is getting better. Page 0x80 is also
supported on nearly every device manufactured in the last 10 years. Parsing a
few common cases covers the majority of the devices. Of course, the returned
information may not be helpful (even when supported), but we are mostly just
talking about messages being displayed to the user. Some of this information is
already being stored in the kernel, printing something like "s[dgt]X
(man/model/serial/portinfo)" instead of just a "sda" via sd_printk/etc would
probably be quite helpful in a lot of situations.

	Finally, printing this information provides encouragement to the device
manufactures to make sure its available and correct.






	

  reply	other threads:[~2011-04-18 20:15 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-05 12:49 [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel Nao Nishijima
2011-04-05 12:49 ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Nao Nishijima
2011-04-05 12:50 ` [PATCH 2/2] SCSI: modify SCSI subsystem Nao Nishijima
2011-04-05 12:50   ` Nao Nishijima
2011-04-05 16:14 ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel Greg KH
2011-04-05 16:14   ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names Greg KH
2011-04-08 14:12   ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel Nao Nishijima
2011-04-08 14:12     ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names Nao Nishijima
2011-04-08 14:12     ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel Nao Nishijima
2011-04-08 14:33     ` Hannes Reinecke
2011-04-08 14:33       ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names Hannes Reinecke
2011-04-08 14:33       ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel Hannes Reinecke
2011-04-08 15:14       ` James Bottomley
2011-04-08 15:14         ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device James Bottomley
2011-04-08 15:14         ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel James Bottomley
2011-04-08 16:14         ` Greg KH
2011-04-08 16:14           ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names Greg KH
2011-04-08 16:43           ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel Kay Sievers
2011-04-08 16:43             ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names Kay Sievers
2011-04-08 16:43             ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel Kay Sievers
2011-04-12 13:23         ` Nao Nishijima
2011-04-12 13:23           ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names Nao Nishijima
2011-04-12 13:23           ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel Nao Nishijima
2011-04-12 13:29           ` James Bottomley
2011-04-12 13:29             ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device James Bottomley
2011-04-12 13:29             ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel James Bottomley
2011-04-14  2:06       ` Nao Nishijima
2011-04-14  2:06         ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names Nao Nishijima
2011-04-14  2:06         ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel Nao Nishijima
2011-04-14  2:18         ` Greg KH
2011-04-14  2:18           ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names Greg KH
2011-04-08 17:21     ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel Stefan Richter
2011-04-08 17:21       ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names Stefan Richter
2011-04-18 20:10       ` Jeremy Linton [this message]
2011-04-05 16:14 ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel Greg KH
2011-04-05 16:14   ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names Greg KH
2011-04-08 14:07   ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel Nao Nishijima
2011-04-08 14:07     ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names Nao Nishijima
2011-04-08 16:12     ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel Greg KH
2011-04-08 16:12       ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names Greg KH
2011-04-14  8:15       ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel Nao Nishijima
2011-04-14  8:15         ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names Nao Nishijima
2011-04-14  8:15         ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel Nao Nishijima
2011-04-14 20:07         ` Greg KH
2011-04-14 20:07           ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names Greg KH
2011-04-14 20:07           ` [PATCH 1/2] SCSI: Add a SCSI option for persistent device names in Kernel Greg KH

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=4DAC9AA0.8090904@tributary.com \
    --to=jlinton@tributary.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=nao.nishijima.xt@hitachi.com \
    --cc=stefanr@s5r6.in-berlin.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.