Received: by 2002:a05:6500:1b45:b0:1f5:f2ab:c469 with SMTP id cz5csp124822lqb; Tue, 16 Apr 2024 10:29:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVjeLT7PEpGgDu1WW0toA/FW8oDTKSqNRtkt61UnLQkOqTDy3XQHKRC6c6UvGs04je9C9mFUVUL9AyQz5BGQluh5NqRJ26QJoqaCL3M8Q== X-Google-Smtp-Source: AGHT+IEo/i/qxYuU0wNJ+80n5yJUUqO/YTDywCI43ljCQMdxrYc6xXkuULKJITVHZPfDJcU9eG3h X-Received: by 2002:a05:620a:cf2:b0:78e:cb97:9ffd with SMTP id c18-20020a05620a0cf200b0078ecb979ffdmr13408533qkj.46.1713288580333; Tue, 16 Apr 2024 10:29:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713288580; cv=pass; d=google.com; s=arc-20160816; b=oSn1hzyc5D5ur8IgWq96sZm929jn23xpNZ3o0BQ4hZniiigrI5W1vkpSrnSvXPubLQ RhQCND+DOfm5XhoeHVQ7JbiZqIbZ0gTbT9+tvAG6NUciWMNun5Sm/aHe1k9vUWQAbM0s bcIjfhq8/TfyJp8Wml/cEdFY3upxwMwXfRwaknYwpWaaqY+qv6/vbge/9E3+329Os0No 4DdGB8eiKmU0uZP20NoANi2kOtXpsiQ7QC5XnTxsAyrLyZHy0sbqzjqkxNgLe7fwxQ4c bhBmtHaALprH97PepG+2GsxFFezq9GQaZXt1uvS0m/h+uwty3dN44qdVaFGm0bGV0LoL buaw== 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:dkim-signature; bh=0OSCt55dEgQI34uVmdcmd0uCwqm2BfTW6RA1K8oXs6M=; fh=vEBELtqxZyFFxk5tX+SkzdBzE8+ACq77mzWn/KAFIJA=; b=KaxsMN3l/G0IJujD/eZiyduRMccWHeDCBkQbC5PjwB6kYURM5hN2Xz4LzX8746TfJR eOJ5s9ULfgd9KkTfaHO71JI7QVaY+StofY/1VgluS4sAOeos//sPzYa9tl0zBNWu0bhE sE7SMjpaw0Ht2XV2Vr4Z2wV+S4T+kcmFNTsT9xjJYTXAtVkVJHKcWtnlMaTkUR7Nh6Qo iPajMqsbmTTUOIph1W09F95zDpKDaZaigkRIaUb+wimVoB4ydCH4w2aszO6TMfwMLJ/y eGAygtNTzsKYn3R7BbIju1dtFznTYVsMvyVYja2kGrBFaWh4GMGbYRfkxF5ZA7wnoDbW T6dQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Ec3HBoeR; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-ext4+bounces-2112-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2112-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f29-20020a05620a20dd00b0078d6d72384fsi12256146qka.644.2024.04.16.10.29.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 10:29:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4+bounces-2112-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=Ec3HBoeR; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-ext4+bounces-2112-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-ext4+bounces-2112-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 9537F1C2164D for ; Tue, 16 Apr 2024 17:29:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8DEE513442D; Tue, 16 Apr 2024 17:29:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Ec3HBoeR" X-Original-To: linux-ext4@vger.kernel.org Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (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 C4B9613442C; Tue, 16 Apr 2024 17:29:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713288557; cv=none; b=kCnDAzwNUuzccSkYHRWO1qF3xNGPqxa2zlbMpLNuQ4DXuKrb5ptEoSI92KgMwK/7f0MTf6S1J11LgiKlSjcl3a0OcEpdOS8shIxSHKxoUz34xTJfPEcziPHaqlUDpCfr9HixWlsz+FaCRysmzTCPqu9AleJaJwnzc8N0kzZOkyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713288557; c=relaxed/simple; bh=k2bGE8uwqko1AnkxR7CUiDTLaasMCrYqTVbD4mqEwpM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=njGmImx7o0J5VlsvKDx+GVyd/tr+EXR3bIgxrtDfdFlnwwUdhTIElKfIPANCRX22xFxn49OW3hfKiST1pp4bnLZsZps+FSw4tupNeA88i+RH6JQp0Q1+PvcffSuvbYmgnpvEOZS4jVav75ifkdNHnf1EgEVeEB97/Q01HlsegWo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=Ec3HBoeR; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=0OSCt55dEgQI34uVmdcmd0uCwqm2BfTW6RA1K8oXs6M=; b=Ec3HBoeRP5MSyxL2qtm9WatSvo duWukmhM2rb27oQ/9grZ3vlFlrUkhPmc3Y5km7Nz17EtW2F/1nfdD00WRUg4vNODST3OdStaT4zfv u3CI0c4d+kckk3iy03KXy/bqpAeTmPg2DIeAs6KvNhgojbon1EctzjNXvRwhEPepwgfKfhhUyUFWX 81THB+WZqaX9vXfFhgiAQe/Cerupe4rWSQck26ltQ/zUXa/VfGy60TuUbl2gk7spsVbfurnxO5sfG EKAwsgBD90OHXafQjgXepzx9wYZ//WNTxrzXN7qZG2QQP0alcPI9HnIBoY2/en15v1RTlu6pAES42 bTVBzQ6g==; Received: from willy by casper.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rwmcE-000000011eP-2rhX; Tue, 16 Apr 2024 17:29:06 +0000 From: "Matthew Wilcox (Oracle)" To: "Theodore Ts'o" Cc: "Matthew Wilcox (Oracle)" , Andreas Dilger , linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [PATCH 0/5] Convert ext4's mballoc to use folios Date: Tue, 16 Apr 2024 18:28:53 +0100 Message-ID: <20240416172900.244637-1-willy@infradead.org> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-ext4@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit These pages are stored in the page cache, so they're really folios. Convert the whole file from pages to folios. Matthew Wilcox (Oracle) (5): ext4: Convert bd_bitmap_page to bd_bitmap_folio ext4: Convert bd_buddy_page to bd_buddy_folio ext4: Convert ext4_mb_init_cache() to take a folio ext4: Convert ac_bitmap_page to ac_bitmap_folio ext4: Convert ac_buddy_page to ac_buddy_folio fs/ext4/mballoc.c | 230 +++++++++++++++++++++++----------------------- fs/ext4/mballoc.h | 8 +- 2 files changed, 121 insertions(+), 117 deletions(-) -- 2.43.0