Re: [PATCH v2 01/84] scsi: core: Use a member variable to track the SCSI command submitter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2021-09-29 at 15:04 -0700, Bart Van Assche wrote:
> Conditional statements are faster than indirect calls. Use a member
> variable
> 
> to track the SCSI command submitter such that later patches can call
> 
> scsi_done(scmd) instead of scmd->scsi_done(scmd).
> 
> 
> 
> The asymmetric behavior that scsi_send_eh_cmnd() sets the submission
> 
> context to the SCSI error handler and that it does not restore the
> 
> submission context to the SCSI core is retained.
> 
> 
> 
> Cc: Hannes Reinecke <hare@xxxxxxxx>
> 
> Cc: Ming Lei <ming.lei@xxxxxxxxxx>
> 
> Cc: Christoph Hellwig <hch@xxxxxx>
> 
> Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx>

Reviewed-by: Bean Huo <beanhuo@xxxxxxxxxx>




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux