[PATCH v2 0/2] xfs: test xfsrestore on multi-level dumpfiles with wrong root

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



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@xxxxxxxxx/
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




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux