Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp776786ybe; Fri, 6 Sep 2019 07:11:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGWPG9lLe5+LCplOHxdBzVTSyB4j/drY23oiTW5O/AvUNtmG1imKfexjZTr5BmwZrhOw/s X-Received: by 2002:a17:90a:5d98:: with SMTP id t24mr9900921pji.94.1567779079412; Fri, 06 Sep 2019 07:11:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567779079; cv=none; d=google.com; s=arc-20160816; b=lVYUBF/CFMeQkHMxj3rGlq96gQ1dRicrtUXiyIPuQRmH2zvjQr7zC54vwWZT6PtJYL WraA5LMkdqz2srhKUCUFoUd9yeV+VPUH2KXGWJuNHDNBYd18i9P30GnC/d0R6A71MOmV zAS7DWpr/P5VvY9QifRtfsoQpRcPVssqgsY6tmfQCY/tFPHN0M1nVGUboC6XHSIKpnO/ kTxF70m0oewCi4PGIk2cJoXC9C84+EcL4FMy3cPSAjHR7/dtiKkAeq7pGjZ6sE/QeTgG bRO0llo2ZVBGBXwb0zqlCoDBQzA69JwXQ/m/5oiOU4llAG0RY55ZCSv8FX9pimCWC+lo Nsog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=71+P9Y1aQOgw6Dp9fK4XNoBcCfSmpfYHfETpowIUBEc=; b=db3J+TNGDB9wtimzr0B+t0JFKMwiKeJDa9RwMnSMHOIFwxuoNBkvRmReUZ1SOrlrYv /NTKSVULPNXEH2azqK7tnLH1qC3wTAZsOzAsqdcCXeVsFCTOTC/g9jGguB0e4uuewx7T M5wk/83LPoH8QPCIwmLZNUlim6JP979+bOGmbVeH60OAJtlWo1xIHtFNi96PRJSPUlRb 3nCjDu0L/5Jf8SMvbCw6Dc2Yle6v8OqriLrRZ/bnngadZvQtUOSGTWvZ4ieGTUkJOjps RLSNCxPkliwpT4YpjqoAIY897VKhnhrFDjSac1dS295+mIHT+ZOLSN3lcjM+zyHBGIo5 D6RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=mOY+F7Io; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j2si4882246pjw.1.2019.09.06.07.11.02; Fri, 06 Sep 2019 07:11:19 -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; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=mOY+F7Io; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389416AbfIFIP0 (ORCPT + 99 others); Fri, 6 Sep 2019 04:15:26 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:36774 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726263AbfIFIPZ (ORCPT ); Fri, 6 Sep 2019 04:15:25 -0400 Received: by mail-io1-f66.google.com with SMTP id b136so10899637iof.3 for ; Fri, 06 Sep 2019 01:15:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=71+P9Y1aQOgw6Dp9fK4XNoBcCfSmpfYHfETpowIUBEc=; b=mOY+F7IoXze5/oEY9qnxW4BtDV3c6OGnOM65rcAz4tBQ+pP1oCmZx3kBCsHFdm9ssi tdD9aqu1qDCinK7SZKtFdQ7WsDaXA5OVnxl3jnwgL/Rl00M0BEsmJ/uoAk72kSFu5qei FYQzoLZKR/w9+CtVp9n067d669r/fYv2PpYlk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=71+P9Y1aQOgw6Dp9fK4XNoBcCfSmpfYHfETpowIUBEc=; b=hkvgzoRROKKmBoM6vt81Svo3IbG3V5oBMob/LLIkZiQuw6LDjR/MCX0J0M2janadxr PhOZrSROqzXmQ4ztvbG7dCMLsXrmuJle4+fPJWuc6+XuK4BbmsWZqcLmRiRJZimWAK7v u64+SahKyX/MTHdIVIM45N/SQo7ajfSLu/kxia1tm+wdhBtQR6DCw8tcRhymL/aGdsX3 bN1sOCFyk66dicmd1MwDj5pu63xi3HrCL6u5hSj2cSWHbZl30SXN2cEukJAwSxbwFrz4 gk7OsK9O4igMEx+iXk5kUgJhh3jdfpeTLHs5QmGK/d0Zm2J94WYrjxXAJ9tChNSgPI9P VcRA== X-Gm-Message-State: APjAAAXrr0h7J+HvOzW016wPxzYGHIoSR8Qcl3adTy68yxJinSZc9S/t Oa1tj8lIUqarCL5+Ezo7q1o8a7lVIBmULuHS3Y1osA== X-Received: by 2002:a6b:bec6:: with SMTP id o189mr8631585iof.62.1567757724963; Fri, 06 Sep 2019 01:15:24 -0700 (PDT) MIME-Version: 1.0 References: <20190905194859.16219-1-vgoyal@redhat.com> In-Reply-To: <20190905194859.16219-1-vgoyal@redhat.com> From: Miklos Szeredi Date: Fri, 6 Sep 2019 10:15:14 +0200 Message-ID: Subject: Re: [PATCH 00/18] virtiofs: Fix various races and cleanups round 1 To: Vivek Goyal Cc: linux-fsdevel@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, virtio-fs@redhat.com, Stefan Hajnoczi , "Dr. David Alan Gilbert" , "Michael S. Tsirkin" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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#virtiofs-v4 > > I have tested these patches with mount/umount and device removal using > qemu monitor. For example. 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? Thanks, Miklos