Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1553737pxb; Thu, 14 Apr 2022 08:34:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxRyqBsS5YeuWkHoYJeFdJRyRErNEp4G6B7OMvMBzutQTLyJsm9Se65EKn0H0enZY0Wj4jk X-Received: by 2002:a17:90b:4d82:b0:1cb:a234:ec99 with SMTP id oj2-20020a17090b4d8200b001cba234ec99mr4345445pjb.36.1649950454028; Thu, 14 Apr 2022 08:34:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649950454; cv=none; d=google.com; s=arc-20160816; b=kFiu+wRqvNcEbMcHy0PAPtV6L4PwAY8PNmU6x/nh7DO01zMPGmsjsUXwIeBmpGVxG1 KEalTvE0rMilYh9C23skWp6t3iuuybdGcn8SBcRYvVENhgt2M3pcz6tGGQXeZ0sDkMx6 0B3FTkZ97UCIKMEyq2DnsW+pwnvhdmmvgkdxbgYFRwa2QQAuOkCgkboWXgXY8fxLZS9J 5/ZR6WlqaHmJwtlUaI365Uohx6CtDN/auLtSae3jwhe3AmR09H3/YaiRQNrsGDg2bRW/ LnNRhnMeXpcOHNClMyAMshup2HnL50ntSgY29IILJK3jiPHAKSJwVZ11Ba4d/A9gzy4w 4n4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date; bh=JKpFpqa9f2Bvqm9HpxSpYKAWqHk/e8AAf9wuJc5wjg0=; b=gTRkmJlAyrfh4G3B/DV22YJdttcfFlhKIy9yDZXZoWpZNR6VcAoQ7JPsAUHWEYRBlu AhKS/Y6eAXhiZ/bzO8Xr5u3dMHOOM58OiZNfDvlE2WLALH1PXGrlG8uMiqp+ajl6OXlB yD0j+vwBXd+VjbdY/KH4FnV5XejmZ4fKVxjHK0LUDXSrSSc4aDk1tSgMbGyXFMrjJwcK 1druEYxzRRyBJs5Mbi1q4JjraV9FVHFj+oz3SOUh27e7vokKgcpLUU34CUDsMYWoHNew +yJRCp0k0Zee6gkN8xddAVF1+8mtiea5cTquwwfucJgT70KKnBBsW2rSR1oPp32rqbzD cWvw== ARC-Authentication-Results: i=1; mx.google.com; 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=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pf17-20020a17090b1d9100b001ce3599c628si1648569pjb.60.2022.04.14.08.34.00; Thu, 14 Apr 2022 08:34:14 -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; 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=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241795AbiDNJcE (ORCPT + 99 others); Thu, 14 Apr 2022 05:32:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241798AbiDNJcB (ORCPT ); Thu, 14 Apr 2022 05:32:01 -0400 Received: from out30-54.freemail.mail.aliyun.com (out30-54.freemail.mail.aliyun.com [115.124.30.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB5456316; Thu, 14 Apr 2022 02:29:31 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01424;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=20;SR=0;TI=SMTPD_---0VA1uGiX_1649928564; Received: from B-P7TQMD6M-0146.local(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VA1uGiX_1649928564) by smtp.aliyun-inc.com(127.0.0.1); Thu, 14 Apr 2022 17:29:27 +0800 Date: Thu, 14 Apr 2022 17:29:24 +0800 From: Gao Xiang To: Jiachen Zhang Cc: 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 Subject: Re: Re: [PATCH v8 00/20] fscache,erofs: fscache-based on-demand read semantics Message-ID: Mail-Followup-To: Jiachen Zhang , 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 References: <20220406075612.60298-1-jefflexu@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 Hi Jiachen, On Thu, Apr 14, 2022 at 04:10:10PM +0800, Jiachen Zhang wrote: > 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. Many thanks for the feedback. We're doing our best to form/stablize it now. Still struggle with some specific cases. Thanks, Gao Xiang > > Thanks, > Jiachen