From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: xfs <linux-xfs@vger.kernel.org>
Cc: Amir Goldstein <amir73il@gmail.com>, Dave Chinner <david@fromorbit.com>
Subject: [XFS SUMMIT] Deferred inode inactivation and nonblocking inode reclaim
Date: Wed, 22 Apr 2020 16:05:04 -0700 [thread overview]
Message-ID: <20200422230504.GI6742@magnolia> (raw)
In-Reply-To: <20200422225851.GG6742@magnolia>
Heh, only after I sent this did I think about tagging the subject line
and sending links to git branches when applicable.
On Wed, Apr 22, 2020 at 03:58:51PM -0700, Darrick J. Wong wrote:
> Hi everyone,
>
> Here's a jumping-off point for a discussion about my patchset that
> implements deferred inode inactivation and Dave's patchset that moves
> inode buffer flushing out of reclaim.
>
> The inactivation series moves the transactional updates that happen
https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git/log/?h=deferred-inactivation
> after a file loses its last reference (truncating attr/data forks,
> freeing the inode) out of drop_inode and reclaim by moving all that work
> to an intermediate workqueue. This all can be done internally to XFS.
>
> The reclaim series (Dave) removes inode flushing from reclaim, which
https://lore.kernel.org/linux-xfs/20191031234618.15403-1-david@fromorbit.com/
--D
> means that xfs stop holding up memory reclaim on IO. It also contains a
> fair amount of surgery to the memory shrinker code, which is an added
> impediment to getting this series reviewed and upstream.
>
> Because of the extra review needed for the reclaim series, does it make
> sense to keep the two separate? Deferring inactivation alone won't get
> rid of the inode flushing that goes on in reclaim, but it at least means
> that we can handle things like "rm -rf $dir" a little more efficiently
> in that we can do all the directory shrinking at once and then handle
> the unlinked inodes in on-disk order. It would also, erm, help me
> reduce the size of my dev tree. :)
>
> --D
next prev parent reply other threads:[~2020-04-22 23:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-22 22:58 Deferred inode inactivation and nonblocking inode reclaim Darrick J. Wong
2020-04-22 23:05 ` Darrick J. Wong [this message]
2020-04-23 6:46 ` [XFS SUMMIT] " Amir Goldstein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200422230504.GI6742@magnolia \
--to=darrick.wong@oracle.com \
--cc=amir73il@gmail.com \
--cc=david@fromorbit.com \
--cc=linux-xfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).