From: Dave Chinner <david@fromorbit.com>
To: "Darrick J. Wong" <djwong@kernel.org>
Cc: chandanbabu@kernel.org, Dave Chinner <dchinner@redhat.com>,
linux-xfs@vger.kernel.org
Subject: Re: [PATCH 1/1] xfs: fix reloading entire unlinked bucket lists
Date: Tue, 26 Sep 2023 07:44:10 +1000 [thread overview]
Message-ID: <ZRH/KmCEjlUzTajS@dread.disaster.area> (raw)
In-Reply-To: <169565629026.1982077.12646061547002741492.stgit@frogsfrogsfrogs>
On Mon, Sep 25, 2023 at 08:38:10AM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
>
> During review of the patcheset that provided reloading of the incore
> iunlink list, Dave made a few suggestions, and I updated the copy in my
> dev tree. Unfortunately, I then got distracted by ... who even knows
> what ... and forgot to backport those changes from my dev tree to my
> release candidate branch. I then sent multiple pull requests with stale
> patches, and that's what was merged into -rc3.
>
> So.
>
> This patch re-adds the use of an unlocked iunlink list check to
> determine if we want to allocate the resources to recreate the incore
> list. Since lost iunlinked inodes are supposed to be rare, this change
> helps us avoid paying the transaction and AGF locking costs every time
> we open any inode.
>
> This also re-adds the shutdowns on failure, and re-applies the
> restructuring of the inner loop in xfs_inode_reload_unlinked_bucket, and
> re-adds a requested comment about the quotachecking code.
>
> Retain the original RVB tag from Dave since there's no code change from
> the last submission.
>
> Fixes: 68b957f64fca1 ("xfs: load uncached unlinked inodes into memory on demand")
> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
> Reviewed-by: Dave Chinner <dchinner@redhat.com>
> ---
> fs/xfs/xfs_export.c | 16 ++++++++++++----
> fs/xfs/xfs_inode.c | 48 +++++++++++++++++++++++++++++++++++-------------
> fs/xfs/xfs_itable.c | 2 ++
> fs/xfs/xfs_qm.c | 15 ++++++++++++---
> 4 files changed, 61 insertions(+), 20 deletions(-)
Looks good.
-Dave.
--
Dave Chinner
david@fromorbit.com
prev parent reply other threads:[~2023-09-25 21:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-25 15:38 [PATCHSET 0/1] xfs: fix reloading the last iunlink item Darrick J. Wong
2023-09-25 15:38 ` [PATCH 1/1] xfs: fix reloading entire unlinked bucket lists Darrick J. Wong
2023-09-25 21:44 ` Dave Chinner [this message]
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=ZRH/KmCEjlUzTajS@dread.disaster.area \
--to=david@fromorbit.com \
--cc=chandanbabu@kernel.org \
--cc=dchinner@redhat.com \
--cc=djwong@kernel.org \
--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