Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1711355ybe; Tue, 3 Sep 2019 02:19:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxfBVW+TrZG4QkIUYuM12TZGCJ1RBqBbJ/bHFhdEJsaE1o7D+Oofc0f4U0GcbKC/+UGB/nK X-Received: by 2002:a63:1d4:: with SMTP id 203mr28999078pgb.441.1567502345813; Tue, 03 Sep 2019 02:19:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567502345; cv=none; d=google.com; s=arc-20160816; b=yTIAvKXmEx8Jtafi55M/5Nb8SA1rsYpC2oU/C3/AnTJdECjvkAgkIpIuICXSGy05rc GtlSNnY3wIt4G03oiS9CWHJgkA1tBo42EZ5GzkNqrBGKZZ8l0RIymT52+uVt4n4occPz 0ZhZhqLCbV7j9IovspClzHA1zLxsQ7uFcNbkSi3g3tqzM80dR6/Mt5imtgfpjbgYVMkG kwG/4D+iipv2gbLJvsEq/M9213n4OITLgoPhRuXkV9MuxKMtWRf7H4nOsYsW627ochzV lDddqzo/uKwNz6upDPv4VY3puSGgct6qIi+OZzWGeUU5nrZBfW5r6rxV8NoJP2xG9nP+ 7I6g== 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=EuENc7crj8rqhon/s/3YCSFArTMbg3aHshy4WFfnKAI=; b=avtkBv+FrnBL+loazej4qKEgufDD27OZG8gJOB5kVqMcG9QOkScokyElQWqqirT6NP ZA3uUsvai29B2+7nFcP0vyAzvim/IRYpUHfQwEoDNiN2Hsbv/IOC9JHaa+tuzc9mDH3f sDGhtcyENxosGL9HpSZJcJIZHgu7vf4YSLK4qEdD9XZPNXPXwLRRoZi5WcLKXgdZ0dzG 9jlix+lv95cqfh7LiPqrpMMiCnDHm64SD0Zka2+1EWHrbGuXq5lm0xmKmBquJ/wo17i/ ZUbv7/fJOSW5/PNch+rV7MaiOSzNqSc72mxidUfXpD+tjHoycVxrmjH0kJg4V09fGbiM JPGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=Od7NQm+x; 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 76si11412741pgh.564.2019.09.03.02.18.50; Tue, 03 Sep 2019 02:19:05 -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=Od7NQm+x; 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 S1728319AbfICJRt (ORCPT + 99 others); Tue, 3 Sep 2019 05:17:49 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:46374 "EHLO mail-io1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726631AbfICJRt (ORCPT ); Tue, 3 Sep 2019 05:17:49 -0400 Received: by mail-io1-f66.google.com with SMTP id x4so34173358iog.13 for ; Tue, 03 Sep 2019 02:17:48 -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=EuENc7crj8rqhon/s/3YCSFArTMbg3aHshy4WFfnKAI=; b=Od7NQm+xjFA01cLuFmHtQg+5TCm8UxKX2tGkiw8Mr4ix+wsAC5OqGe+z4RAxvjqQg/ hOmmsMGgfL9ALOuzShRamJV28nj5bc9nAX+IVwfcCIvdcYByCAo2CXCt3AMWA49czLno sGMa721iOqpXpP31sm3p2t8tpiPNVDM2tg89o= 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=EuENc7crj8rqhon/s/3YCSFArTMbg3aHshy4WFfnKAI=; b=ZKu4bWaSCadU9MpiSQ5+yKl63xAfRSfIYrkxoJHtL/YCrArCvmVVCXetukXVmBMxns 5btcOhoiETI4nO0JV4eVj4/OacBThHoh0Cu/ykZshpiEJqcSHUNFh0a/VaH67+EBu2vu T597QyKBdcZ9OEk51n9i4RaTQzy6n2P9T3Nypq8EiLVUDzuzpMOGgalbx/JHVvOCq/9T HF/JMxp18jYRz+kTUms8zqtlm6fLrnTRYoMF7ulOLSylyQGM2Mfg9hm48WSdRwDtQsbJ 7xieCSSzDjlkx3x482zL+4bb7WVIGyRVRt/T7TScpYYP08CmIv+lIrASiSe0zSPcPhcV WqNw== X-Gm-Message-State: APjAAAWnC2FW6K3khphYsSpNiHG0jZczgf54QhToSa7YiwcXMYbZSNS5 8WDtSf3iGodWj5XRuv1tXBK8h0+7EtnaN+qzbppfSA== X-Received: by 2002:a02:c94b:: with SMTP id u11mr34398002jao.35.1567502266965; Tue, 03 Sep 2019 02:17:46 -0700 (PDT) MIME-Version: 1.0 References: <20190821173742.24574-1-vgoyal@redhat.com> <20190903041507-mutt-send-email-mst@kernel.org> In-Reply-To: <20190903041507-mutt-send-email-mst@kernel.org> From: Miklos Szeredi Date: Tue, 3 Sep 2019 11:17:35 +0200 Message-ID: Subject: Re: [PATCH v3 00/13] virtio-fs: shared file system for virtual machines To: "Michael S. Tsirkin" Cc: Vivek Goyal , Jason Wang , virtualization@lists.linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, virtio-fs@redhat.com, Stefan Hajnoczi , "Dr. David Alan Gilbert" 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 Tue, Sep 3, 2019 at 10:31 AM Michael S. Tsirkin wrote: > Can the patches themselves be posted to the relevant list(s) please? > If possible, please also include "v3" in all patches so they are > easier to find. I'll post a v4. > I poked at > https://lwn.net/ml/linux-kernel/20190821173742.24574-1-vgoyal@redhat.com/ > specifically > https://lwn.net/ml/linux-kernel/20190821173742.24574-12-vgoyal@redhat.com/ > and things like: > + /* TODO lock */ > give me pause. > > Cleanup generally seems broken to me - what pauses the FS > > What about the rest of TODOs in that file? AFAICS, some of those are QOI issues, and some are long term performance items. I see no blockers or things that would pose a security concern. That said, it would be nice to get rid of them at some point. > use of usleep is hacky - can't we do better e.g. with a > completion? Yes. I have a different implementation, but was planning to leave this one in until the dust settles. > Some typos - e.g. "reuests". Fixed. > > > fs/fuse/Kconfig | 11 + > > > fs/fuse/Makefile | 1 + > > > fs/fuse/control.c | 4 +- > > > fs/fuse/cuse.c | 4 +- > > > fs/fuse/dev.c | 89 ++- > > > fs/fuse/dir.c | 26 +- > > > fs/fuse/file.c | 15 +- > > > fs/fuse/fuse_i.h | 120 +++- > > > fs/fuse/inode.c | 203 +++--- > > > fs/fuse/virtio_fs.c | 1061 +++++++++++++++++++++++++++++++ > > > fs/splice.c | 3 +- > > > include/linux/fs.h | 2 + > > > include/uapi/linux/virtio_fs.h | 41 ++ > > > include/uapi/linux/virtio_ids.h | 1 + > > > init/do_mounts.c | 10 + > > > 15 files changed, 1462 insertions(+), 129 deletions(-) > > > create mode 100644 fs/fuse/virtio_fs.c > > > create mode 100644 include/uapi/linux/virtio_fs.h > > Don't the new files need a MAINTAINERS entry? > I think we want virtualization@lists.linux-foundation.org to be > copied. Yep. Stefan, do you want to formally maintain this file? Thanks, Miklos