public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] add more tests to the growfs group
@ 2024-07-29 14:20 Christoph Hellwig
  2024-07-29 14:20 ` [PATCH 2/2] xfs/233: don't require rmap Christoph Hellwig
  2024-07-29 16:40 ` [PATCH 1/2] add more tests to the growfs group Darrick J. Wong
  0 siblings, 2 replies; 4+ messages in thread
From: Christoph Hellwig @ 2024-07-29 14:20 UTC (permalink / raw)
  To: zlang; +Cc: djwong, fstests, linux-xfs

xfs/127 xfs/233 exercises growfs behavior, add them to the growfs group.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 tests/xfs/127 | 2 +-
 tests/xfs/233 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/xfs/127 b/tests/xfs/127
index b690ab0d5..4f008efdb 100755
--- a/tests/xfs/127
+++ b/tests/xfs/127
@@ -7,7 +7,7 @@
 # Tests xfs_growfs on a reflinked filesystem
 #
 . ./common/preamble
-_begin_fstest auto quick clone
+_begin_fstest auto quick clone growfs
 
 # Import common functions.
 . ./common/filter
diff --git a/tests/xfs/233 b/tests/xfs/233
index 1f691e20f..5d2c10e7d 100755
--- a/tests/xfs/233
+++ b/tests/xfs/233
@@ -7,7 +7,7 @@
 # Tests xfs_growfs on a rmapbt filesystem
 #
 . ./common/preamble
-_begin_fstest auto quick rmap
+_begin_fstest auto quick rmap growfs
 
 # Import common functions.
 . ./common/filter
-- 
2.43.0


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

* [PATCH 2/2] xfs/233: don't require rmap
  2024-07-29 14:20 [PATCH 1/2] add more tests to the growfs group Christoph Hellwig
@ 2024-07-29 14:20 ` Christoph Hellwig
  2024-07-29 16:41   ` Darrick J. Wong
  2024-07-29 16:40 ` [PATCH 1/2] add more tests to the growfs group Darrick J. Wong
  1 sibling, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2024-07-29 14:20 UTC (permalink / raw)
  To: zlang; +Cc: djwong, fstests, linux-xfs

Nothing in xfs/233 requires an rmap, it can run on any file system.
And it is a very useful test because it starts out with a very small
file system (or RT subvolume), which exercise some code paths no other
test does.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 tests/xfs/233 | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tests/xfs/233 b/tests/xfs/233
index 5d2c10e7d..211e5f842 100755
--- a/tests/xfs/233
+++ b/tests/xfs/233
@@ -4,7 +4,7 @@
 #
 # FS QA Test No. 233
 #
-# Tests xfs_growfs on a rmapbt filesystem
+# Tests xfs_growfs starting with a really small file system.
 #
 . ./common/preamble
 _begin_fstest auto quick rmap growfs
@@ -12,7 +12,6 @@ _begin_fstest auto quick rmap growfs
 # Import common functions.
 . ./common/filter
 
-_require_xfs_scratch_rmapbt
 _require_no_large_scratch_dev
 
 echo "Format and mount"
-- 
2.43.0


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

* Re: [PATCH 1/2] add more tests to the growfs group
  2024-07-29 14:20 [PATCH 1/2] add more tests to the growfs group Christoph Hellwig
  2024-07-29 14:20 ` [PATCH 2/2] xfs/233: don't require rmap Christoph Hellwig
@ 2024-07-29 16:40 ` Darrick J. Wong
  1 sibling, 0 replies; 4+ messages in thread
From: Darrick J. Wong @ 2024-07-29 16:40 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: zlang, fstests, linux-xfs

On Mon, Jul 29, 2024 at 07:20:26AM -0700, Christoph Hellwig wrote:
> xfs/127 xfs/233 exercises growfs behavior, add them to the growfs group.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Looks good to me,
Reviewed-by: Darrick J. Wong <djwong@kernel.org>

--D

> ---
>  tests/xfs/127 | 2 +-
>  tests/xfs/233 | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/tests/xfs/127 b/tests/xfs/127
> index b690ab0d5..4f008efdb 100755
> --- a/tests/xfs/127
> +++ b/tests/xfs/127
> @@ -7,7 +7,7 @@
>  # Tests xfs_growfs on a reflinked filesystem
>  #
>  . ./common/preamble
> -_begin_fstest auto quick clone
> +_begin_fstest auto quick clone growfs
>  
>  # Import common functions.
>  . ./common/filter
> diff --git a/tests/xfs/233 b/tests/xfs/233
> index 1f691e20f..5d2c10e7d 100755
> --- a/tests/xfs/233
> +++ b/tests/xfs/233
> @@ -7,7 +7,7 @@
>  # Tests xfs_growfs on a rmapbt filesystem
>  #
>  . ./common/preamble
> -_begin_fstest auto quick rmap
> +_begin_fstest auto quick rmap growfs
>  
>  # Import common functions.
>  . ./common/filter
> -- 
> 2.43.0
> 
> 

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

* Re: [PATCH 2/2] xfs/233: don't require rmap
  2024-07-29 14:20 ` [PATCH 2/2] xfs/233: don't require rmap Christoph Hellwig
@ 2024-07-29 16:41   ` Darrick J. Wong
  0 siblings, 0 replies; 4+ messages in thread
From: Darrick J. Wong @ 2024-07-29 16:41 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: zlang, fstests, linux-xfs

On Mon, Jul 29, 2024 at 07:20:27AM -0700, Christoph Hellwig wrote:
> Nothing in xfs/233 requires an rmap, it can run on any file system.
> And it is a very useful test because it starts out with a very small
> file system (or RT subvolume), which exercise some code paths no other
> test does.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>

Heh, you're right.  Lets do this! :)

Reviewed-by: Darrick J. Wong <djwong@kernel.org>

--D

> ---
>  tests/xfs/233 | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/tests/xfs/233 b/tests/xfs/233
> index 5d2c10e7d..211e5f842 100755
> --- a/tests/xfs/233
> +++ b/tests/xfs/233
> @@ -4,7 +4,7 @@
>  #
>  # FS QA Test No. 233
>  #
> -# Tests xfs_growfs on a rmapbt filesystem
> +# Tests xfs_growfs starting with a really small file system.
>  #
>  . ./common/preamble
>  _begin_fstest auto quick rmap growfs
> @@ -12,7 +12,6 @@ _begin_fstest auto quick rmap growfs
>  # Import common functions.
>  . ./common/filter
>  
> -_require_xfs_scratch_rmapbt
>  _require_no_large_scratch_dev
>  
>  echo "Format and mount"
> -- 
> 2.43.0
> 
> 

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

end of thread, other threads:[~2024-07-29 16:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-29 14:20 [PATCH 1/2] add more tests to the growfs group Christoph Hellwig
2024-07-29 14:20 ` [PATCH 2/2] xfs/233: don't require rmap Christoph Hellwig
2024-07-29 16:41   ` Darrick J. Wong
2024-07-29 16:40 ` [PATCH 1/2] add more tests to the growfs group 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