Re: [PATCH] ext4/032: add a new testcase in online resize tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 08, 2024 at 02:48:17PM +0100, Alexander Mikhalitsyn wrote:
> Add a new testcase for [1] commit in ext4 online resize testsuite.
> 
> Link: https://lore.kernel.org/linux-ext4/20240927133329.1015041-1-libaokun@xxxxxxxxxxxxxxx [1]
> Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@xxxxxxxxxxxxx>
> ---
>  tests/ext4/032 | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/tests/ext4/032 b/tests/ext4/032
> index 6bc3b61b..77d592f4 100755
> --- a/tests/ext4/032
> +++ b/tests/ext4/032
> @@ -97,6 +97,10 @@ mkdir -p $IMG_MNT || _fail "cannot create loopback mount point"
>  # Check if online resizing with bigalloc is supported by the kernel
>  ext4_online_resize 4096 8192 1
>  
> +_fixed_by_kernel_commit 6121258c2b33 \
> +	"ext4: fix off by one issue in alloc_flex_gd()"

We generally mark this at the beginning of the test, not in the middle of test
running. Refer to ext4/058.

Thanks,
Zorro

> +ext4_online_resize $(c2b 6400) $(c2b 786432)
> +
>  ## We perform resizing to various multiples of block group sizes to
>  ## ensure that we cover maximum edge cases in the kernel code.
>  for CLUSTER_SIZ in 4096 16384 65536; do
> -- 
> 2.43.0
> 
> 





[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux