Home
last modified time | relevance | path

Searched hist:"77 b4d286" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/xfs/
H A Dxfs_icache.c77b4d286 Fri Jun 18 13:57:06 CDT 2021 Darrick J. Wong <djwong@kernel.org> xfs: separate primary inode selection criteria in xfs_iget_cache_hit

During review of the v6 deferred inode inactivation patchset[1], Dave
commented that _cache_hit should have a clear separation between inode
selection criteria and actions performed on a selected inode. Move a
hunk to make this true, and compact the shrink cases in the function.

[1] https://lore.kernel.org/linux-xfs/162310469340.3465262.504398465311182657.stgit@locust/T/#mca6d958521cb88bbc1bfe1a30767203328d410b5
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Brian Foster <bfoster@redhat.com>