Re: [PATCH hyperv-next] scsi: storvsc: Use blk_mq_unique_tag() to generate requestIDs

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

 



On Thu, Apr 15, 2021 at 01:22:32PM +0000, Michael Kelley wrote:
> From: Andrea Parri (Microsoft) <parri.andrea@xxxxxxxxx> Sent: Thursday, April 15, 2021 3:59 AM
> > 
> > Use blk_mq_unique_tag() to generate requestIDs for StorVSC, avoiding
> > all issues with allocating enough entries in the VMbus requestor.
> > 
> > Suggested-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>
> > Signed-off-by: Andrea Parri (Microsoft) <parri.andrea@xxxxxxxxx>
> > ---
> > Changes since RFC:
> >   - pass sentinel values for {init,reset}_request in vmbus_sendpacket()
> >   - remove/inline the storvsc_request_addr() callback
> >   - make storvsc_next_request_id() 'static'
> >   - add code to handle the case of an unsolicited message from Hyper-V
> >   - other minor/style changes
> > 
> > [1] https://lore.kernel.org/linux-hyperv/20210408161315.341888-1-parri.andrea@xxxxxxxxx/
> > 
> >  drivers/hv/channel.c              | 14 ++---
> >  drivers/hv/ring_buffer.c          | 13 +++--
> >  drivers/net/hyperv/netvsc.c       |  8 ++-
> >  drivers/net/hyperv/rndis_filter.c |  2 +
> >  drivers/scsi/storvsc_drv.c        | 94 +++++++++++++++++++++----------
> >  include/linux/hyperv.h            | 13 ++++-
> >  6 files changed, 95 insertions(+), 49 deletions(-)
> 
> LGTM
> 
> Reviewed-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>

Although this patch is tagged with SCSI, I think it would be better if
this goes through the hyperv tree. Let me know if there is any
objection.

Wei.



[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