From: Catherine Hoang <catherine.hoang@oracle.com>
To: linux-xfs@vger.kernel.org, fstests@vger.kernel.org
Subject: [PATCH v6 0/1] xfstests: add log attribute replay test
Date: Tue, 1 Feb 2022 17:09:51 +0000 [thread overview]
Message-ID: <20220201170952.22443-1-catherine.hoang@oracle.com> (raw)
Hi all,
This patch aims to provide better test coverage for Allison’s delayed
attribute set. These tests aim to cover cases where attributes are added,
removed, and overwritten in each format (shortform, leaf, node). Error
inject is used to replay these operations from the log.
The following cases are covered in this test:
- empty, add/remove inline attr (64 bytes)
- empty, add/remove internal attr (1kB)
- empty, add/remove remote attr (64kB)
- inline, add/remove inline attr (64 bytes)
- inline, add/remove internal attr (1kB)
- inline, add/remove remote attr (64kB)
- extent, add/remove internal attr (1kB)
- extent, add multiple internal attr (inject error on split operation)
- extent, add multiple internal attr (inject error on transition to node)
- extent, add/remove remote attr (64kB)
- btree, add/remove multiple internal (1kB)
- btree, add/remove remote attr (64kB)
- overwrite shortform attr
- overwrite leaf attr
- overwrite node attr
Running these tests require the corresponding kernel and xfsprogs changes
that add the new error tags da_leaf_split and larp_leaf_to_node.
v5->v6:
- Renamed larp_leaf_split to da_leaf_split
- Updated copyright year to 2022
v4->v5:
- Changed mode of 543.out to 644
v3->v4:
- Removed leading underscores on functions
- Filtered $SCRATCH_MNT on md5sum check
- Removed unnecessary unmount code
- Replaced _scratch_mkfs_xfs with _scratch_mkfs
Suggestions and feedback are appreciated!
Catherine
Allison Henderson (1):
xfstests: Add Log Attribute Replay test
tests/xfs/543 | 171 ++++++++++++++++++++++++++++++++++++++++++++++
tests/xfs/543.out | 149 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 320 insertions(+)
create mode 100755 tests/xfs/543
create mode 100644 tests/xfs/543.out
--
2.25.1
next reply other threads:[~2022-02-01 17:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-01 17:09 Catherine Hoang [this message]
2022-02-01 17:09 ` [PATCH v6 1/1] xfstests: Add Log Attribute Replay test Catherine Hoang
2022-02-01 20:13 ` Darrick J. Wong
2022-02-01 22:09 ` Catherine Hoang
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=20220201170952.22443-1-catherine.hoang@oracle.com \
--to=catherine.hoang@oracle.com \
--cc=fstests@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.