All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] scsi: target: core: Fix sense key for invalid XCOPY request
@ 2021-06-24 11:19 Sergey Samoylenko
  2021-06-24 11:19 ` [PATCH 1/1] " Sergey Samoylenko
  2021-07-21 21:45 ` [PATCH 0/1] " David Disseldorp
  0 siblings, 2 replies; 9+ messages in thread
From: Sergey Samoylenko @ 2021-06-24 11:19 UTC (permalink / raw)
  To: martin.petersen, michael.christie, target-devel
  Cc: linux-scsi, linux, Sergey Samoylenko

EXTENDED COPY tests in libiscsi [1] show that TCM doesn't
follow SPC4 when detects invalid parameters in a XCOPY
command or IO errors. The replies from TCM contain wrong sense
key or ASCQ for incorrect request.

The series fixes the following tests from libiscsi:

  SCSI.ExtendedCopy.DescrType
  SCSI.ExtendedCopy.DescrLimits
  SCSI.ExtendedCopy.ParamHdr
  SCSI.ExtendedCopy.ValidSegDescr
  SCSI.ExtendedCopy.ValidTgtDescr

1. https://github.com/sahlberg/libiscsi

Sergey Samoylenko (1):
  scsi: target: core: Fix sense key for invalid XCOPY request

 drivers/target/target_core_xcopy.c | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2021-07-22 13:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-24 11:19 [PATCH 0/1] scsi: target: core: Fix sense key for invalid XCOPY request Sergey Samoylenko
2021-06-24 11:19 ` [PATCH 1/1] " Sergey Samoylenko
2021-06-24 15:49   ` kernel test robot
2021-06-24 15:49     ` kernel test robot
2021-06-24 15:57   ` Bart Van Assche
2021-06-24 17:27     ` Sergey Samoylenko
2021-07-21 21:45 ` [PATCH 0/1] " David Disseldorp
2021-07-22 11:03   ` Sergey Samoylenko
2021-07-22 13:27     ` David Disseldorp

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.