From patchwork Tue Apr 16 17:28:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matthew Wilcox (Oracle)" X-Patchwork-Id: 1924312 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=Ec3HBoeR; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=ozlabs.org (client-ip=150.107.74.76; helo=gandalf.ozlabs.org; envelope-from=srs0=s615=lv=vger.kernel.org=linux-ext4+bounces-2112-patchwork-incoming=ozlabs.org@ozlabs.org; receiver=patchwork.ozlabs.org) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VJrdK2mywz1yZ2 for ; Wed, 17 Apr 2024 03:29:41 +1000 (AEST) Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4VJrdH5lH0z4wyk for ; Wed, 17 Apr 2024 03:29:39 +1000 (AEST) Received: by gandalf.ozlabs.org (Postfix) id 4VJrdH5gxMz4x1k; Wed, 17 Apr 2024 03:29:39 +1000 (AEST) Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: gandalf.ozlabs.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: gandalf.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=casper.20170209 header.b=Ec3HBoeR; dkim-atps=neutral Authentication-Results: gandalf.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=147.75.199.223; helo=ny.mirrors.kernel.org; envelope-from=linux-ext4+bounces-2112-patchwork-incoming=ozlabs.org@vger.kernel.org; receiver=ozlabs.org) Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org [147.75.199.223]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by gandalf.ozlabs.org (Postfix) with ESMTPS id 4VJrdH2RpLz4wyk for ; Wed, 17 Apr 2024 03:29:39 +1000 (AEST) 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 904131C214C3 for ; Tue, 16 Apr 2024 17:29:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5612B133400; 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 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(-)