public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET v13.5 3/6] fstests: adjust tests for xfs parent pointers
@ 2024-06-18  0:46 Darrick J. Wong
  2024-06-18  0:49 ` [PATCH 01/11] generic: test recovery of extended attribute updates Darrick J. Wong
                   ` (10 more replies)
  0 siblings, 11 replies; 28+ messages in thread
From: Darrick J. Wong @ 2024-06-18  0:46 UTC (permalink / raw)
  To: djwong, zlang
  Cc: Allison Henderson, Catherine Hoang, fstests, guan, linux-xfs,
	allison.henderson, catherine.hoang

Hi all,

These are the test adjustments that are required for parent pointers.
There's also a few new tests to ensure that the GETPARENTS ioctl (and
 file extent can cross an rtgroup boundary.

The best advantage for rtgroups will become evident later when we get to
adding rmap and reflink to the realtime volume, since the geometry
constraints are the same for rt groups and AGs.  Hence we can reuse all
that code directly.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

This has been running on the djcloud for months with no problems.  Enjoy!
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=pptrs

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=pptrs

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=pptrs

xfsdocs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-documentation.git/log/?h=pptrs
---
Commits in this patchset:
 * generic: test recovery of extended attribute updates
 * xfs/206: filter out the parent= status from mkfs
 * xfs/122: update for parent pointers
 * populate: create hardlinks for parent pointers
 * xfs/021: adapt golden output files for parent pointers
 * xfs/{018,191,288}: disable parent pointers for this test
 * xfs/306: fix formatting failures with parent pointers
 * common: add helpers for parent pointer tests
 * xfs: add parent pointer test
 * xfs: add multi link parent pointer test
 * xfs: add parent pointer inject test
---
 common/parent             |  209 +++++++++
 common/populate           |   38 ++
 common/rc                 |    7 
 common/xfs                |   27 +
 doc/group-names.txt       |    1 
 src/popdir.pl             |   11 
 tests/generic/1834        |   93 ++++
 tests/generic/1834.out    |    2 
 tests/xfs/018             |    4 
 tests/xfs/021             |   15 +
 tests/xfs/021.cfg         |    1 
 tests/xfs/021.out.default |    0 
 tests/xfs/021.out.parent  |   64 +++
 tests/xfs/122.out         |    4 
 tests/xfs/1851            |  116 +++++
 tests/xfs/1851.out        |   69 +++
 tests/xfs/1852            |   69 +++
 tests/xfs/1852.out        | 1002 +++++++++++++++++++++++++++++++++++++++++++++
 tests/xfs/1853            |   85 ++++
 tests/xfs/1853.out        |   14 +
 tests/xfs/191             |    3 
 tests/xfs/206             |    1 
 tests/xfs/288             |    4 
 tests/xfs/306             |    9 
 24 files changed, 1841 insertions(+), 7 deletions(-)
 create mode 100644 common/parent
 create mode 100755 tests/generic/1834
 create mode 100644 tests/generic/1834.out
 create mode 100644 tests/xfs/021.cfg
 rename tests/xfs/{021.out => 021.out.default} (100%)
 create mode 100644 tests/xfs/021.out.parent
 create mode 100755 tests/xfs/1851
 create mode 100644 tests/xfs/1851.out
 create mode 100755 tests/xfs/1852
 create mode 100644 tests/xfs/1852.out
 create mode 100755 tests/xfs/1853
 create mode 100644 tests/xfs/1853.out


^ permalink raw reply	[flat|nested] 28+ messages in thread
* [PATCHSET v13.6 3/6] fstests: adjust tests for xfs parent pointers
@ 2024-06-20 20:53 Darrick J. Wong
  2024-06-20 20:57 ` [PATCH 02/11] xfs/206: filter out the parent= status from mkfs Darrick J. Wong
  0 siblings, 1 reply; 28+ messages in thread
From: Darrick J. Wong @ 2024-06-20 20:53 UTC (permalink / raw)
  To: djwong, zlang
  Cc: Allison Henderson, Christoph Hellwig, Catherine Hoang, fstests,
	allison.henderson, catherine.hoang, linux-xfs

Hi all,

These are the test adjustments that are required for parent pointers.
There's also a few new tests to ensure that the GETPARENTS ioctl (and
 file extent can cross an rtgroup boundary.

The best advantage for rtgroups will become evident later when we get to
adding rmap and reflink to the realtime volume, since the geometry
constraints are the same for rt groups and AGs.  Hence we can reuse all
that code directly.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

This has been running on the djcloud for months with no problems.  Enjoy!
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=pptrs

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=pptrs

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=pptrs

xfsdocs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-documentation.git/log/?h=pptrs
---
Commits in this patchset:
 * generic: test recovery of extended attribute updates
 * xfs/206: filter out the parent= status from mkfs
 * xfs/122: update for parent pointers
 * populate: create hardlinks for parent pointers
 * xfs/021: adapt golden output files for parent pointers
 * xfs/{018,191,288}: disable parent pointers for these tests
 * xfs/306: fix formatting failures with parent pointers
 * common: add helpers for parent pointer tests
 * xfs: add parent pointer test
 * xfs: add multi link parent pointer test
 * xfs: add parent pointer inject test
---
 common/parent             |  209 +++++++++
 common/populate           |   42 ++
 common/rc                 |    7 
 common/xfs                |   28 +
 doc/group-names.txt       |    1 
 src/popdir.pl             |   11 
 tests/generic/1834        |   93 ++++
 tests/generic/1834.out    |    2 
 tests/xfs/018             |    4 
 tests/xfs/021             |   15 +
 tests/xfs/021.cfg         |    1 
 tests/xfs/021.out.default |    0 
 tests/xfs/021.out.parent  |   64 +++
 tests/xfs/122.out         |    4 
 tests/xfs/1851            |  116 +++++
 tests/xfs/1851.out        |   69 +++
 tests/xfs/1852            |   69 +++
 tests/xfs/1852.out        | 1002 +++++++++++++++++++++++++++++++++++++++++++++
 tests/xfs/1853            |   85 ++++
 tests/xfs/1853.out        |   14 +
 tests/xfs/191             |    3 
 tests/xfs/206             |    1 
 tests/xfs/288             |    4 
 tests/xfs/306             |    9 
 24 files changed, 1846 insertions(+), 7 deletions(-)
 create mode 100644 common/parent
 create mode 100755 tests/generic/1834
 create mode 100644 tests/generic/1834.out
 create mode 100644 tests/xfs/021.cfg
 rename tests/xfs/{021.out => 021.out.default} (100%)
 create mode 100644 tests/xfs/021.out.parent
 create mode 100755 tests/xfs/1851
 create mode 100644 tests/xfs/1851.out
 create mode 100755 tests/xfs/1852
 create mode 100644 tests/xfs/1852.out
 create mode 100755 tests/xfs/1853
 create mode 100644 tests/xfs/1853.out


^ permalink raw reply	[flat|nested] 28+ messages in thread
* [PATCHSET v13.0 1/3] fstests: adjust tests for xfs parent pointers
@ 2023-12-31 19:59 Darrick J. Wong
  2023-12-27 13:46 ` [PATCH 02/11] xfs/206: filter out the parent= status from mkfs Darrick J. Wong
  0 siblings, 1 reply; 28+ messages in thread
From: Darrick J. Wong @ 2023-12-31 19:59 UTC (permalink / raw)
  To: zlang, djwong
  Cc: Allison Henderson, Catherine Hoang, fstests, catherine.hoang,
	allison.henderson, guan, linux-xfs

Hi all,

These are the test adjustments that are required for parent pointers.
There's also a few new tests to ensure that the GETPARENTS ioctl (and
 file extent can cross an rtgroup boundary.

The best advantage for rtgroups will become evident later when we get to
adding rmap and reflink to the realtime volume, since the geometry
constraints are the same for rt groups and AGs.  Hence we can reuse all
that code directly.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

This has been running on the djcloud for months with no problems.  Enjoy!
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=pptrs

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=pptrs

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=pptrs

xfsdocs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-documentation.git/log/?h=pptrs
---
 common/parent             |  209 +++++++++
 common/populate           |   38 ++
 common/rc                 |    7 
 common/xfs                |   27 +
 doc/group-names.txt       |    1 
 src/popdir.pl             |   11 
 tests/generic/1834        |   93 ++++
 tests/generic/1834.out    |    2 
 tests/xfs/018             |    4 
 tests/xfs/021             |   15 +
 tests/xfs/021.cfg         |    1 
 tests/xfs/021.out.default |    0 
 tests/xfs/021.out.parent  |   62 +++
 tests/xfs/122.out         |    3 
 tests/xfs/1851            |  116 +++++
 tests/xfs/1851.out        |   69 +++
 tests/xfs/1852            |   69 +++
 tests/xfs/1852.out        | 1002 +++++++++++++++++++++++++++++++++++++++++++++
 tests/xfs/1853            |   85 ++++
 tests/xfs/1853.out        |   14 +
 tests/xfs/191             |    3 
 tests/xfs/206             |    3 
 tests/xfs/288             |    4 
 tests/xfs/306             |    9 
 24 files changed, 1839 insertions(+), 8 deletions(-)
 create mode 100644 common/parent
 create mode 100755 tests/generic/1834
 create mode 100644 tests/generic/1834.out
 create mode 100644 tests/xfs/021.cfg
 rename tests/xfs/{021.out => 021.out.default} (100%)
 create mode 100644 tests/xfs/021.out.parent
 create mode 100755 tests/xfs/1851
 create mode 100644 tests/xfs/1851.out
 create mode 100755 tests/xfs/1852
 create mode 100644 tests/xfs/1852.out
 create mode 100755 tests/xfs/1853
 create mode 100644 tests/xfs/1853.out


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

end of thread, other threads:[~2024-06-20 20:57 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-18  0:46 [PATCHSET v13.5 3/6] fstests: adjust tests for xfs parent pointers Darrick J. Wong
2024-06-18  0:49 ` [PATCH 01/11] generic: test recovery of extended attribute updates Darrick J. Wong
2024-06-19  6:12   ` Christoph Hellwig
2024-06-18  0:49 ` [PATCH 02/11] xfs/206: filter out the parent= status from mkfs Darrick J. Wong
2024-06-19  6:12   ` Christoph Hellwig
2024-06-18  0:50 ` [PATCH 03/11] xfs/122: update for parent pointers Darrick J. Wong
2024-06-19  6:12   ` Christoph Hellwig
2024-06-18  0:50 ` [PATCH 04/11] populate: create hardlinks " Darrick J. Wong
2024-06-19  6:14   ` Christoph Hellwig
2024-06-19 17:00     ` Darrick J. Wong
2024-06-18  0:50 ` [PATCH 05/11] xfs/021: adapt golden output files " Darrick J. Wong
2024-06-19  6:14   ` Christoph Hellwig
2024-06-18  0:50 ` [PATCH 06/11] xfs/{018,191,288}: disable parent pointers for this test Darrick J. Wong
2024-06-19  6:15   ` Christoph Hellwig
2024-06-19 17:03     ` Darrick J. Wong
2024-06-18  0:51 ` [PATCH 07/11] xfs/306: fix formatting failures with parent pointers Darrick J. Wong
2024-06-19  6:16   ` Christoph Hellwig
2024-06-18  0:51 ` [PATCH 08/11] common: add helpers for parent pointer tests Darrick J. Wong
2024-06-19  6:17   ` Christoph Hellwig
2024-06-19 17:28     ` Darrick J. Wong
2024-06-18  0:51 ` [PATCH 09/11] xfs: add parent pointer test Darrick J. Wong
2024-06-19  6:17   ` Christoph Hellwig
2024-06-18  0:51 ` [PATCH 10/11] xfs: add multi link " Darrick J. Wong
2024-06-19  6:18   ` Christoph Hellwig
2024-06-18  0:52 ` [PATCH 11/11] xfs: add parent pointer inject test Darrick J. Wong
2024-06-19  6:18   ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2024-06-20 20:53 [PATCHSET v13.6 3/6] fstests: adjust tests for xfs parent pointers Darrick J. Wong
2024-06-20 20:57 ` [PATCH 02/11] xfs/206: filter out the parent= status from mkfs Darrick J. Wong
2023-12-31 19:59 [PATCHSET v13.0 1/3] fstests: adjust tests for xfs parent pointers Darrick J. Wong
2023-12-27 13:46 ` [PATCH 02/11] xfs/206: filter out the parent= status from mkfs Darrick J. Wong

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