mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 18:13:41 +02:00
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 <hch@lst.de> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
This commit is contained in:
parent
fc04408c47
commit
0cb53d773b
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user