public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/1] xfstests: add log attribute replay test
@ 2021-11-11  0:06 Catherine Hoang
  2021-11-11  0:06 ` [PATCH v3 1/1] xfstests: Add Log Attribute Replay test Catherine Hoang
  0 siblings, 1 reply; 4+ messages in thread
From: Catherine Hoang @ 2021-11-11  0:06 UTC (permalink / raw)
  To: linux-xfs, fstests

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.

Since v2, the following tests have been added:
- 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 new error tags leaf_split and leaf_to_node,
which can also be found on Allison’s github trees.
kernel:
https://github.com/allisonhenderson/xfs_work/tree/new_err_tags 
xfsprogs:
https://github.com/allisonhenderson/xfs_work/tree/new_err_tags_xfsprogs 

Suggestions and feedback are appreciated!

Catherine

Allison Henderson (1):
  xfstests: Add Log Attribute Replay test

 tests/xfs/542     | 175 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/xfs/542.out | 150 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 325 insertions(+)
 create mode 100755 tests/xfs/542
 create mode 100755 tests/xfs/542.out

-- 
2.25.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-15 20:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-11  0:06 [PATCH v3 0/1] xfstests: add log attribute replay test Catherine Hoang
2021-11-11  0:06 ` [PATCH v3 1/1] xfstests: Add Log Attribute Replay test Catherine Hoang
2021-11-14 13:28   ` Eryu Guan
2021-11-15 19:28     ` [External] : " Catherine Hoang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox