All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] scsi: target: Introduce the version descriptors
@ 2021-05-13 19:28 Konstantin Shelekhin
  2021-05-13 19:28 ` [PATCH 1/2] scsi: target: Bump INQUIRY VERSION to SPC-4 Konstantin Shelekhin
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Konstantin Shelekhin @ 2021-05-13 19:28 UTC (permalink / raw)
  To: Martin Petersen, Mike Christie, target-devel
  Cc: linux-scsi, linux, Konstantin Shelekhin

This patch series adds the VERSION DESCRIPTOR fields to the standard INQUIRY
data. The SCSI primary command set standard bumped to SPC-4 for consistency
since the version descriptor values for SBC-3 and some other standards are not
defined in SPC-3.

While not essential for normal operation, the version descriptors values are
often queried as an additional sanity check. For example, Windows Server
requires proper SCSI transport protocol standard during the iSCSI qualification
tests.

The layout follows SPC-4:

  SCSI architecture standard
  SCSI transport protocol standard
  SCSI primary command set standard
  SCSI device type command set standard

The physical transport standard is not reported because it requires
driver-specific probing to be accurate and I'm not aware of any use-case
to justify the additional complexity.

The values are reported "unclaimed" because I faced several issues with the
specific ones during the interoperability testing. For example, Windows Server
2016 fails to parse recent iSCSI standards, libiscsi failed to recognize the
final SBC-3 standard (however this is fixed now) and so on. Plus both FreeBSD
and SCST use (or were using) the same values, so the chance of breaking
something is much smaller.

Konstantin Shelekhin (2):
  scsi: target: Bump INQUIRY VERSION to SPC-4
  scsi: target: Add the VERSION DESCRIPTOR fields to the INQUIRY data

 drivers/target/target_core_spc.c | 36 ++++++++++++++++++++++++++++++--
 include/scsi/scsi_proto.h        | 12 +++++++++++
 2 files changed, 46 insertions(+), 2 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH 0/2] scsi: target: Introduce the version descriptors
@ 2021-04-12 22:44 Konstantin Shelekhin
  2021-04-12 22:44 ` [PATCH 2/2] scsi: target: Add the VERSION DESCRIPTOR fields to the INQUIRY data Konstantin Shelekhin
  0 siblings, 1 reply; 10+ messages in thread
From: Konstantin Shelekhin @ 2021-04-12 22:44 UTC (permalink / raw)
  To: Martin Petersen, Mike Christie, target-devel
  Cc: linux-scsi, linux, Konstantin Shelekhin

This patch series adds the VERSION DESCRIPTOR fields to the standard INQUIRY
data. The SCSI primary command set standard bumped to SPC-4 for consistency
since the version descriptor values for SBC-3 and some other standards are not
defined in SPC-3.

While not essential for normal operation, the version descriptors values are
often queried as an additional sanity check. For example, Windows Server
requires proper SCSI transport protocol standard during the iSCSI qualification
tests.

The layout follows SPC-4:

  SCSI architecture standard
  SCSI transport protocol standard
  SCSI primary command set standard
  SCSI device type command set standard

The physical transport standard is not reported because it requires
driver-specific probing to be accurate and I'm not aware of any use-case
to justify the additional complexity.

The values are reported "unclaimed" because I faced several issues with the
specific ones during the interoperability testing. For example, Windows Server
2016 fails to parse recent iSCSI standards, libiscsi failed to recognize the
final SBC-3 standard (however this is fixed now) and so on. Plus both FreeBSD
and SCST use (or were using) the same values, so the chance of breaking
something is much smaller.

Konstantin Shelekhin (2):
  scsi: target: Bump INQUIRY VERSION to SPC-4
  scsi: target: Add the VERSION DESCRIPTOR fields to the INQUIRY data

 drivers/target/target_core_spc.c | 36 ++++++++++++++++++++++++++++++--
 include/scsi/scsi_proto.h        | 12 +++++++++++
 2 files changed, 46 insertions(+), 2 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-05-22  4:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 19:28 [PATCH 0/2] scsi: target: Introduce the version descriptors Konstantin Shelekhin
2021-05-13 19:28 ` [PATCH 1/2] scsi: target: Bump INQUIRY VERSION to SPC-4 Konstantin Shelekhin
2021-05-13 19:28 ` [PATCH 2/2] scsi: target: Add the VERSION DESCRIPTOR fields to the INQUIRY data Konstantin Shelekhin
2021-05-15 18:34 ` [PATCH 0/2] scsi: target: Introduce the version descriptors Martin K. Petersen
2021-05-22  4:41 ` Martin K. Petersen
  -- strict thread matches above, loose matches on Subject: below --
2021-04-12 22:44 Konstantin Shelekhin
2021-04-12 22:44 ` [PATCH 2/2] scsi: target: Add the VERSION DESCRIPTOR fields to the INQUIRY data Konstantin Shelekhin
2021-04-19  6:57   ` kernel test robot
2021-04-19  6:57     ` kernel test robot
2021-04-20 15:24     ` Konstantin Shelekhin
2021-04-20 15:24       ` Konstantin Shelekhin

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.