Thread (32 messages) 32 messages, 2 authors, 2021-08-09

Re: [PATCH 04/14] xfs: detach dquots from inode if we don't need to inactivate it

From: Dave Chinner <david@fromorbit.com>
Date: 2021-08-05 05:30:11

On Wed, Aug 04, 2021 at 07:06:44PM -0700, Darrick J. Wong wrote:
From: Darrick J. Wong <djwong@kernel.org>

If we don't need to inactivate an inode, we can detach the dquots and
move on to reclamation.  This isn't strictly required here; it's a
preparation patch for deferred inactivation per reviewer request[1] to
move the creation of xfs_inode_needs_inactivation into a separate
change.  Eventually this !need_inactive chunk will turn into the code
path for inodes that skip xfs_inactive and go straight to memory
reclaim.

[1] https://lore.kernel.org/linux-xfs/20210609012838.GW2945738@locust/T/#mca6d958521cb88bbc1bfe1a30767203328d410b5 (local)
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
LGTM.

Reviewed-by: Dave Chinner <redacted>

-- 
Dave Chinner
david@fromorbit.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help