[LTP] [PATCH] file_attr02: Reduce extent size block count

Avinesh Kumar akumar@suse.de
Mon Sep 29 13:29:35 CEST 2025


Hi,

On Monday, September 29, 2025 1:08:58 PM CEST Martin Doucha wrote:
> Reduce test extent size to 128 blocks. Otherwise the FS_IOC_FSSETXATTR
> ioctl may exceed extent size limit and fail on archs with 64K blocksize.
> 
> Signed-off-by: Martin Doucha <mdoucha@suse.cz>
Reviewed-by: Avinesh Kumar <akumar@suse.de>
Tested-by: Avinesh Kumar <akumar@suse.de>

> ---
>  testcases/kernel/syscalls/file_attr/file_attr02.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/testcases/kernel/syscalls/file_attr/file_attr02.c b/testcases/kernel/syscalls/file_attr/file_attr02.c
> index d0cb47696..f6625985a 100644
> --- a/testcases/kernel/syscalls/file_attr/file_attr02.c
> +++ b/testcases/kernel/syscalls/file_attr/file_attr02.c
> @@ -15,7 +15,7 @@
>  
>  #define MNTPOINT "mntpoint"
>  #define FILENAME "ltp_file"
> -#define BLOCKS 1024
> +#define BLOCKS 128
>  #define PROJID 16
>  
>  static int fd = -1;
> 

Regards,
Avinesh




More information about the ltp mailing list