From: Hironori Shiina <shiina.hironori@gmail.com>
To: fstests@vger.kernel.org
Cc: Hironori Shiina <shiina.hironori@fujitsu.com>
Subject: [PATCH v2 0/2] xfs: test xfsrestore on multi-level dumpfiles with wrong root
Date: Thu, 12 Jan 2023 17:22:40 -0500 [thread overview]
Message-ID: <20230112222242.153502-1-shiina.hironori@fujitsu.com> (raw)
For 'xfsrestore -x', a few more tests are necessary because we hit an
issue at the cumulative mode while developing this feature:
https://lore.kernel.org/linux-xfs/e61ae295-a331-d36a-cae1-646022dc2a6e@gmail.com/
This fix adds a few tests to run 'xfsrestore -x' to the multi-level
dumps with various file operations referencing existing tests.
Before adding the tests, a helper function to create a fake root is
added.
changes since v1:
- Introduce the new helper to xfs/557
- Elaborate the background of this fix
- Add one more test for multi-level dumps based on xfs/065
Hironori Shiina (2):
xfs: add helper to create fake root inode
xfs: test xfsrestore on multi-level dumpfiles with wrong root
common/xfs | 38 ++
tests/xfs/545 | 31 +-
tests/xfs/554 | 35 +-
tests/xfs/557 | 31 +-
tests/xfs/560 | 125 ++++
tests/xfs/560.out | 1517 +++++++++++++++++++++++++++++++++++++++++++++
tests/xfs/561 | 213 +++++++
tests/xfs/561.out | 849 +++++++++++++++++++++++++
8 files changed, 2756 insertions(+), 83 deletions(-)
create mode 100644 tests/xfs/560
create mode 100644 tests/xfs/560.out
create mode 100644 tests/xfs/561
create mode 100644 tests/xfs/561.out
--
2.39.0
next reply other threads:[~2023-01-12 22:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-12 22:22 Hironori Shiina [this message]
2023-01-12 22:22 ` [PATCH v2 1/2] xfs: add helper to create fake root inode Hironori Shiina
2023-01-30 17:18 ` Zorro Lang
2023-01-12 22:22 ` [PATCH v2 2/2] xfs: test xfsrestore on multi-level dumpfiles with wrong root Hironori Shiina
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=20230112222242.153502-1-shiina.hironori@fujitsu.com \
--to=shiina.hironori@gmail.com \
--cc=fstests@vger.kernel.org \
--cc=shiina.hironori@fujitsu.com \
/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.