From patchwork Thu Nov 28 04:58:15 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: 13887708 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 462BBD65553 for ; Thu, 28 Nov 2024 05:21:06 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1tGWxd-00046m-5j; Thu, 28 Nov 2024 05:21:05 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1tGWxb-00046Y-5D for linux-f2fs-devel@lists.sourceforge.net; Thu, 28 Nov 2024 05:21:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:Message-ID: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bXYZgyRUkeW2u8b7qt0UoQCZTVfllwtBY4MWT7T+Qu4=; b=UEtpqF5ZIBgPbhJsufJtgGvuDz cgn5yafOmVNFtsLak5fePKM1iWcBUQKvhyUayBzpGMId3ntY/tOxHH/FughTuQoG5r5k181E2ku6O hyf+yWEf7FSfsBNVCYH3PjubqrPZENFj/DpGra9vgP54T63rNpybC/E2LH70rfR7+9UI=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:Cc:To:From :Sender:Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=bXYZgyRUkeW2u8b7qt0UoQCZTVfllwtBY4MWT7T+Qu4=; b=I zXqAeKc95SbvI7z2UNr51IKFYelSF+L8LBPiXwnSnRgbyWlgkmP3cHNARgNDdO85Ls7rHbRKMf6Wc nQi3i5CKWMlvcNwFei2ngUPI14RO2XzePqt3M96MWwiyaMHM/89St3WlKkE0SL8nFPS1l5gjJ4Poj 7hIAjlD1msnXFvSE=; Received: from casper.infradead.org ([90.155.50.34]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1tGWxb-0004nb-BT for linux-f2fs-devel@lists.sourceforge.net; Thu, 28 Nov 2024 05:21:03 +0000 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=bXYZgyRUkeW2u8b7qt0UoQCZTVfllwtBY4MWT7T+Qu4=; b=Yj7w3S9JBsnQ1lxLp5io1lzIws 5ZBxS/d3EI0Uk+UQU7jamijfIIwZ+RNoCprqGiNvaQTLKVPRJiRTda9FGnUyhjZFFQN3cnU79nstn yJaDDk6nMGDtp8SwerNuSSqS2AgxGSwmsAWnLtVPGuB7d0z9hw9dLDEPxZdLlHg6VKT8J8luKIf6K 7yjVgfN8bA5wW6QLY2hSkI1g/D0BzWv6xPHJK8zv5QFXOIaZG+FQL1ePlmfzozk0Zf9hvQDtUvzlG HCdYz9HE3EBpjq9WPuLdKbYqdwDDj5lkhsFwi9sgub2BAlQAU9YfLq27usSgJIz9ZG2bntkCbNVgp 7A+JwxBg==; Received: from willy by casper.infradead.org with local (Exim 4.98 #2 (Red Hat Linux)) id 1tGWbp-00000002DFQ-3a13; Thu, 28 Nov 2024 04:58:34 +0000 From: "Matthew Wilcox (Oracle)" To: Jaegeuk Kim , Chao Yu Date: Thu, 28 Nov 2024 04:58:15 +0000 Message-ID: <20241128045828.527559-1-willy@infradead.org> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 X-Headers-End: 1tGWxb-0004nb-BT Subject: [f2fs-dev] [PATCH 00/11] f2fs folio patches X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Matthew Wilcox \(Oracle\)" , linux-f2fs-devel@lists.sourceforge.net Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net This round of f2fs patches accomplishes two things: - Removal of all references to page->index in f2fs. I'm looking to finish this conversion in the January merge window. - Removal of all calls to page_file_mapping() and folio_file_mapping() I have only compile-tested these patches. Matthew Wilcox (Oracle) (11): f2fs: Use a folio in f2fs_all_cluster_page_ready() f2fs: Use a folio in f2fs_compress_write_end() f2fs: Use a folio in f2fs_truncate_partial_cluster() f2fs: Use a folio in f2fs_write_compressed_pages() f2fs: Convert submit tracepoints to take a folio f2fs: Add F2FS_F_SB() f2fs: Convert f2fs_finish_read_bio() to use folios f2fs: Use a folio more in f2fs_submit_page_bio() f2fs: Use a data folio in f2fs_submit_page_bio() f2fs: Convert __read_io_type() to take a folio f2fs: Remove calls to folio_file_mapping() fs/f2fs/compress.c | 28 ++++++++++++-------- fs/f2fs/data.c | 53 +++++++++++++++---------------------- fs/f2fs/f2fs.h | 7 ++++- fs/f2fs/inline.c | 2 +- include/trace/events/f2fs.h | 39 +++++++++++++-------------- 5 files changed, 65 insertions(+), 64 deletions(-)