[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165111450538.20789.16658928197210500441.b4-ty@oracle.com>
Date: Wed, 27 Apr 2022 22:55:19 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: David Jeffery <djeffery@...hat.com>, target-devel@...r.kernel.org
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org,
Laurence Oberman <loberman@...hat.com>,
linux-scsi@...r.kernel.org
Subject: Re: [PATCH] target: pscsi: set SCF_TREAT_READ_AS_NORMAL flag only if there is valid data
On Wed, 27 Apr 2022 14:32:50 -0400, David Jeffery wrote:
> With tape devices, the SCF_TREAT_READ_AS_NORMAL flag is used by the target
> subsystem to mark commands which have both data to return as well as
> sense data. But with pscsi, SCF_TREAT_READ_AS_NORMAL can be set even if
> there is no data to return. The SCF_TREAT_READ_AS_NORMAL flag causes the
> target core to call iscsit datain callbacks even if there is no data, which
> iscsit does not support. This results in iscsit going into an error state
> requiring recovery and being unable to complete the command to the
> initiator.
>
> [...]
Applied to 5.18/scsi-fixes, thanks!
[1/1] target: pscsi: set SCF_TREAT_READ_AS_NORMAL flag only if there is valid data
https://git.kernel.org/mkp/scsi/c/8be70a842f70
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists