Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1449895pxb; Thu, 14 Apr 2022 06:33:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/ss2fNH2PwGUMkgHV1N4iCiFryFnkOh+o9bRiQItgDB/gw7RiAC4N6dBLwjtwG9C3RUlS X-Received: by 2002:a63:185f:0:b0:386:1838:8d0 with SMTP id 31-20020a63185f000000b00386183808d0mr2302299pgy.161.1649943193706; Thu, 14 Apr 2022 06:33:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649943193; cv=none; d=google.com; s=arc-20160816; b=pjoIVFs9b1MLsaVoB8E/TXyy/F9rhR8kerz2E0PQ5Z/oTkSD1h7TW4QdK5+y+cazFl 4RAncfYZuJaZTNBElV2PVzI2TUx2i3ldw3EGuNFR4hiCpXSoZE6KtWyifDRPUGa2zUBX IR6t37Ov3H6ww99MBgvzSYgeBSN/TmEZ11EbytfJGsN4CgHHdNVwf6uTEcgTWuW+7S1Y 5IYSdf3j8ALSWvUU+iBWGTGuGb/lcAo42zZE99ouKFTUDEIwCWfKLaMGsQwVS688QLfz 2VKWPeawy0HnN0pTJj6pmZhARxJ7BOMYBxCmJ/7+ZdvQovTKaFzckcB2LEFdHNPYHz/S qxtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=80GuG9Z2OB5edjjpunkIyc1yhfEaarhhzGyq+14i704=; b=L+mTjKcHML4gMdHSqMAFlNFO1JCxhFLtEee9Qw9EJTlGx4A+Fz0hd8S5VbprPzG8FV auK+RHfshDF3ITFbG+5eXSWuc9i3AnTQmz+qJ+UjXV6PSDZ7VWBMw433PdODPVzjZX7I YMfLL+ikjhxwXvBdMqi8GuzFNiiu92QisY88Id2Jo5WoGDS8HL7diYF9MkwxJdec5UVA /uqTDzIFgdJNdXzVrnvul/WGpa3mz3xGCis6s5KyNabo6LppZs++Cqgf7OgsliEXm7zi OnNRJV8ibD8OGBDc6O2cAQYHAyBuNsjmwMf4H8TpRzfNXMtzIw1grvIpMX7+Yh5pd53O /u5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=M5KQ7mfZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b11-20020a63d30b000000b003816043f05dsi7911234pgg.594.2022.04.14.06.32.58; Thu, 14 Apr 2022 06:33:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bytedance-com.20210112.gappssmtp.com header.s=20210112 header.b=M5KQ7mfZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240727AbiDNIMw (ORCPT + 99 others); Thu, 14 Apr 2022 04:12:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240997AbiDNIMq (ORCPT ); Thu, 14 Apr 2022 04:12:46 -0400 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48E9E26AF7 for ; Thu, 14 Apr 2022 01:10:22 -0700 (PDT) Received: by mail-io1-xd31.google.com with SMTP id h63so4558716iof.12 for ; Thu, 14 Apr 2022 01:10:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=80GuG9Z2OB5edjjpunkIyc1yhfEaarhhzGyq+14i704=; b=M5KQ7mfZv6mFYhtnrBqG00dB7LnKFIRZKqw/pvrepjt7LV24VvlIxp5D7/Zz+9yyXR pcPjKG43Q7cC/d27eRU9Uby1RPUAJagk37XLqjEYf0jrR3uZ0NTRg/BqxNix5DT830yN blUsYDqUPI6g4xemqC5mcga57q1wFsimEU2d4ClWinFeFdloxNm4+KyNvyrmWGeB7TnC xOngQ5jnzDeIF3XJ7SWRDm7xX90JSeRdnTrSeQO2u/JsNzoe4X1kiUvv2BWKzItBFiOn VNF2kjjlqE1CGO8JP7USrdhkvHGrgL56OIwU5At1X5HRheWcOfAqA91iYGuCnSiVo0A1 mlsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=80GuG9Z2OB5edjjpunkIyc1yhfEaarhhzGyq+14i704=; b=zpkxnsQt0zewvphadpXotyciSrRWBEd3carSBvuqT0YsCTLZCalS1xvGuxnsJB1m1F Dou6A+KJKckswPZx0orAQCuay3R9AHq3zEXlv8t/EHYJPPJekTIs2yeRvIfjDrjFYBEF uagWnRwVnzbv4+LhwBkXsumwXLg9lzFWyEXyMoKAMkJMlrOKynLEf4nlx5n4stGkD5e/ TnsA18c6siFS/vwda7TNZH39TnWj0b3t4BKdWJcttkc1+MV1a8d86MTXYIaSM0WZgW4W zLII0aY+No1104WiZhCrwMjp03PlwXA2hEUUUcNRN9xhyr6xR9ifwB9K1+Ej3QR3QSFj lLGA== X-Gm-Message-State: AOAM530fDRoccZ90GwITE6o6cRtp4369BvBSdCL5Ytb9/+rt0B/KMzmU KUigwuvmZ9FWGLBYrg+7zLYfvfJK+St7FEHrIsAlyw== X-Received: by 2002:a05:6638:3e8f:b0:326:72cb:2b49 with SMTP id ch15-20020a0566383e8f00b0032672cb2b49mr715190jab.247.1649923821659; Thu, 14 Apr 2022 01:10:21 -0700 (PDT) MIME-Version: 1.0 References: <20220406075612.60298-1-jefflexu@linux.alibaba.com> In-Reply-To: From: Jiachen Zhang Date: Thu, 14 Apr 2022 16:10:10 +0800 Message-ID: Subject: Re: Re: [PATCH v8 00/20] fscache,erofs: fscache-based on-demand read semantics To: Jeffle Xu , dhowells@redhat.com, linux-cachefs@redhat.com, xiang@kernel.org, chao@kernel.org, linux-erofs@lists.ozlabs.org, torvalds@linux-foundation.org, gregkh@linuxfoundation.org, willy@infradead.org, linux-fsdevel@vger.kernel.org, joseph.qi@linux.alibaba.com, bo.liu@linux.alibaba.com, tao.peng@linux.alibaba.com, gerry@linux.alibaba.com, eguan@linux.alibaba.com, linux-kernel@vger.kernel.org, luodaowen.backend@bytedance.com, tianzichen@kuaishou.com, fannaihao@baidu.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 10, 2022 at 8:52 PM Gao Xiang wrote: > > On Wed, Apr 06, 2022 at 03:55:52PM +0800, Jeffle Xu wrote: > > changes since v7: > > - rebased to 5.18-rc1 > > - include "cachefiles: unmark inode in use in error path" patch into > > this patchset to avoid warning from test robot (patch 1) > > - cachefiles: rename [cookie|volume]_key_len field of struct > > cachefiles_open to [cookie|volume]_key_size to avoid potential > > misunderstanding. Also add more documentation to > > include/uapi/linux/cachefiles.h. (patch 3) > > - cachefiles: valid check for error code returned from user daemon > > (patch 3) > > - cachefiles: change WARN_ON_ONCE() to pr_info_once() when user daemon > > closes anon_fd prematurely (patch 4/5) > > - ready for complete review > > > > > > Kernel Patchset > > --------------- > > Git tree: > > > > https://github.com/lostjeffle/linux.git jingbo/dev-erofs-fscache-v8 > > > > Gitweb: > > > > https://github.com/lostjeffle/linux/commits/jingbo/dev-erofs-fscache-v8 > > > > > > User Daemon for Quick Test > > -------------------------- > > Git tree: > > > > https://github.com/lostjeffle/demand-read-cachefilesd.git main > > > > Gitweb: > > > > https://github.com/lostjeffle/demand-read-cachefilesd > > > > Btw, we've also finished a preliminary end-to-end on-demand download > daemon in order to test the fscache on-demand kernel code as a real > end-to-end workload for container use cases: > > User guide: https://github.com/dragonflyoss/image-service/blob/fscache/docs/nydus-fscache.md > Video: https://youtu.be/F4IF2_DENXo > > Thanks, > Gao Xiang Hi Xiang, I think this feature is interesting and promising. So I have performed some tests according to the user guide. Hope it can be an upstream feature. Thanks, Jiachen