Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2934535pxj; Mon, 10 May 2021 14:18:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfPe0PAohs9526N+wJWHUPMYriv1lJR6CmGkkSYj9Ohll+6FFQn9NuiVJQuW+WSM97LJOo X-Received: by 2002:a17:906:c2cc:: with SMTP id ch12mr27096293ejb.402.1620681481915; Mon, 10 May 2021 14:18:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620681481; cv=none; d=google.com; s=arc-20160816; b=AdgtrZJrmscGD1/K/9Imm9DBsV1RONGJ23YmZYl3dhnGxPmI69Z2sheFrm1vS7/+pG qI2AK/bjXlPFJRYeuWQq9Das4ksWwDQRRhHkpn/15E2t10ChoIQWcXLuIc3j4A7x2LeG FDcjH07ShZAh3ojyZanw72vd5nEsoVyARh+LD8zP/uFd4XUUtDM7dXQlG/yBz98mQXYJ Ys42w5RSZl3VRZkOtHr+sNNv/W4aEjpyGniQ37lAwW299y9t5jN/wFaWnpkyCjeJhJte 1M+Nt+zTJwotcxufFAoUsytTvNFdCPLkMkt9Jd8G7Vsr+6C816LyiO/8xqtPkbAnLk0K 69BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=QLbwo71WM0BJbAl/EGoecFLgUfzS3/y+qzgb6yim0eQ=; b=Pjo3ZU4L5dMvXTRNrZ+l3soo/jNj3FoZyQCXDssC384phvnhPjRh8rVT/FcNo5qn9M LY8j42DhOWX0eBoIxlt0rUOwv0SkUgtXSWj4THdnJqIXHXzjR03LyLerCyMw+Hsth+/E vyx0kEb4mKPckkdsFxyL6oGT3QAIzcDb3if5XDx7EyXfFjg11WVVJWHd4k8YwO6TY4OW iqsnm+RcuUXIytD68owkztaI8N3giZzRRrLSjVR0jfRqf2nJm/wbMDbI8A1umug4o5GH hMJVzm7/mWcQ/Kra6f876UeJHkuq61bt26u5DX9dnhVd7W+sCsKB4yEYqR/3aJFoJlx0 4/6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jlYnfAdd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m17si11752872eds.264.2021.05.10.14.17.37; Mon, 10 May 2021 14:18:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jlYnfAdd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231765AbhEJVPp (ORCPT + 99 others); Mon, 10 May 2021 17:15:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231420AbhEJVPo (ORCPT ); Mon, 10 May 2021 17:15:44 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3002C061760; Mon, 10 May 2021 14:14:38 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id u21so26565966ejo.13; Mon, 10 May 2021 14:14:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=QLbwo71WM0BJbAl/EGoecFLgUfzS3/y+qzgb6yim0eQ=; b=jlYnfAddH/GkSgMEWGHp977A5beAdWrxUdThq3kfnSzLyp7ZPpEvzNoLhTXVNgt+f8 yYRmowpJn4Ietulh544wgPnGgWvtlfdpBS62omN+jGXSpLlTSMKpC/H5wJkLc8W9IbLa bI2QDTOF9+nb1/P34B+XicqiAAE62TFgaTsbG9KqEWg4KBAE5jBIDDBtRi1AzFMZuwau 7KkUhAJfKAPI8cKFt7gJ5CeDmRO2rPHtGPSg4cs0iGxSBsCxqJHstI+GmilN1daGqQt8 f9Uu6k0OPtL+8ifAvdDb5R5vg1xaINcxR7T07fHcByVgu433/EbyHe6aHsp9OarD6k3o wyVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=QLbwo71WM0BJbAl/EGoecFLgUfzS3/y+qzgb6yim0eQ=; b=gUmma5FPVveRJ8hJVqkVtEJGDYT45QKPGDPKdPMep2aWUNB4uhv1UxvQiWnjyrLttR 5oS+qQaS2aiy61T41Q6AMEj29bDVh22hXzsuI9xG87Zgko/J9nH+5M6Mjb2z8ZsMhiXj V5mGA2NM8DBYMmbwNqOWMNmGGSNCQ3vgrKSK+Jx+YhiVmUzOdaCe/4RBsSm2TTOptAly aa9Rx8DCoqXHop0DN/LcR1WEXIZhI2j/lDXKfgAds1KBp/jD03nfFeNNNBiZTDJ7mSA9 WbTCtn6siHFx2d41lzZ1EghSolGiiOAPgBKX/pQuuLJSykr8yaFMmiRBh5fJGGLrGZAT y3xw== X-Gm-Message-State: AOAM530QZqlVg8W+Z8TVZl7/4Ca0gVvlbjk87+5XMAD7NRYgvWEOR+A/ q4307yrcUpggdq52aOBviwk= X-Received: by 2002:a17:906:8468:: with SMTP id hx8mr27906682ejc.18.1620681277586; Mon, 10 May 2021 14:14:37 -0700 (PDT) Received: from anparri ([151.76.108.233]) by smtp.gmail.com with ESMTPSA id k5sm13962223edk.46.2021.05.10.14.14.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 14:14:37 -0700 (PDT) Date: Mon, 10 May 2021 23:14:30 +0200 From: Andrea Parri To: Wei Liu Cc: Michael Kelley , "linux-kernel@vger.kernel.org" , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , "davem@davemloft.net" , "kuba@kernel.org" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "linux-hyperv@vger.kernel.org" , "netdev@vger.kernel.org" , "linux-scsi@vger.kernel.org" Subject: Re: [PATCH hyperv-next] scsi: storvsc: Use blk_mq_unique_tag() to generate requestIDs Message-ID: <20210510211430.GA370521@anparri> References: <20210415105926.3688-1-parri.andrea@gmail.com> <20210506174516.aiuuhu7oediqozv4@liuwe-devbox-debian-v2> <20210510173321.lfw4nha7wrzfgkkd@liuwe-devbox-debian-v2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210510173321.lfw4nha7wrzfgkkd@liuwe-devbox-debian-v2> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 10, 2021 at 05:33:21PM +0000, Wei Liu wrote: > On Thu, May 06, 2021 at 05:45:16PM +0000, Wei Liu wrote: > > On Thu, Apr 15, 2021 at 01:22:32PM +0000, Michael Kelley wrote: > > > From: Andrea Parri (Microsoft) 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 > > > > Signed-off-by: Andrea Parri (Microsoft) > > > > --- > > > > 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@gmail.com/ > > > > > > > > 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 > > > > 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. > > Andrea, please rebase this patch on top of hyperv-next. It does not > apply as-is. Sent https://lkml.kernel.org/r/20210510210841.370472-1-parri.andrea@gmail.com Thanks, Andrea