libata: support device-managed ZAC devices
authorHannes Reinecke <hare@suse.de>
Mon, 25 Apr 2016 10:45:55 +0000 (12:45 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 9 May 2016 16:36:46 +0000 (12:36 -0400)
commit856c4663930988118d9f355aad66811dd6df06de
tree5b0d59494d213e6ffdc476bf6e1230c4cc8e444d
parent284b3b77ea883234dadb2cbf97b145c3c30fe4bd
libata: support device-managed ZAC devices

Device-managed ZAC devices just set the zoned capabilities field
in INQUIRY byte 69 (cf ACS-4). This corresponds to the 'zoned'
field in the block device characteristics VPD page.
As this is only defined in SPC-5/SBC-4 we also need to update
the supported SCSI version descriptor.

Reviewed-by: Shaun Tancheff <shaun.tancheff@seagate.com>
Tested-by: Shaun Tancheff <shaun.tancheff@seagate.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libata-scsi.c
include/linux/ata.h