Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp891113ybe; Fri, 6 Sep 2019 08:49:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHwjVKJLfpkgTtqWB+oxJ1RfqcjGRXO7o1oICGzK6/j9R28Bteh1n0OB/Arjl6Z0kvkmt6 X-Received: by 2002:a65:68c9:: with SMTP id k9mr8345362pgt.17.1567784940423; Fri, 06 Sep 2019 08:49:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567784940; cv=none; d=google.com; s=arc-20160816; b=0yOEiptYnuXiIeF821R+GFLDNn3jswFg8LbO/ulqLx9RTSe7KdhonvC2cfelApdQkV JF/bQOe61j3+tN6ixRhS1JtsVwBao4Elop229xidJrYn9gJnRhh2dIenqvooE7mGeJ2q 3eHhrkgv3Ogcbp3ot69RN0rmi0M4y0HAzsfxoHInyquSYFPNDgWNiNHZpzvn8oo5D2zr 56kx7WT7CQ/O5urb13rhWuNNExxJrQVd9IdVDl2XOmKOyu5HOC0bMbqHQZvmiBEVZBnk S4KcJ7Wth2ijYhQzliwyAUQOWRRTscbsSKRaPQjTIaIaYyinGEZ58kxF1haDIGzFHzEd 7yfg== 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=T7GkTpPStZDh/lJO7p8nysHO8H/UM8bahQdu/OMK08o=; b=x+NhYPvyBOp82RQ+ma/xm8jRKrwXc9JdGk6lDz7r2L8cK0QtWHihIPcyygNmwDQqXc 9d7wWbz0x/eCSi38JRYLZm6Nyf4EulwOE6Nko0rYjRFBXsWK5UYZQs3WvkrgLSf9cQ1k 0mQ17epxXb2zjGb4tiWlQYiYJfu8gcgWp+C7r+WFYmicGHkMUPR/ZG1d+Dmvt04LXj7k RXW6z2L3Ry2f7FVAE1+AbvpDp7tniLDWsEJ+SWgHwrL+aECfROar4iIeaIVMMgWNKhx2 S2ovl0mdM8dFM9idUpJZcFqqnmXE8HxzPPlYFK/gh/+TUF+aW4Am1VKaqU80XjtrE+ka Nd9w== 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 66si5005503plc.428.2019.09.06.08.48.44; Fri, 06 Sep 2019 08:49:00 -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 S1727295AbfIFKgT (ORCPT + 99 others); Fri, 6 Sep 2019 06:36:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44402 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726810AbfIFKgT (ORCPT ); Fri, 6 Sep 2019 06:36:19 -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 7AB56308A958; Fri, 6 Sep 2019 10:36:19 +0000 (UTC) Received: from localhost (ovpn-117-208.ams2.redhat.com [10.36.117.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id 22A5460605; Fri, 6 Sep 2019 10:36:13 +0000 (UTC) Date: Fri, 6 Sep 2019 11:36:13 +0100 From: Stefan Hajnoczi To: Miklos Szeredi Cc: Vivek Goyal , linux-fsdevel@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, virtio-fs@redhat.com, "Dr. David Alan Gilbert" , "Michael S. Tsirkin" Subject: Re: [PATCH 00/18] virtiofs: Fix various races and cleanups round 1 Message-ID: <20190906103613.GH5900@stefanha-x1.localdomain> References: <20190905194859.16219-1-vgoyal@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="K1n7F7fSdjvFAEnM" Content-Disposition: inline In-Reply-To: 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.41]); Fri, 06 Sep 2019 10:36:19 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --K1n7F7fSdjvFAEnM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 06, 2019 at 10:15:14AM +0200, Miklos Szeredi wrote: > On Thu, Sep 5, 2019 at 9:49 PM Vivek Goyal wrote: > > > > Hi, > > > > Michael Tsirkin pointed out issues w.r.t various locking related TODO > > items and races w.r.t device removal. > > > > In this first round of cleanups, I have taken care of most pressing > > issues. > > > > These patches apply on top of following. > > > > git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git#virtiof= s-v4 > > > > I have tested these patches with mount/umount and device removal using > > qemu monitor. For example. >=20 > Is device removal mandatory? Can't this be made a non-removable > device? Is there a good reason why removing the virtio-fs device > makes sense? Hot plugging and unplugging virtio PCI adapters is common. I'd very much like removal to work from the beginning. Stefan --K1n7F7fSdjvFAEnM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAl1yNpwACgkQnKSrs4Gr c8hY9AgAmU3k7f2gZ5ko9Rvr8+tXDTSrw1Uakzbgk+pEb54Z2M4jFGJgWglMNfqa 4PI0iDsPz1ikbT9wOhko7AGyaeX1/EQqmXWdBGgCjXVBekhLsOR4dOl/y6Q/1eW1 fEQ5B/Ngl1Z5AbMZ5xwlYA89Iq4yZCVn8IbyhkreLZ8KHzMc6CnQkNEM8goE1HgO oSiD15lf3RiiwQlYbBabMOc3nOlIqebZKyk2oizbPfQLC9/afkmPcPv+sZfTMMwW LXa6ZV7ZHxi6sgQSPaN/yh9Ve+2NvMcyPPYyAZFduruK5C/Rkx+Er/uzXgPDQ4j3 57uYA27caA6arIq+CUvclGvmk2+ajA== =Llfc -----END PGP SIGNATURE----- --K1n7F7fSdjvFAEnM--