Re: [PATCH 10/15] xfs: clean up inode state flag tests in xfs_blockgc_igrab
From: Dave Chinner <david@fromorbit.com>
Date: 2021-06-03 01:13:06
From: Dave Chinner <david@fromorbit.com>
Date: 2021-06-03 01:13:06
On Wed, Jun 02, 2021 at 03:25:52PM -0700, Darrick J. Wong wrote:
From: Darrick J. Wong <djwong@kernel.org> Clean up the definition of which inode states are not eligible for speculative preallocation garbage collecting by creating a private #define. The deferred inactivation patchset will add two new entries to the set of flags-to-ignore, so we want the definition not to end up a cluttered mess. Signed-off-by: Darrick J. Wong <djwong@kernel.org> --- fs/xfs/xfs_icache.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
Makes sense. Reviewed-by: Dave Chinner <redacted> -- Dave Chinner david@fromorbit.com