public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/1] xfstests: add log attribute replay test
@ 2022-02-23  3:37 Catherine Hoang
  2022-02-23  3:37 ` [PATCH v7 1/1] xfstests: Add Log Attribute Replay test Catherine Hoang
  0 siblings, 1 reply; 15+ messages in thread
From: Catherine Hoang @ 2022-02-23  3:37 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.

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 attr_leaf_to_node.

v6->v7:
- Rename larp_leaf_to_node to attr_leaf_to_node
- Check that the larp knob is writable
- Cleanup files that were created during testing

Suggestions and feedback are appreciated!

Catherine

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

 tests/xfs/543     | 176 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/xfs/543.out | 149 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 325 insertions(+)
 create mode 100755 tests/xfs/543
 create mode 100644 tests/xfs/543.out

-- 
2.25.1


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

end of thread, other threads:[~2022-05-07  5:34 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-23  3:37 [PATCH v7 0/1] xfstests: add log attribute replay test Catherine Hoang
2022-02-23  3:37 ` [PATCH v7 1/1] xfstests: Add Log Attribute Replay test Catherine Hoang
2022-03-01 20:46   ` Allison Henderson
2022-05-05 23:54   ` Dave Chinner
2022-05-06  7:51   ` [PATCH] xfs/larp: Make test failures debuggable Dave Chinner
2022-05-06 16:14     ` Darrick J. Wong
2022-05-06 16:40       ` Zorro Lang
2022-05-06 18:08         ` Catherine Hoang
2022-05-06 20:02           ` Zorro Lang
2022-05-06 21:48             ` Dave Chinner
2022-05-07  5:34               ` Zorro Lang
2022-05-06 21:55             ` Alli
2022-05-06 22:16       ` Dave Chinner
2022-05-06 16:28     ` Zorro Lang
2022-05-06 17:58     ` Catherine Hoang

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