From: Hannes Reinecke <hare@suse.de>
To: James Bottomley <jbottomley@parallels.com>
Cc: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"bvanassche@acm.org" <bvanassche@acm.org>,
"hch@infradead.org" <hch@infradead.org>
Subject: Re: [PATCH 5/5] ses: Use vpd information from scsi_device
Date: Mon, 10 Mar 2014 21:44:30 +0100 [thread overview]
Message-ID: <531E242E.60806@suse.de> (raw)
In-Reply-To: <1394475625.2565.42.camel@dabdike.int.hansenpartnership.com>
On 03/10/2014 07:20 PM, James Bottomley wrote:
> On Mon, 2014-03-10 at 15:28 +0100, Hannes Reinecke wrote:
>> The scsi_device now has VPD page83 information attached, so
>> there is no need to query it again.
>
> This is a bit new for a v8 patch, have you actually tested it? I'm
> asking because it looks to me like the vpd attach is done just before
> the configure whereas the bindings are usually done in add. I suspect
> this will work for ses because it's a device model binding rather than a
> transport class binding and the former occurs later, but knowing it
> actually all works would be useful.
>
Yes, correct. But the device_add() call is done in
scsi_sysfs_add_sdev(), which is done at the end of scsi_add_lun().
So that will be okay.
But nevertheless I'll be cross-checking.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2014-03-10 18:41 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-10 14:28 [PATCHv8 0/5] Display EVPD pages in sysfs Hannes Reinecke
2014-03-10 14:28 ` [PATCH 1/5] scsi_sysfs: Implement 'is_visible' callback Hannes Reinecke
2014-03-10 14:28 ` [PATCH 2/5] scsi: Return VPD page length in scsi_vpd_inquiry() Hannes Reinecke
2014-03-12 21:14 ` Muthukumar R
2014-03-12 21:43 ` Douglas Gilbert
2014-03-12 23:21 ` Muthukumar R
2014-03-13 6:45 ` Hannes Reinecke
2014-03-10 14:28 ` [PATCH 3/5] Add EVPD page 0x83 to sysfs Hannes Reinecke
2014-03-10 18:24 ` James Bottomley
2014-03-10 20:52 ` Hannes Reinecke
2014-03-11 4:14 ` James Bottomley
2014-03-11 11:56 ` Hannes Reinecke
2014-03-11 10:55 ` James Bottomley
2014-03-13 1:53 ` Martin K. Petersen
2014-03-13 3:31 ` James Bottomley
2014-03-12 8:03 ` hch
2014-03-10 14:28 ` [PATCH 4/5] Add EVPD page 0x80 " Hannes Reinecke
2014-03-10 14:28 ` [PATCH 5/5] ses: Use vpd information from scsi_device Hannes Reinecke
2014-03-10 18:20 ` James Bottomley
2014-03-10 20:44 ` Hannes Reinecke [this message]
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=531E242E.60806@suse.de \
--to=hare@suse.de \
--cc=bvanassche@acm.org \
--cc=hch@infradead.org \
--cc=jbottomley@parallels.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).