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
h...@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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to