public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fstests: generic/042: increase filesystem image size
@ 2025-07-09  4:40 Anand Jain
  2025-07-09  4:45 ` Qu Wenruo
  0 siblings, 1 reply; 2+ messages in thread
From: Anand Jain @ 2025-07-09  4:40 UTC (permalink / raw)
  To: fstests; +Cc: linux-btrfs

During testing for shutdown, I found that generic/042 sets a size of
25M, which is too small for btrfs. Setting it to 128M.

wrote 26214400/26214400 bytes at offset 0
25 MiB, 6400 ops; 0.0468 sec (533.618 MiB/sec and 136606.1900 ops/sec)
ERROR: '/mnt/scratch/042.img' is too small to make a usable filesystem
ERROR: minimum size for each btrfs device is 114294784

Signed-off-by: Anand Jain <anand.jain@oracle.com>
---
 tests/generic/042 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/generic/042 b/tests/generic/042
index ced145dde753..6cd2e7a3703a 100755
--- a/tests/generic/042
+++ b/tests/generic/042
@@ -26,7 +26,7 @@ _crashtest()
 	img=$SCRATCH_MNT/$seq.img
 	mnt=$SCRATCH_MNT/$seq.mnt
 	file=$mnt/file
-	size=$(_small_fs_size_mb 25)M
+	size=$(_small_fs_size_mb 128)M
 
 	# Create an fs on a small, initialized image. The pattern is written to
 	# the image to detect stale data exposure.
-- 
2.50.0


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

* Re: [PATCH] fstests: generic/042: increase filesystem image size
  2025-07-09  4:40 [PATCH] fstests: generic/042: increase filesystem image size Anand Jain
@ 2025-07-09  4:45 ` Qu Wenruo
  0 siblings, 0 replies; 2+ messages in thread
From: Qu Wenruo @ 2025-07-09  4:45 UTC (permalink / raw)
  To: Anand Jain, fstests; +Cc: linux-btrfs



在 2025/7/9 14:10, Anand Jain 写道:
> During testing for shutdown, I found that generic/042 sets a size of
> 25M, which is too small for btrfs. Setting it to 128M.
> 
> wrote 26214400/26214400 bytes at offset 0
> 25 MiB, 6400 ops; 0.0468 sec (533.618 MiB/sec and 136606.1900 ops/sec)
> ERROR: '/mnt/scratch/042.img' is too small to make a usable filesystem
> ERROR: minimum size for each btrfs device is 114294784
> 
> Signed-off-by: Anand Jain <anand.jain@oracle.com>

Already submitted:

https://lore.kernel.org/linux-btrfs/20250625232021.69787-1-wqu@suse.com/

Thanks,
Qu

> ---
>   tests/generic/042 | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/generic/042 b/tests/generic/042
> index ced145dde753..6cd2e7a3703a 100755
> --- a/tests/generic/042
> +++ b/tests/generic/042
> @@ -26,7 +26,7 @@ _crashtest()
>   	img=$SCRATCH_MNT/$seq.img
>   	mnt=$SCRATCH_MNT/$seq.mnt
>   	file=$mnt/file
> -	size=$(_small_fs_size_mb 25)M
> +	size=$(_small_fs_size_mb 128)M
>   
>   	# Create an fs on a small, initialized image. The pattern is written to
>   	# the image to detect stale data exposure.


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

end of thread, other threads:[~2025-07-09  4:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-09  4:40 [PATCH] fstests: generic/042: increase filesystem image size Anand Jain
2025-07-09  4:45 ` Qu Wenruo

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