From patchwork Thu Mar 3 17:13:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kurz X-Patchwork-Id: 12767797 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 1C845C433EF for ; Thu, 3 Mar 2022 17:15:07 +0000 (UTC) Received: from localhost ([::1]:40158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPp2f-0001RR-NB for qemu-devel@archiver.kernel.org; Thu, 03 Mar 2022 12:15:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPp1j-0000c5-Ag for qemu-devel@nongnu.org; Thu, 03 Mar 2022 12:14:07 -0500 Received: from us-smtp-delivery-44.mimecast.com ([205.139.111.44]:36941) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPp1h-0005bF-Kz for qemu-devel@nongnu.org; Thu, 03 Mar 2022 12:14:06 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-120-tL2oDBD7MMGK44P6s8DaTw-1; Thu, 03 Mar 2022 12:14:01 -0500 X-MC-Unique: tL2oDBD7MMGK44P6s8DaTw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 0B6ED51DC; Thu, 3 Mar 2022 17:14:00 +0000 (UTC) Received: from bahia.redhat.com (unknown [10.39.193.171]) by smtp.corp.redhat.com (Postfix) with ESMTP id A073784965; Thu, 3 Mar 2022 17:13:24 +0000 (UTC) From: Greg Kurz To: qemu-devel@nongnu.org Subject: [PATCH 0/2] virtiofsd: Support FUSE_SYNCFS on unannounced submounts Date: Thu, 3 Mar 2022 18:13:21 +0100 Message-Id: <20220303171323.580712-1-groug@kaod.org> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: kaod.org 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: German Maglione , Sebastian Hasler , "Dr. David Alan Gilbert" , Greg Kurz , virtio-fs@redhat.com, Stefan Hajnoczi , Vivek Goyal Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" This is the current patches I have : one to track submounts and the other to call syncfs() on them. Tested on simple cases only. I won't be able to work on this anymore, so I'm posting for the records. Anyone is welcome to pick it up as there won't be a v2 from my side. Cheers, --- Greg Greg Kurz (2): virtiofsd: Track submounts virtiofsd: Support FUSE_SYNCFS on unannounced submounts tools/virtiofsd/passthrough_ll.c | 61 ++++++++++++++++++++++++++++---- 1 file changed, 55 insertions(+), 6 deletions(-)