From patchwork Wed Oct 2 04:01:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Wilcox X-Patchwork-Id: 13819309 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 C1C5CCF3195 for ; Wed, 2 Oct 2024 04:01:33 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D115C44017E; Wed, 2 Oct 2024 00:01:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id C99DE440175; Wed, 2 Oct 2024 00:01:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A9DBC44017E; Wed, 2 Oct 2024 00:01:29 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 76B00440175 for ; Wed, 2 Oct 2024 00:01:29 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id D81C416092C for ; Wed, 2 Oct 2024 04:01:28 +0000 (UTC) X-FDA: 82627312656.10.D2E9057 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) by imf27.hostedemail.com (Postfix) with ESMTP id 5939240011 for ; Wed, 2 Oct 2024 04:01:27 +0000 (UTC) Authentication-Results: imf27.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=u3ne0mRn; dmarc=none; spf=none (imf27.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1727841583; a=rsa-sha256; cv=none; b=b9y/MNN/kj+To75fP5wWvppHCdX/DKrPJ3T+HghmTbu6c4NLChCLKVwczEyUMldDdOSTgI P74/Mv6trcwa65fPUACsoP00FcE9+Y2ccEK15gNrhU3J/+gKNGJnKhGfqOV4GHPvCYSP0z zgTWXaH9wtqCCbIS8ZFO+b0MWwvrm/o= ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=pass header.d=infradead.org header.s=casper.20170209 header.b=u3ne0mRn; dmarc=none; spf=none (imf27.hostedemail.com: domain of willy@infradead.org has no SPF policy when checking 90.155.50.34) smtp.mailfrom=willy@infradead.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1727841583; 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=qTWDk1kkUMgIeurTOmfPiKAXAhCJoEcgc99PRps0kpM=; b=7xeeDInm6IIalCOKsal7+Ph0OGyx+J5YGLqsqdyeuwiSfhJ9lItov7wbBWleXPRv5+9UM9 kxIyg+6Nm6/XIeyxa6jgxaZFwHrNkFoJv7ShoD1K/GRVJEo4QO/5BKy7XvQekq/WHlBOrr BAn55WZZ5IfaApU65avUDzr4udx/mZM= 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=qTWDk1kkUMgIeurTOmfPiKAXAhCJoEcgc99PRps0kpM=; b=u3ne0mRns7ELZRkXZZ0jsFAjuU 9+UEoQPPJlCYC4s1DwoHihZRglidPbi2TdC6hcczvJrklY/XKcU6UHezyYhcmNBkAvQJKMFf23TI5 nds1YNcN3LtfSg5nBh+hdqMY3xxjCDoASaBTzeG41AqejoxwgtNE91pKitGXRP9F4w87aLDHTJ2MF lagBzpCuwBHm56k9X74oZnO0YAQp/mHId9wqXjKlzwEiXNl7fTY6GcdLOrCuwpeo5ehL7N4lfpj4Q WluO+DaW5YXrw/ucf2Z/PFFSUP3ny/YpeTYfHxCy4TEmLHDfLlZGwBQ8bBomzavO6Be33E5CVTipC DoPq0jqQ==; Received: from willy by casper.infradead.org with local (Exim 4.98 #2 (Red Hat Linux)) id 1svqY5-00000004I8R-2GZW; Wed, 02 Oct 2024 04:01:13 +0000 From: "Matthew Wilcox (Oracle)" To: Christian Brauner Cc: "Matthew Wilcox (Oracle)" , linux-fsdevel@vger.kernel.org, ceph-devel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-nilfs@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 0/6] Filesystem page flags cleanup Date: Wed, 2 Oct 2024 05:01:02 +0100 Message-ID: <20241002040111.1023018-1-willy@infradead.org> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 5939240011 X-Stat-Signature: 7z5wf3mka8ajjo5rwem5mf8nmbm6dtc1 X-Rspam-User: X-HE-Tag: 1727841687-535755 X-HE-Meta: U2FsdGVkX1+lNDdsqmskKs1GhzhEu/5g5OZMh732OrYR+Mo2oOk7A3VH8sDbjfSWQYgfhXmg+zKEncDNwnJ4dHGovfGRyqb4afDFKUPAO3tj5saIwVdq4uuw1kDNq0IdqEVrFAY8YqoXDwzEYpevzbJwT7/29BJXTHlV9lu92jBTEUhagxcn189ZlvUsHl7MyppvWBCKW3/o9QtVAfSTlIIwWXH+MV90sG7OWjmaDnwZoXQ/+yCmayy1DRHc4jKaTkRlWbKyzksGm8xPAWfpcJlzP75KiPRG0jyOavOpA+8SufSMJq4ypaOvIIkFtZG6urozag4oGvdiskMd4AJk9G5HSXXFoQl9y1fNuToqaX+QFnZYex+7mUViUDo+fLknaeWG414yaLq9yMBHM2p+QMJRAiWKm2tFyCaMc2O0dHgbTdsz8EvRdniwLphM2LnlTnkHnDJs0YOTZknTUHv0jEu1o4x3SS2xhUkJgGlYv0GZq4hbZDzre+u3avugUJXM5+l1yQYC/jraGBC2QkcM7Hi1ECgGMTK2JMykntbMQkktzn0KvizTrHqjhezi5N0lndTT9/xd0NulvHwVKRxKv5xvTZGeuQQ13luwleSlBBEYT51EdHVyKGj7mo/K0MXl2rlrbEq2RYuy+8AWw+kUF4Dp0e0MmcG40t0Dpze3VGON9rE69eni2uPBFQuydDYJ0QVyJOKuJjA3FUAOY1i2Q7JI6FNFVRRvNKylt0LFPUJPrEPxLYegAzQmXLGVwTRa5mBoKX5G05sbqe7MvhapKSaIq030/WwLbB5ZJT8jDYgTOm/TdfElW8DlepxMnXzazVQk779Wml45pYxmk8T44xdmkO+o6zkRV9U7WscMKwPsxKyR02VTFjP3LK1EglAS6xgIiEQwlCb16p05VcZ1hdQ7nfzZh6GGeTCUeF6qv6VdoBDBqQscz5++EX1wR5Piam6IXv9pYJGs5pgpHob FrYykH2P QQk5RdSs2c/eplVkaaLuKTWC5ZzubIa5wQ5XvZe3gHBJp6sthxfbo12t1aoj4NK/N9i0Ddpvh+fgzkY2/jqABzt97FIdGvnkwiTAEua6Rbzdz70MuVVDObHfoCGrax4DmuURDGsS/XmC2Y+7FLHPdtbgNFA2sT0fx9Xjwz7mhP+QFL7M= 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: List-Subscribe: List-Unsubscribe: I think this pile of patches makes most sense to take through the VFS tree. The first four continue the work begun in 02e1960aafac to make the mappedtodisk/owner_2 flag available to filesystems which don't use buffer heads. The last two remove uses of Private2 (we're achingly close to being rid of it entirely, but that doesn't seem like it'll land this merge window). Matthew Wilcox (Oracle) (6): fs: Move clearing of mappedtodisk to buffer.c nilfs2: Convert nilfs_copy_buffer() to use folios mm: Remove PageMappedToDisk btrfs: Switch from using the private_2 flag to owner_2 ceph: Remove call to PagePrivate2() migrate: Remove references to Private2 fs/btrfs/ctree.h | 13 ++++--------- fs/btrfs/inode.c | 8 ++++---- fs/btrfs/ordered-data.c | 4 ++-- fs/buffer.c | 1 + fs/ceph/addr.c | 20 ++++++++++---------- fs/nilfs2/page.c | 22 +++++++++++----------- include/linux/page-flags.h | 4 ++-- mm/migrate.c | 4 ++-- mm/truncate.c | 1 - 9 files changed, 36 insertions(+), 41 deletions(-)