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=-6.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 5A579C43464 for ; Fri, 18 Sep 2020 16:04:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1003F2388B for ; Fri, 18 Sep 2020 16:04:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=android.com header.i=@android.com header.b="aGzrEAuL" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726269AbgIRQED (ORCPT ); Fri, 18 Sep 2020 12:04:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726156AbgIRQED (ORCPT ); Fri, 18 Sep 2020 12:04:03 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEDC6C0613CF for ; Fri, 18 Sep 2020 09:04:02 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id s12so6153482wrw.11 for ; Fri, 18 Sep 2020 09:04:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=android.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=KGPBvZR8CUnfQotLYT8j3DfYPkANaBdd6qXnZ8P4HKQ=; b=aGzrEAuL7V1FKlYHZis3rDDcifLSBFnlH9K5I0UKHwwHU0HSoh23qqkJJUDrMi86dS NPxOlW7DrGefJp+b19tUoHjLi98HGUm692Xt9jmI6ib0UU52x9SkroI4jf6nIqYC/TaN bpzPGB9++883/11GaBF3/Nrxd6YVqBlUsiZ6efvyK1As3Wslg0fi6JVlWYVyuE/iUvVH t6C4x1Ql2chE5Xhkyt0byFEbbqcIpQENExxaP+WBKkT3YIQ/ufHRAgeLxmSR7n3GY8SB DVbQEDBi0CHjghPw8TJvvhFGk/r+Hw+UvldgEqeYpRIYIGCE/vm/9qi7WfSGh1e+eO5U eGGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=KGPBvZR8CUnfQotLYT8j3DfYPkANaBdd6qXnZ8P4HKQ=; b=D0WibTCiVnRQTD2hdz35z6Ga+Gqqv8Bxp+tgTXqNJ3Weuq0+ShZJWgp/xBxSkkf1L1 54VQp4mmNpdaeDCVi4v8lRFbk4mL5d/QjeSAgze0dB0ocqypwlrEC6lP/eN4LhsPEZoM dJ7SR7qp/I4ITJffX9OaTGrAJz1WJdSwmVDpT4i30IDTYuoLS5HwUYemoj67FQQECUJP xxrFf26UcCEriCbrLcuzuyhywtm8NTUqFB5g4uPt1JR6eB1W6RtD3AQSMsglpg9HW813 3+r2SEbg3tAyan3OJuBhrT9jrSPWwp11FqFpvRl7hj7/Zug3OL+lTvU0QMe82aoGDWyf Q7bg== X-Gm-Message-State: AOAM531xLt9F1hGiamS4yrRZqKAF3PWxmSVyeXfjh/b8bB7Z78D2f+MK 50Hiw9W9ix1eSlW+Hpdo0gRjDA== X-Google-Smtp-Source: ABdhPJyQUVhlzQB3ghRgJgATrVBOGBsM5WSkAvPv3FYn9QKx+lWk1LpOWS0Ikg7MnSNLmvsRXfz9zA== X-Received: by 2002:adf:ff90:: with SMTP id j16mr41615441wrr.105.1600445041377; Fri, 18 Sep 2020 09:04:01 -0700 (PDT) Received: from google.com ([2a00:79e0:d:210:7220:84ff:fe09:7d5c]) by smtp.gmail.com with ESMTPSA id e13sm6633434wre.60.2020.09.18.09.04.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Sep 2020 09:04:00 -0700 (PDT) Date: Fri, 18 Sep 2020 17:03:58 +0100 From: Alessio Balsini To: Antonio SJ Musumeci Cc: Alessio Balsini , Miklos Szeredi , Akilesh Kailash , Amir Goldstein , David Anderson , Eric Yan , Jann Horn , Jens Axboe , Martijn Coenen , Palmer Dabbelt , Paul Lawrence , Stefano Duo , Zimuzo Ezeozue , fuse-devel@lists.sourceforge.net, kernel-team@android.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [fuse-devel] [PATCH V8 0/3] fuse: Add support for passthrough read/write Message-ID: <20200918160358.GA3385065@google.com> References: <20200911163403.79505-1-balsini@android.com> <21e1b3be-6cc1-c73a-4e3e-963e2dd64f1f@spawn.link> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21e1b3be-6cc1-c73a-4e3e-963e2dd64f1f@spawn.link> Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Hi Antonio, It's indeed a great idea to notify the FUSE daemon in case of lower file system exceptions, otherwise transparent when passthrough is enabled. I was already planning to work on this feature as a future extension, glad to see that this is of interest to the community. Thanks for your feedback, Alessio On Fri, Sep 11, 2020 at 02:46:04PM -0400, Antonio SJ Musumeci wrote: > On 9/11/2020 12:34 PM, Alessio Balsini via fuse-devel wrote: > > Add support for file system passthrough read/write of files when enabled in > > userspace through the option FUSE_PASSTHROUGH. > Might be more effort than it is worth but any thoughts on userland error > handling for passthrough? My use case, optionally, responds to read or write > errors in particular ways. It's not an unreasonable tradeoff to disable > passthrough if the user wants those features but was wondering if there was > any consideration of extending the protocol to pass read/write errors back > to the fuse server.