Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp177020rwi; Thu, 13 Oct 2022 23:47:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7NJwrN11Qw5brUMNOzYc/VqZsNFmLAaGyBHkT+Tg270fiLAUcREcJrLFOHzL/jg5gTtZjk X-Received: by 2002:a05:6402:d6c:b0:458:ef3d:5926 with SMTP id ec44-20020a0564020d6c00b00458ef3d5926mr3096343edb.54.1665730049799; Thu, 13 Oct 2022 23:47:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665730049; cv=none; d=google.com; s=arc-20160816; b=fjqJFn7aPgzZTB/mjca8SdibsE6Nopuhap7g1gUu5LG4nul5msy62ZFxr8lVOLRWWi +369Irv5ezrS3val9e5KW8b2UFNEUzJ1b6Bawup9Eluw+jjIM9Y5KLJiYVHF+PpOyPTI 1BPRxNO4NLKObn5rjp7MVzpN4F7BUxmBAuNdOQMddtv3eAtxA0eiyMVv4vH6bBihZFvQ tsSqSwRTsFPhQsNsbQzjzyVvQVlKwMKKFoOUtgfiUadVx1Wbr8XRty1qFZ8/ioIbq4WT 3XBsJ27y75S2updwPQhCtd1jG4Lce3bSRMgXzT4+XqZd976IdZJanlYqxUGtIVnrGygz bShw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=7wAgitp3fXnFG9rapix5dmhlUr5XM+m7ZB7Tq60g79w=; b=JRVUAbacWeScQ7Q5l4xSn1ljwM/r+8KZLOl2q3HLMveOkr4xqcac4mQcS07QyI9ccz ZWu4UsCZxAGsvqTRuvhJjhrXHwqmtRLudyxE+ajDlh2UhvRP1HwupaSaQq7B9YMfzIB2 ECKEFngyQDlJr0wQu6DcxbuYovGXmE4wpgyy93Umi5tbUBEoAp44OLQbKt6XEKP+hnQ5 GP5KR68qSYNcS8hSIh4o8Vbr6WKbeGe8lZXqpu/MUjJkl11L4CCUkdyX19ZyEptMBRai s3HzB3km5K/Mt95AxuBVtULYay1rbSlMSS5MQw3u/1FCFiXl7nJfDXGs2EWK5h4zSpsr CGGg== 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 i21-20020a170906251500b0073305fd2278si1228133ejb.864.2022.10.13.23.47.01; Thu, 13 Oct 2022 23:47:29 -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 S229550AbiJNGdC (ORCPT + 99 others); Fri, 14 Oct 2022 02:33:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229544AbiJNGc7 (ORCPT ); Fri, 14 Oct 2022 02:32:59 -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 D442A16C202; Thu, 13 Oct 2022 23:32:58 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R411e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046051;MF=jefflexu@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0VS6WusI_1665729174; Received: from 30.221.130.30(mailfrom:jefflexu@linux.alibaba.com fp:SMTPD_---0VS6WusI_1665729174) by smtp.aliyun-inc.com; Fri, 14 Oct 2022 14:32:56 +0800 Message-ID: <896bed92-5fbf-fb10-6cbf-d8516399045f@linux.alibaba.com> Date: Fri, 14 Oct 2022 14:32:54 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH V2 4/5] cachefiles: narrow the scope of triggering EPOLLIN events in ondemand mode Content-Language: en-US To: Jia Zhu , dhowells@redhat.com, xiang@kernel.org Cc: linux-cachefs@redhat.com, linux-erofs@lists.ozlabs.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, yinxin.x@bytedance.com References: <20221014030745.25748-1-zhujia.zj@bytedance.com> <20221014030745.25748-5-zhujia.zj@bytedance.com> From: JeffleXu In-Reply-To: <20221014030745.25748-5-zhujia.zj@bytedance.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,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 10/14/22 11:07 AM, Jia Zhu wrote: > Don't trigger EPOLLIN when there are only reopening read requests in > xarray. > > Suggested-by: Xin Yin > Signed-off-by: Jia Zhu LGTM. Reviewed-by: Jingbo Xu -- Thanks, Jingbo