From: Hannes Reinecke <hare@suse.de>
To: "Elliott, Robert (Server Storage)" <Elliott@hp.com>
Cc: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
James Bottomley <jbottomley@parallels.com>,
Jeremy Linton <jlinton@tributary.com>,
Bart Van Assche <bvanassche@acm.org>
Subject: Re: [PATCH 0/4] scsi: 64-bit LUN support
Date: Sat, 23 Feb 2013 10:31:11 +0100 [thread overview]
Message-ID: <51288C5F.1080802@suse.de> (raw)
In-Reply-To: <94D0CD8314A33A4D9D801C0FE68B402950D7A4E0@G9W0745.americas.hpqcorp.net>
On 02/21/2013 05:15 PM, Elliott, Robert (Server Storage) wrote:
> Regarding changes like this:
> - printk(MYIOC_s_NOTE_FMT "[%d:%d:%d:%d] "
> + printk(MYIOC_s_NOTE_FMT "[%d:%d:%d:%llu] "
> "FCP_ResponseInfo=%08xh\n", ioc->name,
> sc->device->host->host_no, sc->device->channel,
> sc->device->id, sc->device->lun,
>
> It might be preferable to print the LUN values in hex rather than decimal,
> particularly if they are large values. SAM-5 includes some guidance for
> displaying LUNs, shown below.
>
> One important goal is to match the format, if any, that the user must use
> in a configuration file or command line argument, so cutting-and-pasting
> the LUN value works. So, the answer might differ for prints from
different
> drivers. If a driver expects decimal input values, then print decimal.
>
Yes. And no.
The patchset is meant to be as a drop-in replacement, ie with _no_ user
visible changes.
So I retained the original output.
Also, the above number is identical to the sysfs representation, where
the user will find a device like
/sys/class/scsi_device/X:Y:Z:L
with each X, Y, Z, and L being a decimal number.
_If_ we were to change that we would have to do it consistently for all
instances, plus the sysfs layout.
But I guess we need to have a discussion about this, as I think not
everybody agrees with that assessment.
Would be a nice topic for LSF, though.
Cheers,
Hannes
next prev parent reply other threads:[~2013-02-23 8:31 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-19 8:17 [PATCH 0/4] scsi: 64-bit LUN support Hannes Reinecke
2013-02-19 8:18 ` [PATCH 1/4] scsi_scan: Fixup scsilun_to_int() Hannes Reinecke
2013-02-19 8:18 ` [PATCH 2/4] scsi: use 64-bit LUNs Hannes Reinecke
2013-02-25 15:33 ` Steffen Maier
2013-02-25 15:52 ` Hannes Reinecke
2013-02-25 17:08 ` Douglas Gilbert
2013-02-19 8:18 ` [PATCH 3/4] scsi: use 64-bit value for 'max_luns' Hannes Reinecke
2013-02-19 16:30 ` Michael Christie
2013-02-19 16:33 ` James Bottomley
2013-02-20 6:43 ` Hannes Reinecke
2013-02-19 8:18 ` [PATCH 4/4] scsi: Remove CONFIG_SCSI_MULTI_LUN Hannes Reinecke
2013-02-21 16:15 ` [PATCH 0/4] scsi: 64-bit LUN support Elliott, Robert (Server Storage)
2013-02-21 16:32 ` James Bottomley
2013-02-25 16:02 ` Douglas Gilbert
2013-02-23 9:31 ` Hannes Reinecke [this message]
2013-03-26 18:00 ` Chad Dupuis
2013-03-26 19:03 ` Douglas Gilbert
2013-03-27 7:37 ` Hannes Reinecke
2013-03-27 11:58 ` Chad Dupuis
2013-03-29 16:32 ` Tomas Henzl
2013-03-30 16:53 ` Hannes Reinecke
2013-03-31 17:44 ` Tomas Henzl
2013-04-04 10:17 ` Hannes Reinecke
2013-04-05 15:24 ` James Smart
2013-04-08 14:06 ` Hannes Reinecke
2013-04-08 15:37 ` Tomas Henzl
2013-04-09 7:38 ` Hannes Reinecke
2013-04-09 14:27 ` Elliott, Robert (Server Storage)
2013-04-09 14:52 ` Hannes Reinecke
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=51288C5F.1080802@suse.de \
--to=hare@suse.de \
--cc=Elliott@hp.com \
--cc=bvanassche@acm.org \
--cc=jbottomley@parallels.com \
--cc=jlinton@tributary.com \
--cc=linux-scsi@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 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.