From: Hannes Reinecke <hare@suse.de>
To: Christoph Hellwig <hch@infradead.org>
Cc: James Bottomley <jbottomley@parallels.com>,
linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org,
Tejun Heo <tj@kernel.org>
Subject: Re: [PATCH 3/4] libata-scsi: Update SATL for ZAC drives
Date: Wed, 30 Jul 2014 08:18:43 +0200 [thread overview]
Message-ID: <53D88E43.40301@suse.de> (raw)
In-Reply-To: <20140729171258.GB32713@infradead.org>
On 07/29/2014 07:12 PM, Christoph Hellwig wrote:
> On Tue, Jul 29, 2014 at 04:45:16PM +0200, Hannes Reinecke wrote:
>> ZAC (zoned-access command) drives translate into ZBC (Zoned block
>> command) device type for SCSI. So implement the correct mappings
>> into libata-scsi and update the SCSI command set versions.
>
> This seems to both set the periphal type to ZBC and set the
> HAW_ZBC bit, which is invalid for the version of ZBC spec I've seen.
>
D'oh. You are correct, one should read the doc properly.
> Doesn't ZAC also destinguish between host aware and host managed device
> like ZBC does?
>
Not as such. The spec I have only differentiates between CMR
(conventional media recording) and SMR (shingled media recording)
zones. And every SMR zone is a sequential write required zone.
So the host aware device type with sequential write preferred zones
is not supported.
I'll be sending an updated patch with the correct bits set.
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
next prev parent reply other threads:[~2014-07-30 6:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-29 14:45 [PATCHv3 0/4] Initial SMR drive support Hannes Reinecke
2014-07-29 14:45 ` [PATCH 1/4] libata: consolidate ata_dev_classify() Hannes Reinecke
2014-07-29 14:45 ` [PATCH 2/4] libata: Implement ATA_DEV_ZAC Hannes Reinecke
2014-07-29 14:45 ` [PATCH 3/4] libata-scsi: Update SATL for ZAC drives Hannes Reinecke
2014-07-29 17:12 ` Christoph Hellwig
2014-07-30 6:18 ` Hannes Reinecke [this message]
2014-07-29 14:45 ` [PATCH 4/4] sd: Optionally attach to ZBC devices Hannes Reinecke
2014-07-29 17:14 ` Christoph Hellwig
2014-07-30 6:41 ` Hannes Reinecke
2014-07-30 11:39 ` Christoph Hellwig
-- strict thread matches above, loose matches on Subject: below --
2014-07-30 7:55 [PATCHv4 0/4] Initial SMR drive support Hannes Reinecke
2014-07-30 7:55 ` [PATCH 3/4] libata-scsi: Update SATL for ZAC drives Hannes Reinecke
2014-09-05 23:44 ` Tejun Heo
2014-07-21 8:27 [PATCHv2 0/4] Initial SMR drive support Hannes Reinecke
2014-07-21 8:27 ` [PATCH 3/4] libata-scsi: Update SATL for ZAC drives 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=53D88E43.40301@suse.de \
--to=hare@suse.de \
--cc=hch@infradead.org \
--cc=jbottomley@parallels.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=tj@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).