diff options
author | Christoph Hellwig <hch@lst.de> | 2025-03-10 14:19:11 +0100 |
---|---|---|
committer | Carlos Maiolino <cem@kernel.org> | 2025-03-10 14:29:44 +0100 |
commit | a2f790b28512c22f7cf4f420a99e1b008e7098fe (patch) | |
tree | 6f9260ba5e69d202a73573d80b3ae8c5defa092c /fs/xfs/xfs_inode.c | |
parent | 94c78cfa3bd1858eec3c462aedeb7f297d38d768 (diff) |
xfs: kill XBF_UNMAPPED
Unmapped buffer access is a pain, so kill it. The switch to large
folios means we rarely pay a vmap penalty for large buffers,
so this functionality is largely unnecessary now.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
-rw-r--r-- | fs/xfs/xfs_inode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 7ded570e0191..ce6b8ffbaa2c 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -1721,8 +1721,7 @@ xfs_ifree_cluster( * to mark all the active inodes on the buffer stale. */ error = xfs_trans_get_buf(tp, mp->m_ddev_targp, blkno, - mp->m_bsize * igeo->blocks_per_cluster, - XBF_UNMAPPED, &bp); + mp->m_bsize * igeo->blocks_per_cluster, 0, &bp); if (error) return error; |