diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-05-31 11:31:58 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-06-03 15:56:03 -0700 |
commit | b9baaef42f764db7089a19c82d2b783aef836437 (patch) | |
tree | 403f10dbd4ef4f807eaa5b5f44c41f079e350cd0 /block/partitions/aix.c | |
parent | c809d7e948a131cba8fdf9fbd0b50e1f59255f50 (diff) | |
download | linux-b9baaef42f764db7089a19c82d2b783aef836437.tar.bz2 |
xfs: separate the dqrele_all inode grab logic from xfs_inode_walk_ag_grab
Disentangle the dqrele_all inode grab code from the "generic" inode walk
grabbing code, and and use the opportunity to document why the dqrele
grab function does what it does. Since xfs_inode_walk_ag_grab is now
only used for blockgc, rename it to reflect that.
Ultimately, there will be four reasons to perform a walk of incore
inodes: quotaoff dquote releasing (dqrele), garbage collection of
speculative preallocations (blockgc), reclamation of incore inodes
(reclaim), and deferred inactivation (inodegc). Each of these four have
their own slightly different criteria for deciding if they want to
handle an inode, so it makes more sense to have four cohesive igrab
functions than one confusing parameteric grab function like we do now.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'block/partitions/aix.c')
0 files changed, 0 insertions, 0 deletions