Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp899321ybe; Fri, 6 Sep 2019 08:57:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqySwUUvqXOQ4vyV/+u8YQjn3xcTsCTvDMkvtP9C2LaORN/KvrF8KnfYta19wzzo8tlaRBpi X-Received: by 2002:a63:db45:: with SMTP id x5mr8462812pgi.293.1567785455941; Fri, 06 Sep 2019 08:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567785455; cv=none; d=google.com; s=arc-20160816; b=uiv2sP5ImXKvoKYD9d7nsGZTqlSKzflcWaD6LYk/nEweEm96svTxX5s2bEqGjdyp1i 4xNP20jw+Z8dgPXX2Cy5KMh/k30xIQG+z96ar6P0p6F+E9m5EJBhyP/MQmGisLXCP2C0 Aebgb6OE3iH9ZVW8pF3hsBo+GrrjsUqffnb0MQFI6zzveakHrdxIohG5Gfptcdk26Gls xUUItbRM4EA3VZt9Hny6WAJUsRLcZu807SdPZSP8hCX6lCRg+ru2HjUudT1OlWHnzvNz 6obUpiwlFN3vD9FPgVshsvOo8IqfB4pDJ8i9dzGP7RNh91KuMwAH/uu9baqG9d0VgyWw uQ1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=xegahGTgt9KHCqVLuOhkttK5U5KrTIhx7cTcb1E2wJE=; b=t6pyoZGmRw/O3wNk494ySPA6RhHujqzPr5hAn41JQsrR5UfpT82nzgIHCoTXy8pEa1 FTaaGXE2ufyCRFSnCVeKa8ZQV10pCWCQMkPNX0MvsbemV0yzmX0kmEjqyiR76YgUruUK /KsVdjDHUw0Gzkpqn72gHR+wP0Ouv1bJLZ9ApvNcDIlMXM4bli8TCarCRoTDiApoKk54 yOM8D7FjhzNnVQ3GEIut9orhjPxZ5IZFiUhQ8I2SLZ8EeyDnScPGMbmFmrZjk7QCcYmD 3yGpd3KmN/9NJKkqi1QtjhgEevxVMyELjeIp1Jkh0DLgGxzUHpvZANbMuZZ3YLEh/nxN XewA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f6si5191858plr.100.2019.09.06.08.57.19; Fri, 06 Sep 2019 08:57:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388215AbfIFKoc (ORCPT + 99 others); Fri, 6 Sep 2019 06:44:32 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45388 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728218AbfIFKob (ORCPT ); Fri, 6 Sep 2019 06:44:31 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9B40D369CC; Fri, 6 Sep 2019 10:44:31 +0000 (UTC) Received: from localhost (ovpn-117-208.ams2.redhat.com [10.36.117.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id 447CE60605; Fri, 6 Sep 2019 10:44:26 +0000 (UTC) Date: Fri, 6 Sep 2019 11:44:25 +0100 From: Stefan Hajnoczi To: Vivek Goyal Cc: linux-fsdevel@vger.kernel.org, virtualization@lists.linux-foundation.org, miklos@szeredi.hu, linux-kernel@vger.kernel.org, virtio-fs@redhat.com, dgilbert@redhat.com, mst@redhat.com Subject: Re: [PATCH 03/18] virtiofs: Pass fsvq instead of vq as parameter to virtio_fs_enqueue_req Message-ID: <20190906104425.GK5900@stefanha-x1.localdomain> References: <20190905194859.16219-1-vgoyal@redhat.com> <20190905194859.16219-4-vgoyal@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ee6FjwWxuMujAVRe" Content-Disposition: inline In-Reply-To: <20190905194859.16219-4-vgoyal@redhat.com> User-Agent: Mutt/1.12.1 (2019-06-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Fri, 06 Sep 2019 10:44:31 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ee6FjwWxuMujAVRe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 05, 2019 at 03:48:44PM -0400, Vivek Goyal wrote: > Pass fsvq instead of vq as parameter to virtio_fs_enqueue_req(). We will > retrieve vq from fsvq under spin lock. >=20 > Later in the patch series we will retrieve vq only if fsvq is still conne= cted > other vq might have been cleaned up by device ->remove code and we will > return error. >=20 > Signed-off-by: Vivek Goyal > --- > fs/fuse/virtio_fs.c | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) Reviewed-by: Stefan Hajnoczi --ee6FjwWxuMujAVRe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAl1yOIgACgkQnKSrs4Gr c8g+8Qf9HHMGZxy914gG38i6e+DYwvC5CryjFWlCDopWdJemyDaSNvh8UTIgIHGs swJeFt68ZxTzEW1c/YGufHhbxDlaDhTZEs6lfIvd7I+feMa1Ovwo3fZ4UfqFBiAp SC12MZ7/8B8wMQ1z9IG2JykyYJqoe2jQLKzr1/bQ2rW/wsh7nK+i14SkbiR560z7 bAM610aHlhhm5IPmbDuKwvui2cwyMRnHsSSWatrM3IvuOoR9fd/5DhqPKoGALSNH FLI3zz4UiELQl2ln/hAI46cFN5b3zOucaegRvn7+C4msZkccGjAMUshVh3UPpdjK DLFNt7LWNZp+0euYiznREAKikwyZrA== =O1h4 -----END PGP SIGNATURE----- --ee6FjwWxuMujAVRe--