Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp455914lqp; Thu, 21 Mar 2024 06:31:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUspXugcJnVEo1HjnYmVzYPAul3JyCI0a+SoDW/8s3pnEqvqo+TOSwGB/AVqL1/5/U1R2ZAoLxmmlH3652SikmdSCt2qNX/eAv+YpFxxA== X-Google-Smtp-Source: AGHT+IHDvovihQACE3cBgOsNz8LYBso+jwHrdcZczwdTd6J8nWZqjEnE05lgPzLxIR8tSBJNslhw X-Received: by 2002:a50:9b44:0:b0:56b:d93f:6bac with SMTP id a4-20020a509b44000000b0056bd93f6bacmr221969edj.21.1711027888425; Thu, 21 Mar 2024 06:31:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711027888; cv=pass; d=google.com; s=arc-20160816; b=pVpTD8A+kcZ90rZfZuA7Lv9Ye7oEbJZA/xmUCR6VrgkP/KhDfG6j7WSBeHjxPDf3Kq 6/6WzllOSthpxmjj6r3vEHIa+wW0iElUA4bqXahhLMqGugPy8ePY+3WdXrchqb+6QzNf aXRb8sMqlzhY4GEu8d1tMFXG8AEZnaUGsMhjK8xILmU8fIGUmBCcDEN4NS4UrBeePobX 3wV/6YC0UWL00zDL03lNcLQjXL5psOJZM+WnJJKNZc7SOR71HErXpL3KOdyUrjPWXKo4 /f78n14Wp80JyWipnDwvJTmotCTa+6IcD07boBrmRA1Coa0d0KuzwHcTE7tVWFLZKmoh qMxA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=tuWgHWA9k8vwiRDcbdrJJCykS0bJHRjr2kO01kMSPNc=; fh=pfHWcNpAr3Zm+Jos+r3B3b5wLtwHXTw0T9dRUgJkSTI=; b=fgkl6WT56V9Mc9HbcEoeVCogtn40r1XbvE1GHbFVGTC0t1ql7wlv3i0RBOlL3Qc7id KMc5ZjEUnaBQW4CLn01Sow/Ge/Dnus/kle86C/GkrN6bWsjfQD7BfzPLoVTeYUvcazVP 4M4HBhmmVZr8yr+Gg6tzA8HH7VMWVssORftOPInTL6pEGSB3N4h4NJMGyRqW0SzjJqP5 sBGE89DxCH7EMjrm39wWibDpBEjIY61ASfxpywgXEYoYMfVTBWMmPHSeKCR/p+SN1i/C A/HhD+5W4SctxG7iO0XQsQLtCHi8RckgAOf1nNn59cp05dtLOyq4Ba04vVws7s78tM32 AueA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-110094-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110094-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id b20-20020a0564021f1400b0056bb4f3dbb9si1471009edb.463.2024.03.21.06.31.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 06:31:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110094-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-110094-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110094-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2A5791F21993 for ; Thu, 21 Mar 2024 13:31:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3999384A53; Thu, 21 Mar 2024 13:31:18 +0000 (UTC) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 359A784038; Thu, 21 Mar 2024 13:31:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.188 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711027877; cv=none; b=mua96ZOJL4temxJrRCQt0fHdzlJe/KmoPGCJYqsg4wKaaQXCS03lvHqedq4RN+XHD+MyXUAivJqE0e4EBKbndQ4pWVytdKmu6pZzEvQJhPkSRGQl84ZeFmELgg67bysbfwa5L4MNw+WpiEsO2VlQsGAY58OAOJsj3l5XR3TzOiA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711027877; c=relaxed/simple; bh=OhCMX+u/w5DafdAqpyRLtzB5VUIURs138ZjC93mxC5M=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=RszH4FSc0nlzc+485TpjKUQkwEIm6KpUfvVNNuZvnlbBJrhRjGQY7zaxLH3pSeq07tOCkx0X1QqDWLfp4JZe0lW4uk14uGAmyViw/7aF/sU5wq/FJ2mROb8R463S6jwV+vsK6w2crsIcFlsxOEK/6PXmRBmqiZDunnY6xYI0NiQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.188 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.163.174]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4V0mY50FP4zbdSr; Thu, 21 Mar 2024 21:30:17 +0800 (CST) Received: from dggpemm100001.china.huawei.com (unknown [7.185.36.93]) by mail.maildlp.com (Postfix) with ESMTPS id 3C73D140FEA; Thu, 21 Mar 2024 21:31:06 +0800 (CST) Received: from [10.174.177.243] (10.174.177.243) by dggpemm100001.china.huawei.com (7.185.36.93) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 21 Mar 2024 21:31:05 +0800 Message-ID: Date: Thu, 21 Mar 2024 21:31:05 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] fs: aio: more folio conversion Content-Language: en-US To: Matthew Wilcox CC: Alexander Viro , Benjamin LaHaise , Christian Brauner , Jan Kara , , , References: <20240321082733.614329-1-wangkefeng.wang@huawei.com> From: Kefeng Wang In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm100001.china.huawei.com (7.185.36.93) On 2024/3/21 20:26, Matthew Wilcox wrote: > On Thu, Mar 21, 2024 at 04:27:30PM +0800, Kefeng Wang wrote: >> Convert to use folio throughout aio. > > I see no problems here other than the one you mentioned and the minor > optimisation I pointed out. Thanks. I send v2 to fix the folio check and use the helper, thanks for you review.