Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp6137327iob; Tue, 10 May 2022 11:09:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxG6Y718mz06nm5W1K3j504GY2usOURELvIMs77QxeeUhK/qINwYYQcnFhDdqyPToOR0Bwp X-Received: by 2002:a17:902:bd4b:b0:15e:ea25:94f0 with SMTP id b11-20020a170902bd4b00b0015eea2594f0mr21157897plx.105.1652206185263; Tue, 10 May 2022 11:09:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652206185; cv=none; d=google.com; s=arc-20160816; b=OAGU6SvQiAAbhE2Tl/bKY/e87v3dOtG77C84y8Sk4knqeYc4vMpmTfsFuQqMLbWJS3 ke3iXB5ljlROddFBZCMmzDZz7wammWOWBd9RBfHggy9Uz/GNu0We+W6vMpnCE8izT5sz +3Oujv+6GPxlNS0Rg1M45b+LtyQyHUt7mBiTJJ0XduvG3YFuBZttJ71/U/t24Ne2SiP/ dMZpLr/GHCP/GXZrk+yN1TYfpsZ00icx+Amc9+PBWb9z8nQsC1vIhAtBZhkYRjDqO+c+ ES3BfZcXKm+/oXfC/N58qbowshUhJVQIO+CBo/vsMx+7g946whCVspT3Ubqrr7WYf6ow s9BA== 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=cjF33oiuRnKfrcNlHHqz6P4VcxPo3FxF/2fUaYeazIQ=; b=fOLEHW+y4O//TAzgTMAzXR1TQYJAHn3V1vfK12ou0m0oj1KrGCBvH3YiYtzuujHtmG 3M6jevXZgXQ8jewIK3aA9EAaU94y/N/6F++w99omjy9wY7otAg1LoHQSUZHrIrsR9RiO bqR9XhVc9yk33xeP5lBhNmDQ/3/qiaCToiZNswXyslt/yt8UrmQ4hdWWpOIZ1+Gh/7od kCkHl7czZdQ7wsbPI1m5Qnjx6UG0maotsK4rAnlIlKHecFXONTkqw8O9+GSs2cDvZKwA BoC27Tp9WKt5U/j0jPAeTSxiGOH/5oamOvFJbKu+zzjRjmrcF2T7JsQ9gpgOVryeK0u9 RbGA== 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 mw1-20020a17090b4d0100b001d286e03218si3758328pjb.109.2022.05.10.11.09.27; Tue, 10 May 2022 11:09:45 -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 S245298AbiEJOGV (ORCPT + 99 others); Tue, 10 May 2022 10:06:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244578AbiEJNmB (ORCPT ); Tue, 10 May 2022 09:42:01 -0400 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49FB92CBE72; Tue, 10 May 2022 06:30:17 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R421e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04357;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=21;SR=0;TI=SMTPD_---0VCrRO54_1652189383; Received: from B-P7TQMD6M-0146.local(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VCrRO54_1652189383) by smtp.aliyun-inc.com(127.0.0.1); Tue, 10 May 2022 21:29:46 +0800 Date: Tue, 10 May 2022 21:29:42 +0800 From: Gao Xiang To: David Howells Cc: Jeffle Xu , 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, yinxin.x@bytedance.com, zhangjiachen.jaycee@bytedance.com, zhujia.zj@bytedance.com Subject: Re: [PATCH v11 06/22] cachefiles: enable on-demand read mode Message-ID: Mail-Followup-To: David Howells , Jeffle Xu , 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, yinxin.x@bytedance.com, zhangjiachen.jaycee@bytedance.com, zhujia.zj@bytedance.com References: <20220509074028.74954-7-jefflexu@linux.alibaba.com> <20220509074028.74954-1-jefflexu@linux.alibaba.com> <3509457.1652187396@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <3509457.1652187396@warthog.procyon.org.uk> X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,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 On Tue, May 10, 2022 at 01:56:36PM +0100, David Howells wrote: > Jeffle Xu wrote: > > > Enable on-demand read mode by adding an optional parameter to the "bind" > > command. > > > > On-demand mode will be turned on when this parameter is "ondemand", i.e. > > "bind ondemand". Otherwise cachefiles will work in the original mode. > > > > Signed-off-by: Jeffle Xu > > Acked-by: David Howells Thank you very much, David! Thanks for your so much time and patience! Many thanks! Gao Xiang