Thread (17 messages) 17 messages, 5 authors, 2021-08-24

Re: [PATCH 2/3] scsi: fnic: Stop setting scsi_cmnd.tag

From: Hannes Reinecke <hare@suse.de>
Date: 2021-08-14 12:35:17
Also in: lkml

On 8/14/21 9:39 AM, Christoph Hellwig wrote:
On Fri, Aug 13, 2021 at 08:17:45PM -0700, Bart Van Assche wrote:
quoted
On 8/13/21 6:49 AM, John Garry wrote:
quoted
It is never read. Setting it and the request tag seems dodgy
anyway.
This is done because there is code in the SCSI error handler that may
allocate a SCSI command without allocating a tag. See also
scsi_ioctl_reset().
Yes.  Hannes had a great series to stop passing the pointless scsi_cmnd
to the reset methods.  Hannes, any chance you coul look into
resurrecting that?
Sure.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Kernel Storage Architect
hare@suse.de                              +49 911 74053 688
SUSE Software Solutions GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), Geschäftsführer: Felix Imendörffer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help