From: Douglas Gilbert <dgilbert@interlog.com>
To: Hannes Reinecke <hare@suse.de>, Tim Walker <tim.t.walker@seagate.com>
Cc: Christoph Hellwig <hch@infradead.org>,
linux-scsi <linux-scsi@vger.kernel.org>,
linux-block@vger.kernel.org
Subject: Re: Multi-Actuator SAS HDD First Look
Date: Mon, 9 Apr 2018 12:02:42 -0400 [thread overview]
Message-ID: <236addea-463c-3802-29c2-c8df9a31c285@interlog.com> (raw)
In-Reply-To: <c5bf0358-ba24-1196-7cfd-8bfec558c514@suse.de>
On 2018-04-09 02:17 AM, Hannes Reinecke wrote:
> On 04/09/2018 04:08 AM, Tim Walker wrote:
>> On Fri, Apr 6, 2018 at 11:09 AM, Douglas Gilbert <dgilbert@interlog.com> wrote:
>>>
>>> On 2018-04-06 02:42 AM, Christoph Hellwig wrote:
>>>>
>>>> On Fri, Apr 06, 2018 at 08:24:18AM +0200, Hannes Reinecke wrote:
>>>>>
>>>>> Ah. Far better.
>>>>> What about delegating FORMAT UNIT to the control LUN, and not
>>>>> implementing it for the individual disk LUNs?
>>>>> That would make an even stronger case for having a control LUN;
>>>>> with that there wouldn't be any problem with having to synchronize
>>>>> across LUNs etc.
>>>>
>>>>
>>>> It sounds to me like NVMe might be a much better model for this drive
>>>> than SCSI, btw :)
>>>
>>>
>>> So you found a document that outlines NVMe's architecture! Could you
>>> share the url (no marketing BS, please)?
>>>
>>>
>>> And a serious question ... How would you map NVMe's (in Linux)
>>> subsystem number, controller device minor number, CNTLID field
>>> (Identify ctl response) and namespace id onto the SCSI subsystem's
>>> h:c:t:l ?
>>>
>>> Doug Gilbert
>>>
>>
>> Hannes- yes, a drive system altering operation like FORMAT UNIT is
>> asking for a dedicated management port, as the NVMe folks apparently
>> felt. But what is the least painful endpoint type for LUN0?
>>
>>
> I would probably use 'processor device' (ie type 3) as it's the least
> defined, so you can do basically everything you like with it.
> Possibly 'Enclosure Services' (type 0x0d) works, too, but then you have
> to check with the SES spec if it allows the things you'd need.
Processor device type (0x3) please. Then you are only required to support
the mandatory commands in SPC and that is not many. And then nothing
precludes you from implementing Start Stop Unit, Sanitize and/or Format
Unit on it. And as I pointed out earlier, you could even throw in a
copy manager (see SPC). Also as far as I know Linux, FreeBSD and Windows
will leave a Processor device type LU alone and just have a SCSI
pass-through device attached to it, and that is exactly what you want.
By default only root/administrator can open those pass-through devices.
If you chose SES type (0xd) then the Linux kernel ses driver (and the
FreeBSD equivalent) would attempt to attach to it before the user space
could countermand it (as things stand). And SES additionally makes the
SEND DIAGNOSTIC and RECEIVE DIAGNOSTIC RESULTS commands mandatory and
at least one diagnostic page (0x0) mandatory. If it doesn't supply
any other SES dpages then those two drivers are going to get pretty
confused (which would be a good test for them). Also it could get
confusing from an administration point of view. I'm guessing many of
these Multi-Actuator SAS HDDs will end up in big enclosures. And
those enclosures most likely would present a SES device. Multiple dummy
enclosures within a real enclosure will look strange (especially as
SES already has a concept of a sub-enclosure).
Doug Gilbert
next prev parent reply other threads:[~2018-04-09 16:02 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-23 14:57 Multi-Actuator SAS HDD First Look Tim Walker
2018-03-26 15:08 ` Hannes Reinecke
2018-03-29 18:03 ` Douglas Gilbert
2018-03-30 13:07 ` Tim Walker
2018-03-30 18:07 ` Tim Walker
2018-03-30 18:17 ` Bart Van Assche
2018-03-30 18:21 ` Tim Walker
2018-03-30 18:31 ` Bart Van Assche
2018-03-30 18:36 ` Tim Walker
2018-03-30 20:01 ` Bart Van Assche
2018-03-31 16:52 ` Douglas Gilbert
2018-04-02 15:34 ` Tim Walker
2018-04-02 16:29 ` Douglas Gilbert
2018-04-02 16:44 ` Tim Walker
2018-03-31 12:21 ` Hannes Reinecke
2018-03-31 11:03 ` Hannes Reinecke
2018-04-03 7:46 ` Christoph Hellwig
2018-04-05 23:43 ` Tim Walker
2018-04-06 0:51 ` Douglas Gilbert
2018-04-06 6:24 ` Hannes Reinecke
2018-04-06 6:42 ` Christoph Hellwig
2018-04-06 17:09 ` Douglas Gilbert
2018-04-09 2:08 ` Tim Walker
2018-04-09 6:17 ` Hannes Reinecke
2018-04-09 16:02 ` Douglas Gilbert [this message]
2018-04-16 1:35 ` Tim Walker
2018-04-16 4:31 ` Bart Van Assche
2018-04-18 11:16 ` Tim Walker
2018-04-18 16:20 ` Bart Van Assche
2018-04-18 16:25 ` Tim Walker
2018-04-09 9:25 ` Christoph Hellwig
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=236addea-463c-3802-29c2-c8df9a31c285@interlog.com \
--to=dgilbert@interlog.com \
--cc=hare@suse.de \
--cc=hch@infradead.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=tim.t.walker@seagate.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 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.