Re: [PATCH 5/9] scsi: introduce scsi_cmnd_hctx_index()

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

 



On 5/31/19 4:27 AM, Ming Lei wrote:
> For drivers which enable .host_tagset, introduce scsi_cmnd_hctx_index
> to retrieve current reply queue index. If valid scsi command is provided,
> blk-mq's hw queue's index is returned, otherwise return the queue
> mapped from current CPU.
> 
> Prepare for converting device's privete reply queue to blk-mq hw queue.
> 
                                  ^private

> Signed-off-by: Ming Lei <ming.lei@xxxxxxxxxx>
> ---
>  include/scsi/scsi_cmnd.h | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
Otherwise:

Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@xxxxxxx			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Mary Higgins, Sri Rasiah
HRB 21284 (AG Nürnberg)



[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