From: "Darrick J. Wong" <djwong@kernel.org>
To: djwong@kernel.org, guaneryu@gmail.com
Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org, guan@eryu.me
Subject: [PATCHSET v2 0/2] fstests: add inode btree blocks counters to the AGI header
Date: Tue, 30 Mar 2021 18:08:23 -0700 [thread overview]
Message-ID: <161715290311.2703879.6182444659830603450.stgit@magnolia> (raw)
Hi all,
Years ago, Christoph diagnosed a problem where freeing an inode on a
totally full filesystem could fail due to finobt expansion not being
able to allocate enough blocks. He solved the problem by using the
per-AG block reservation system to ensure that there are always enough
blocks for finobt expansion, but that came at the cost of having to walk
the entire finobt at mount time. This new feature solves that
performance regression by adding inode btree block counts to the AGI
header. The patches in this series amend fstests to handle the new
metadata fields and to test that upgrades work properly.
v2: move the xfs_admin functional test into a separate patch file and
split them into one test for basic functionality and another for
the extended functionality testing that modifies the test run config
If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.
This is an extraordinary way to destroy everything. Enjoy!
Comments and questions are, as always, welcome.
--D
kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=inobt-counters
xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=inobt-counters
fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=inobt-counters
---
common/xfs | 21 ++++++++++
tests/xfs/764 | 91 ++++++++++++++++++++++++++++++++++++++++++
tests/xfs/764.out | 17 ++++++++
tests/xfs/773 | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++++
tests/xfs/773.out | 19 +++++++++
tests/xfs/910 | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++
tests/xfs/910.out | 23 +++++++++++
tests/xfs/group | 3 +
8 files changed, 400 insertions(+)
create mode 100755 tests/xfs/764
create mode 100644 tests/xfs/764.out
create mode 100755 tests/xfs/773
create mode 100644 tests/xfs/773.out
create mode 100755 tests/xfs/910
create mode 100644 tests/xfs/910.out
next reply other threads:[~2021-03-31 1:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-31 1:08 Darrick J. Wong [this message]
2021-03-31 1:08 ` [PATCH 1/2] xfs: functional testing of V5-relevant options Darrick J. Wong
2021-03-31 17:36 ` Brian Foster
2021-04-02 0:58 ` Darrick J. Wong
2021-04-05 14:47 ` Brian Foster
2021-04-07 23:13 ` Darrick J. Wong
2021-03-31 1:08 ` [PATCH 2/2] xfs: test inobtcount upgrade Darrick J. Wong
2021-03-31 17:36 ` Brian Foster
2021-04-03 0:29 ` Darrick J. Wong
2021-04-21 0:22 [PATCHSET v2 0/2] fstests: add inode btree blocks counters to the AGI header Darrick J. Wong
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=161715290311.2703879.6182444659830603450.stgit@magnolia \
--to=djwong@kernel.org \
--cc=fstests@vger.kernel.org \
--cc=guan@eryu.me \
--cc=guaneryu@gmail.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).