Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5895200iob; Tue, 10 May 2022 06:14:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyayUajFvJbyURjdtIEp6W2jGNiLXn7fP1EAhFjKQi33BcNNtMGPdIPKqMoph115NaJ8vpW X-Received: by 2002:a6b:490f:0:b0:657:5e68:66b8 with SMTP id u15-20020a6b490f000000b006575e6866b8mr8825038iob.102.1652188487882; Tue, 10 May 2022 06:14:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652188487; cv=none; d=google.com; s=arc-20160816; b=qTBvWTNYOhWJXBP3DXa9sI8cvlO/GxzfxQVV8rsRWTwekxEOQCMay78DjCHTIHT3oa ClQQh/LHFcneMCTBwj1B3cmwKN7nb5kqMEMhhAL3ellMu61XX8FP6iVgcxYw9HUNp1yb Y0IZlndmgAHgj7+ph9TFJca5keYZrMKY2LZlxDXZAyPgOgsPLBPwHuhX39U1Exejyioi zgzERHtsM0h8bg2tx1Zt3TYr69HeowXNRwpHlPY7JiZcdEV5rFU8KZ5P7L4DXOwxcF50 rYkdVJXD2lZBsyvOPIoIfIQxGzl9c501gSDs2Q+TfbipEiSFLdAk/dWcPPnReTepa/cD QeXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-id:mime-version:subject :cc:to:references:in-reply-to:from:organization:dkim-signature; bh=myNvZsKAEvia2/ntJfnOeZQm6OvxNNi7OD+Wx/hlZEc=; b=opdfdh1Z50uNJ9DDUY8/66VetARGfbOcRlDls5xfUeXE3awlxe23/2OkkNQecbiXzZ leDeb7cYhj+Mmy4Jussfd9pZpEralzeO981rRo08XsmupTKjCAZMxh8lIEFriAPGBkR4 2BSP4XvTtjnxKfNmBZl8c89Gl3CpAmG/o5yrQ98EhYolaGDIIriFXjwHmUYUM/tug+bz gdoIS8J13T2RdRcphcuR6xs6me8NWAFgrzZGHG3IBaPN7sSJb9zUIwfzPC/tc2Rj2ySK 18ql5yk+SJhEud5sCurV1qRRi9vKvzi9DHClWT/1+Vg8F5hMPISfA1tzOtwUqhp48oqu gSHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=jHajEXFX; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x4-20020a056602160400b006495808450bsi12116327iow.40.2022.05.10.06.14.34; Tue, 10 May 2022 06:14:47 -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=@redhat.com header.s=mimecast20190719 header.b=jHajEXFX; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237544AbiEJNAo (ORCPT + 99 others); Tue, 10 May 2022 09:00:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238317AbiEJNAm (ORCPT ); Tue, 10 May 2022 09:00:42 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F0DEC254718 for ; Tue, 10 May 2022 05:56:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652187405; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=myNvZsKAEvia2/ntJfnOeZQm6OvxNNi7OD+Wx/hlZEc=; b=jHajEXFXOtWByecrVxZF4QtF5sjjYcco3I9o9gMJFXdZvG7u5XhyZt49H2lBnIiP0w0KyR 7Ybkb5/jxrmKEqKVk6vbIlijosLtY9MQ71vIyax5Eio9/Qnyi6AUtTMWNpE4Jr13Cvadja FHG1uIfwUZNHxH6aEblI5dArVgqi98s= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-266-nY9PlIHRP8ywJLU9WHRcTA-1; Tue, 10 May 2022 08:56:41 -0400 X-MC-Unique: nY9PlIHRP8ywJLU9WHRcTA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1764E1010362; Tue, 10 May 2022 12:56:40 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.33.37.67]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4190A41372B; Tue, 10 May 2022 12:56:37 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20220509074028.74954-7-jefflexu@linux.alibaba.com> References: <20220509074028.74954-7-jefflexu@linux.alibaba.com> <20220509074028.74954-1-jefflexu@linux.alibaba.com> To: Jeffle Xu Cc: 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, yinxin.x@bytedance.com, zhangjiachen.jaycee@bytedance.com, zhujia.zj@bytedance.com Subject: Re: [PATCH v11 06/22] cachefiles: enable on-demand read mode MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3509456.1652187396.1@warthog.procyon.org.uk> Date: Tue, 10 May 2022 13:56:36 +0100 Message-ID: <3509457.1652187396@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 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