From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B597C433ED for ; Mon, 10 May 2021 15:58:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6E6BB6161E for ; Mon, 10 May 2021 15:58:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230480AbhEJQAB convert rfc822-to-8bit (ORCPT ); Mon, 10 May 2021 12:00:01 -0400 Received: from us-smtp-delivery-44.mimecast.com ([205.139.111.44]:32070 "EHLO us-smtp-delivery-44.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230399AbhEJP76 (ORCPT ); Mon, 10 May 2021 11:59:58 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-222-xF9t8Ye-MUm4kxt_D1nlfA-1; Mon, 10 May 2021 11:58:49 -0400 X-MC-Unique: xF9t8Ye-MUm4kxt_D1nlfA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F33D5107ACE8; Mon, 10 May 2021 15:58:48 +0000 (UTC) Received: from bahia.lan (ovpn-112-152.ams2.redhat.com [10.36.112.152]) by smtp.corp.redhat.com (Postfix) with ESMTP id F244360BD8; Mon, 10 May 2021 15:58:36 +0000 (UTC) Date: Mon, 10 May 2021 17:58:35 +0200 From: Greg Kurz To: Cc: Vivek Goyal , , "Michael S. Tsirkin" , , "Dr. David Alan Gilbert" , Cornelia Huck , Paolo Bonzini , Stefan Hajnoczi , Miklos Szeredi Subject: Re: [for-6.1 v3 0/3] virtiofsd: Add support for FUSE_SYNCFS request Message-ID: <20210510175835.3ee2d4cf@bahia.lan> In-Reply-To: <20210510155539.998747-1-groug@kaod.org> References: <20210510155539.998747-1-groug@kaod.org> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: kaod.org Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Of course, I forgot to drop the for-6.1 prefix in git publish... On Mon, 10 May 2021 17:55:36 +0200 Greg Kurz wrote: > FUSE_SYNCFS allows the client to flush the host page cache. > This isn't available in upstream linux yet, but the following > tree can be used to test: > > https://gitlab.com/gkurz/linux/-/tree/virtio-fs-sync > > v3: - track submounts and do per-submount syncfs() (Vivek) > - based on new version of FUSE_SYNCFS (still not upstream) > https://listman.redhat.com/archives/virtio-fs/2021-May/msg00025.html > > v2: - based on new version of FUSE_SYNCFS > https://listman.redhat.com/archives/virtio-fs/2021-April/msg00166.html > - propagate syncfs() errors to client (Vivek) > > Greg Kurz (3): > Update linux headers to 5.13-rc1 + FUSE_SYNCFS > virtiofsd: Track mounts > virtiofsd: Add support for FUSE_SYNCFS request > > .../infiniband/hw/vmw_pvrdma/pvrdma_verbs.h | 35 - > include/standard-headers/drm/drm_fourcc.h | 23 +- > include/standard-headers/linux/ethtool.h | 109 ++- > include/standard-headers/linux/fuse.h | 27 +- > include/standard-headers/linux/input.h | 2 +- > include/standard-headers/linux/virtio_ids.h | 2 + > .../standard-headers/rdma/vmw_pvrdma-abi.h | 7 + > linux-headers/asm-generic/unistd.h | 13 +- > linux-headers/asm-mips/unistd_n32.h | 752 +++++++-------- > linux-headers/asm-mips/unistd_n64.h | 704 +++++++------- > linux-headers/asm-mips/unistd_o32.h | 844 ++++++++--------- > linux-headers/asm-powerpc/kvm.h | 2 + > linux-headers/asm-powerpc/unistd_32.h | 857 +++++++++--------- > linux-headers/asm-powerpc/unistd_64.h | 801 ++++++++-------- > linux-headers/asm-s390/unistd_32.h | 5 + > linux-headers/asm-s390/unistd_64.h | 5 + > linux-headers/asm-x86/kvm.h | 1 + > linux-headers/asm-x86/unistd_32.h | 5 + > linux-headers/asm-x86/unistd_64.h | 5 + > linux-headers/asm-x86/unistd_x32.h | 5 + > linux-headers/linux/kvm.h | 134 +++ > linux-headers/linux/userfaultfd.h | 36 +- > linux-headers/linux/vfio.h | 35 + > tools/virtiofsd/fuse_lowlevel.c | 11 + > tools/virtiofsd/fuse_lowlevel.h | 12 + > tools/virtiofsd/passthrough_ll.c | 80 +- > tools/virtiofsd/passthrough_seccomp.c | 1 + > 27 files changed, 2465 insertions(+), 2048 deletions(-) > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50B48C433B4 for ; Mon, 10 May 2021 16:03:12 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D0F076121E for ; Mon, 10 May 2021 16:03:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D0F076121E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kaod.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:57860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lg8N7-0004Kf-6R for qemu-devel@archiver.kernel.org; Mon, 10 May 2021 12:03:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lg8J3-0008EE-Gs for qemu-devel@nongnu.org; Mon, 10 May 2021 11:58:53 -0400 Received: from us-smtp-delivery-44.mimecast.com ([205.139.111.44]:60690) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lg8J2-00013C-2U for qemu-devel@nongnu.org; Mon, 10 May 2021 11:58:53 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-222-xF9t8Ye-MUm4kxt_D1nlfA-1; Mon, 10 May 2021 11:58:49 -0400 X-MC-Unique: xF9t8Ye-MUm4kxt_D1nlfA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id F33D5107ACE8; Mon, 10 May 2021 15:58:48 +0000 (UTC) Received: from bahia.lan (ovpn-112-152.ams2.redhat.com [10.36.112.152]) by smtp.corp.redhat.com (Postfix) with ESMTP id F244360BD8; Mon, 10 May 2021 15:58:36 +0000 (UTC) Date: Mon, 10 May 2021 17:58:35 +0200 From: Greg Kurz To: Subject: Re: [for-6.1 v3 0/3] virtiofsd: Add support for FUSE_SYNCFS request Message-ID: <20210510175835.3ee2d4cf@bahia.lan> In-Reply-To: <20210510155539.998747-1-groug@kaod.org> References: <20210510155539.998747-1-groug@kaod.org> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: kaod.org Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Received-SPF: softfail client-ip=205.139.111.44; envelope-from=groug@kaod.org; helo=us-smtp-delivery-44.mimecast.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kvm@vger.kernel.org, "Michael S. Tsirkin" , Cornelia Huck , "Dr. David Alan Gilbert" , virtio-fs@redhat.com, Miklos Szeredi , Stefan Hajnoczi , Paolo Bonzini , Vivek Goyal Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Of course, I forgot to drop the for-6.1 prefix in git publish... On Mon, 10 May 2021 17:55:36 +0200 Greg Kurz wrote: > FUSE_SYNCFS allows the client to flush the host page cache. > This isn't available in upstream linux yet, but the following > tree can be used to test: >=20 > https://gitlab.com/gkurz/linux/-/tree/virtio-fs-sync >=20 > v3: - track submounts and do per-submount syncfs() (Vivek) > - based on new version of FUSE_SYNCFS (still not upstream) > https://listman.redhat.com/archives/virtio-fs/2021-May/msg00025.htm= l >=20 > v2: - based on new version of FUSE_SYNCFS > https://listman.redhat.com/archives/virtio-fs/2021-April/msg00166.h= tml > - propagate syncfs() errors to client (Vivek) >=20 > Greg Kurz (3): > Update linux headers to 5.13-rc1 + FUSE_SYNCFS > virtiofsd: Track mounts > virtiofsd: Add support for FUSE_SYNCFS request >=20 > .../infiniband/hw/vmw_pvrdma/pvrdma_verbs.h | 35 - > include/standard-headers/drm/drm_fourcc.h | 23 +- > include/standard-headers/linux/ethtool.h | 109 ++- > include/standard-headers/linux/fuse.h | 27 +- > include/standard-headers/linux/input.h | 2 +- > include/standard-headers/linux/virtio_ids.h | 2 + > .../standard-headers/rdma/vmw_pvrdma-abi.h | 7 + > linux-headers/asm-generic/unistd.h | 13 +- > linux-headers/asm-mips/unistd_n32.h | 752 +++++++-------- > linux-headers/asm-mips/unistd_n64.h | 704 +++++++------- > linux-headers/asm-mips/unistd_o32.h | 844 ++++++++--------- > linux-headers/asm-powerpc/kvm.h | 2 + > linux-headers/asm-powerpc/unistd_32.h | 857 +++++++++--------- > linux-headers/asm-powerpc/unistd_64.h | 801 ++++++++-------- > linux-headers/asm-s390/unistd_32.h | 5 + > linux-headers/asm-s390/unistd_64.h | 5 + > linux-headers/asm-x86/kvm.h | 1 + > linux-headers/asm-x86/unistd_32.h | 5 + > linux-headers/asm-x86/unistd_64.h | 5 + > linux-headers/asm-x86/unistd_x32.h | 5 + > linux-headers/linux/kvm.h | 134 +++ > linux-headers/linux/userfaultfd.h | 36 +- > linux-headers/linux/vfio.h | 35 + > tools/virtiofsd/fuse_lowlevel.c | 11 + > tools/virtiofsd/fuse_lowlevel.h | 12 + > tools/virtiofsd/passthrough_ll.c | 80 +- > tools/virtiofsd/passthrough_seccomp.c | 1 + > 27 files changed, 2465 insertions(+), 2048 deletions(-) >=20 From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 10 May 2021 17:58:35 +0200 From: Greg Kurz Message-ID: <20210510175835.3ee2d4cf@bahia.lan> In-Reply-To: <20210510155539.998747-1-groug@kaod.org> References: <20210510155539.998747-1-groug@kaod.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Virtio-fs] [for-6.1 v3 0/3] virtiofsd: Add support for FUSE_SYNCFS request List-Id: Development discussions about virtio-fs List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, "Michael S. Tsirkin" , Cornelia Huck , virtio-fs@redhat.com, Szeredi , Miklos, Paolo Bonzini , Vivek Goyal Of course, I forgot to drop the for-6.1 prefix in git publish... On Mon, 10 May 2021 17:55:36 +0200 Greg Kurz wrote: > FUSE_SYNCFS allows the client to flush the host page cache. > This isn't available in upstream linux yet, but the following > tree can be used to test: > > https://gitlab.com/gkurz/linux/-/tree/virtio-fs-sync > > v3: - track submounts and do per-submount syncfs() (Vivek) > - based on new version of FUSE_SYNCFS (still not upstream) > https://listman.redhat.com/archives/virtio-fs/2021-May/msg00025.html > > v2: - based on new version of FUSE_SYNCFS > https://listman.redhat.com/archives/virtio-fs/2021-April/msg00166.html > - propagate syncfs() errors to client (Vivek) > > Greg Kurz (3): > Update linux headers to 5.13-rc1 + FUSE_SYNCFS > virtiofsd: Track mounts > virtiofsd: Add support for FUSE_SYNCFS request > > .../infiniband/hw/vmw_pvrdma/pvrdma_verbs.h | 35 - > include/standard-headers/drm/drm_fourcc.h | 23 +- > include/standard-headers/linux/ethtool.h | 109 ++- > include/standard-headers/linux/fuse.h | 27 +- > include/standard-headers/linux/input.h | 2 +- > include/standard-headers/linux/virtio_ids.h | 2 + > .../standard-headers/rdma/vmw_pvrdma-abi.h | 7 + > linux-headers/asm-generic/unistd.h | 13 +- > linux-headers/asm-mips/unistd_n32.h | 752 +++++++-------- > linux-headers/asm-mips/unistd_n64.h | 704 +++++++------- > linux-headers/asm-mips/unistd_o32.h | 844 ++++++++--------- > linux-headers/asm-powerpc/kvm.h | 2 + > linux-headers/asm-powerpc/unistd_32.h | 857 +++++++++--------- > linux-headers/asm-powerpc/unistd_64.h | 801 ++++++++-------- > linux-headers/asm-s390/unistd_32.h | 5 + > linux-headers/asm-s390/unistd_64.h | 5 + > linux-headers/asm-x86/kvm.h | 1 + > linux-headers/asm-x86/unistd_32.h | 5 + > linux-headers/asm-x86/unistd_64.h | 5 + > linux-headers/asm-x86/unistd_x32.h | 5 + > linux-headers/linux/kvm.h | 134 +++ > linux-headers/linux/userfaultfd.h | 36 +- > linux-headers/linux/vfio.h | 35 + > tools/virtiofsd/fuse_lowlevel.c | 11 + > tools/virtiofsd/fuse_lowlevel.h | 12 + > tools/virtiofsd/passthrough_ll.c | 80 +- > tools/virtiofsd/passthrough_seccomp.c | 1 + > 27 files changed, 2465 insertions(+), 2048 deletions(-) >