From patchwork Thu Jan 26 20:12:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 13117695 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 54488C61DA3 for ; Thu, 26 Jan 2023 20:13:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C9F346B0072; Thu, 26 Jan 2023 15:13:04 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id C27DB6B0073; Thu, 26 Jan 2023 15:13:04 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AEFB28E0001; Thu, 26 Jan 2023 15:13:04 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 9BB5F6B0072 for ; Thu, 26 Jan 2023 15:13:04 -0500 (EST) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id 6DCF6C0F33 for ; Thu, 26 Jan 2023 20:13:04 +0000 (UTC) X-FDA: 80398049088.27.B9B03F8 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf18.hostedemail.com (Postfix) with ESMTP id C5D8C1C0011 for ; Thu, 26 Jan 2023 20:13:02 +0000 (UTC) Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=kBMK9zaW; spf=none (imf18.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1674763982; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=Q95PJ/HsnVy3AYjq8GVq9vgQLW9v8UMWZb9EKREwNC0=; b=2zuUK7W+SH2KwC1SVmCSDk+PS5yEUrsG0poSKFlCAHETSdfRrnNcwjClzLdwvO4VGOA4j9 SzCUkp3oSTZ5UZFCWzPtg2WhW6cV7bAroDojABwhpvGRACES39EMv7EauL1ni1++rtkgP/ rUllZTPkZPX2CNzx/wlV4qAKwDuMUT8= ARC-Authentication-Results: i=1; imf18.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=kBMK9zaW; spf=none (imf18.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1674763982; a=rsa-sha256; cv=none; b=C8HNXmk/y2KMT8wh0ZacSl5vol+dvqH02+NlMIF7GruM2LN6Y6rO2+zufM7viJ8mpOGr22 xvek1JwPtytGRMJpdWT5qgao0rQc3oxfuHS7+tg+CJ6rgbkqGrPXS8oWoGBrrFRHajOc3v 0ybinLN+whGQNK/kf4sW5UjIh44p/p8= 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=Q95PJ/HsnVy3AYjq8GVq9vgQLW9v8UMWZb9EKREwNC0=; b=kBMK9zaWFzObrWzPVnRPhGp347 FT4s4WRO6FhtclsQwj13tuBrepuFCU6FMdtMzGQUkQz8lek6iG7FZVA1LFrKuxVDRuYVzD642+AxI ixrsn8+JGg2JWVXzt+1fgkq2P8NN44fwRiSzyBqHhNaNK3n+QS0ul7wFsbjPxofPD4v1PjB3pE2ZY d571kHAus9M3Jb9LYVxd2m9jdSNKx5PNaBFzGX+jFRPUD3iFkLC24tXNvGXXa9VcNWAUfL27UTC8X 0otsdzAT2oLk9E2ERv3XgI5f43RnDgPmU5kI2rxyOZCKzy0eyLFUOoXtxRgAcRwX5kTYSUiqwWf5o VZNHAkBg==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pL8cD-0073M6-BX; Thu, 26 Jan 2023 20:12:57 +0000 From: "Matthew Wilcox (Oracle)" To: Andrew Morton Cc: "Matthew Wilcox (Oracle)" , Christoph Hellwig , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 0/2] Convert writepage_t to use a folio Date: Thu, 26 Jan 2023 20:12:53 +0000 Message-Id: <20230126201255.1681189-1-willy@infradead.org> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-Stat-Signature: wxbibuyo86pfroggknmmcsf18tnzqkm7 X-Rspam-User: X-Rspamd-Queue-Id: C5D8C1C0011 X-Rspamd-Server: rspam06 X-HE-Tag: 1674763982-841835 X-HE-Meta: U2FsdGVkX1/aYRoFJ7sbbHwwgwG0Bgxlwuok8qWTyVh+TnyOD6AqS7w1XPOBS+h8sNwPxM4oe7T7TeujkR1QaWmxGShSsyqbgk7ReQqOovO9raQ6Ex5xT5kvVVrISpC8U4f+uI2kTA9rOJy9iP00HwShGPtCu8+X5Vur3jM0hwDcqxU6VkdmvsN4Z+xW/OS0bfE5bO2tQ8TYbb9Zwsaq3UmN6IP9SzWST8Go7psYfVIZaV17U7ogoHqhWO3O5oQnDtDmXR4C7M5yk3K0xZrTVMYxvquOEH8xp+69usoQydwfFtcDs0V8es6m6SdVAAMPJdCPsrWUcawPJhurT7jcnFvwtQhatjRZ6AsZ1fujMtCA4CGlOPf85EIkr80tYEFLTLYmbdNXrqG3TsQ/ZuMWG0DZ0XlPby1xO+JG9OslXbm3zc5/F55PP83K5vn80FgZoRUzayVEiiRPm9jPcUtbnOWxtV8pg+nezYZWB+Y05AzwVn66J+oYvyP7oosWV/tEBVj/HxLaTKWMPtfbvSWZj6bkY8QcKz8g3Cp5wLTqY/LRA+gGeNSaBmhKoCujViqXXX8tg1E2nwzg5Sw7Yuub+infbpqEL5vy+hiKDF/6fwDKNaR6EH7JkKBYYzg8/ij0kg4osj+RRu5/rd0LW1lmIE0DPzMBco3KzDh4XcXQvjyumU+CTeiPamdmfpz8oGO/JLBwE+JSep+wqHW1muHt61SUdNSvtmNRjhPu9J/0nFFVdvLwsyUeb8ziwciDITM+VW43R+/hp+oG6jYm0+wsGUlo9SYfw6X+nP53VrOPlhUA9nJk3woadtzURUpWinAgKrS9iyJ/7KOqEQjVBoxK7K6iYa/yZ6v5GzI1M7d0o4UVpS9dP3EU67I4cjMOuuxjShgbPAU/T9p4AaGghZkA/OxzRD7XoDr69dKsmcYRTUTNLvtLKws/mCzeuY+bA3kgV0HIOV7Gwu+1UJFcSKF fEj7V7VB 8iXPfp4KoXxxMZd+w+qRznn06eAD46k4/fl27RfQu+2Lof0Dgobg234N9Jg0r7GnS78EmLIwDaVVf1mOP6fALnKRIbgclowVDGy26B3+aL7l5nA+aqC5Hd0pGZdwRPcBNoFoZt0hPFe0Lxqcti1PaxnM7FH6QG8I9k+gpHMYN4ZWwrCJhOGhN5zpbnA== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Against next-20230125. More folioisation. I split out the mpage work from everything else because it completely dominated the patch, but some implementations I just converted outright. Matthew Wilcox (Oracle) (2): fs: Convert writepage_t callback to pass a folio mpage: Convert __mpage_writepage() to use a folio more fully fs/cifs/file.c | 8 +++---- fs/ext4/inode.c | 4 ++-- fs/ext4/super.c | 6 ++--- fs/fuse/file.c | 18 +++++++-------- fs/iomap/buffered-io.c | 5 ++--- fs/mpage.c | 46 +++++++++++++++++++-------------------- fs/nfs/write.c | 7 +++--- fs/ntfs3/inode.c | 6 ++--- fs/orangefs/inode.c | 23 ++++++++++---------- include/linux/writeback.h | 2 +- mm/page-writeback.c | 6 ++--- 11 files changed, 64 insertions(+), 67 deletions(-)