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=-15.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 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 017FCC433ED for ; Tue, 27 Apr 2021 12:50:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CBCC4613C6 for ; Tue, 27 Apr 2021 12:50:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235501AbhD0Mu7 (ORCPT ); Tue, 27 Apr 2021 08:50:59 -0400 Received: from 10.mo51.mail-out.ovh.net ([46.105.77.235]:58372 "EHLO 10.mo51.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235426AbhD0Mu7 (ORCPT ); Tue, 27 Apr 2021 08:50:59 -0400 Received: from mxplan5.mail.ovh.net (unknown [10.108.4.92]) by mo51.mail-out.ovh.net (Postfix) with ESMTPS id 1292A28184F; Tue, 27 Apr 2021 14:50:10 +0200 (CEST) Received: from kaod.org (37.59.142.105) by DAG8EX1.mxp5.local (172.16.2.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4; Tue, 27 Apr 2021 14:50:10 +0200 Authentication-Results: garm.ovh; auth=pass (GARM-105G0069df386b5-2c89-4b96-8ac2-53ab7f6e23ea, B6AA52F3D5CB607530F59D2ADE64727CB37F7539) smtp.auth=groug@kaod.org X-OVh-ClientIp: 78.197.208.248 Date: Tue, 27 Apr 2021 14:50:08 +0200 From: Greg Kurz To: "Dr. David Alan Gilbert" CC: , Cornelia Huck , "Stefan Hajnoczi" , , , Miklos Szeredi , Vivek Goyal , "Michael S. Tsirkin" , Paolo Bonzini Subject: Re: [for-6.1 v2 0/2] virtiofsd: Add support for FUSE_SYNCFS request Message-ID: <20210427145008.5d6914e9@bahia.lan> In-Reply-To: References: <20210426152135.842037-1-groug@kaod.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [37.59.142.105] X-ClientProxiedBy: DAG9EX1.mxp5.local (172.16.2.81) To DAG8EX1.mxp5.local (172.16.2.71) X-Ovh-Tracer-GUID: d41ada90-96be-49ef-ba02-9fba257bfa0c X-Ovh-Tracer-Id: 613052500005591474 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduledrvddvtddgheejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvffukfgjfhfogggtgfhisehtjeertdertddvnecuhfhrohhmpefirhgvghcumfhurhiiuceoghhrohhugheskhgrohgurdhorhhgqeenucggtffrrghtthgvrhhnpefguedvhefhueeivdeiteehgfdtgeeuleegieeiieekffeitdfglefgteelleejtdenucffohhmrghinhepghhithhlrggsrdgtohhmpdhrvgguhhgrthdrtghomhenucfkpheptddrtddrtddrtddpfeejrdehledrudegvddruddtheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdqohhuthdphhgvlhhopehmgihplhgrnhehrdhmrghilhdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepghhrohhugheskhgrohgurdhorhhgpdhrtghpthhtohepphgsohhniihinhhisehrvgguhhgrthdrtghomh Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Tue, 27 Apr 2021 12:28:13 +0100 "Dr. David Alan Gilbert" wrote: > * Greg Kurz (groug@kaod.org) 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: > > That looks OK to me; but we'll need to wait until syncfs lands in the > upstream kernel; we've got bitten before by stuff changing before it > actaully lands in the kernel. > Sure ! I'll repost an updated series when this happens. Thanks for the feedback. -- Greg > Dave > > > https://gitlab.com/gkurz/linux/-/tree/virtio-fs-sync > > > > 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 (2): > > Update linux headers to 5.12-rc8 + FUSE_SYNCFS > > virtiofsd: Add support for FUSE_SYNCFS request > > > > include/standard-headers/drm/drm_fourcc.h | 23 ++++- > > include/standard-headers/linux/ethtool.h | 54 ++++++----- > > include/standard-headers/linux/fuse.h | 13 ++- > > include/standard-headers/linux/input.h | 2 +- > > .../standard-headers/rdma/vmw_pvrdma-abi.h | 7 ++ > > linux-headers/asm-generic/unistd.h | 4 +- > > linux-headers/asm-mips/unistd_n32.h | 1 + > > linux-headers/asm-mips/unistd_n64.h | 1 + > > linux-headers/asm-mips/unistd_o32.h | 1 + > > linux-headers/asm-powerpc/kvm.h | 2 + > > linux-headers/asm-powerpc/unistd_32.h | 1 + > > linux-headers/asm-powerpc/unistd_64.h | 1 + > > linux-headers/asm-s390/unistd_32.h | 1 + > > linux-headers/asm-s390/unistd_64.h | 1 + > > linux-headers/asm-x86/kvm.h | 1 + > > linux-headers/asm-x86/unistd_32.h | 1 + > > linux-headers/asm-x86/unistd_64.h | 1 + > > linux-headers/asm-x86/unistd_x32.h | 1 + > > linux-headers/linux/kvm.h | 89 +++++++++++++++++++ > > linux-headers/linux/vfio.h | 27 ++++++ > > tools/virtiofsd/fuse_lowlevel.c | 19 ++++ > > tools/virtiofsd/fuse_lowlevel.h | 13 +++ > > tools/virtiofsd/passthrough_ll.c | 29 ++++++ > > tools/virtiofsd/passthrough_seccomp.c | 1 + > > 24 files changed, 267 insertions(+), 27 deletions(-) > > > > -- > > 2.26.3 > >