From: Christoph Hellwig Date: Sun, 17 Nov 2024 07:02:04 +0000 (+0100) Subject: xfs: skip zoned RT inodes in xfs_inodegc_want_queue_rt_file X-Git-Tag: v6.15-rc1~149^2~7^2~5^2~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0cb53d773bbaa56e3a1f3cd4c04a50896bd810ec;p=thirdparty%2Fkernel%2Flinux.git xfs: skip zoned RT inodes in xfs_inodegc_want_queue_rt_file The zoned allocator never performs speculative preallocations, so don't bother queueing up zoned inodes here. Signed-off-by: Christoph Hellwig Reviewed-by: "Darrick J. Wong" --- diff --git a/fs/xfs/xfs_icache.c b/fs/xfs/xfs_icache.c index c9ded501e89b2..2f53ca7e12d45 100644 --- a/fs/xfs/xfs_icache.c +++ b/fs/xfs/xfs_icache.c @@ -2073,7 +2073,7 @@ xfs_inodegc_want_queue_rt_file( { struct xfs_mount *mp = ip->i_mount; - if (!XFS_IS_REALTIME_INODE(ip)) + if (!XFS_IS_REALTIME_INODE(ip) || xfs_has_zoned(mp)) return false; if (xfs_compare_freecounter(mp, XC_FREE_RTEXTENTS,