Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp305254lqp; Thu, 21 Mar 2024 01:27:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV5PI3J77Fpj8YXNqCxl7RzOhyZMWvty1egXeD7ZpzZFGOp1Aeoh4/K5fLHz/zquXle414oroQZcchXJWlYwcF+rXubn5R+Kc2rL+LP1w== X-Google-Smtp-Source: AGHT+IEKn74a2QTnkW/1iJbkCOAatYr6r6ej+fqcji/6SVSnEApdaTyas8+eXwBqtUmtp9g0uthp X-Received: by 2002:a05:6870:f608:b0:21e:8938:9091 with SMTP id ek8-20020a056870f60800b0021e89389091mr8815489oab.27.1711009674580; Thu, 21 Mar 2024 01:27:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711009674; cv=pass; d=google.com; s=arc-20160816; b=QfzeJk9iKAL124qeFmo/V0m6jzCgA1He/aFO88bfito6yAAeb537BqFFrqRITeMWdi qKKNUzRrfZTFgWx2NQaf5+vq7QKjj5jT+TrW8VtI+5mqGSXVgUe5WF6zFeYJfTpr3EQw ATyHyM/IdtAu6TbkEY1/f04abjjXRPNP/kAGlez+NcKmZ7P4DdqRwxD25EXXZdE/sYZZ ojZ8q584GiSc02ndgdVHk97TkTwz8hiGlUWfDDdMKbOdpQZ2rahRPzzvroJ4PKyAtPiJ Lfnu6g8mKUIis+lmDebcGfCZLT+LKG7dNtvsuwTKfDSSq0tszXTyhjyi2zCD5vV5CMmr lZRw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=5UeVggl9EgOYlPkxdAyEt4kjACzBJux07ZZU8/fx5G8=; fh=hTDDgOs6UeYLL9b6GvD5KQqb1t24mhES3qSwJd33RnU=; b=1H2AccASRZLjvwufvRcN0QryKCKhECJT9/1E33PKzk8nOjCF2lGcf5+LQeTtO6IVFN 9WgzfID+Uz7A9KXrWpspMRS7oVA9v8adRhZk2MIyax2gsKbYtZJYBMUlV3QWrmkFhgPV tmaX371Y+j+0WXHK2Ni0zucSE3EewuBOgYCfIFWmT7bXlEjcWV7RGrfMpNMhpTR6S51i VSLm4QwXfirX6de+/4DoMuYHGzILMOt+y0R8gSjrw6OkWWj+DMF9YvFWZEmVf0DGbpLj gCS9TkoecpGmjZrzcs5Kj0A3HaPb2VwCqMHgRq7VSeljjfFouT8HmE6J7Z5BkD0/fWlf rtDw==; 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-109783-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109783-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b2-20020a056a00114200b006e69fe83fcfsi15509466pfm.149.2024.03.21.01.27.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 01:27:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-109783-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; 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-109783-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-109783-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3EE6A2815F0 for ; Thu, 21 Mar 2024 08:27:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF0F569314; Thu, 21 Mar 2024 08:27:44 +0000 (UTC) Received: from szxga06-in.huawei.com (szxga06-in.huawei.com [45.249.212.32]) (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 C0A4C2E41A; Thu, 21 Mar 2024 08:27:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.32 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711009664; cv=none; b=fwLqS3Kf1tDILVBRgW1WoR49GzGIcYFKHaZzsP01YzjgysNJUsrw0sIlLalJRPaBffTxI9ID3oYkiO6hLSuQI2/vh8Qjhq9jJ95uZdbuYqNS+cvjoWSZeW6ssoc75OKryZXWnVCn3ovEb3Ukiid5OmU3XlwM6omevvacgpGLNCQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711009664; c=relaxed/simple; bh=fX8Ji1w5GlegFTVQrthuRLrhBH949INdDZAkTey3mpg=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=OG7kJ8Da16nWprpnKrlUSZ47yWDDulMAdte4agcM0yjrYnqhPIWfipgdiZ9J7N1bcf3m4PODfXHJ/GPdC50HY+gFvDdgfIJZ9aQknL46UWTrZZBh++p7QgmkRlRfTttXvMHoGPr15PCX7CIkpa5MohXKuCM+D+imq66NwjmWhqg= 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.32 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.88.234]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4V0dpz44zfz1vx3b; Thu, 21 Mar 2024 16:26:51 +0800 (CST) Received: from dggpemm100001.china.huawei.com (unknown [7.185.36.93]) by mail.maildlp.com (Postfix) with ESMTPS id 333941400D5; Thu, 21 Mar 2024 16:27:38 +0800 (CST) Received: from localhost.localdomain (10.175.112.125) 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 16:27:37 +0800 From: Kefeng Wang To: Alexander Viro , Benjamin LaHaise , Christian Brauner , Jan Kara , , Matthew Wilcox CC: , , Kefeng Wang Subject: [PATCH 0/3] fs: aio: more folio conversion Date: Thu, 21 Mar 2024 16:27:30 +0800 Message-ID: <20240321082733.614329-1-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.27.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm100001.china.huawei.com (7.185.36.93) Convert to use folio throughout aio. Kefeng Wang (3): fs: aio: use a folio in aio_setup_ring() fs: aio: use a folio in aio_free_ring() fs: aio: convert to ring_folios and internal_folios fs/aio.c | 92 +++++++++++++++++++++++++++++--------------------------- 1 file changed, 48 insertions(+), 44 deletions(-) -- 2.27.0