file_attr02: Reduce extent size block count
PATCH 1/1 file_attr02: Reduce extent size block count
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 <[email protected]>
--- testcases/kernel/syscalls/file_attr/file_attr02.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/syscalls/file_attr/file_attr02.c +1 -1
@@ -15,7 +15,7 @@#define MNTPOINT "mntpoint"#define FILENAME "ltp_file" -#define BLOCKS 1024 +#define BLOCKS 128#define PROJID 16static int fd =-1 ;
Signature · 5 lines
2.51.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi,
Quoted 4 lines · CEST Martin Doucha
Reduce test extent size to 128 blocks. Otherwise the
FS_IOC_FSSETXATTRioctl may exceed extent size limit and fail on archs with 64K blocksize.Signed-off-by Martin Doucha <[email protected]>
Reviewed-by Avinesh Kumar <[email protected]>
Tested-by Avinesh Kumar <[email protected]>
Quoted 10 lines
--- testcases/kernel/syscalls/file_attr/file_attr02.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)testcases/kernel/syscalls/file_attr/file_attr02.c +0
-0
testcases/kernel/syscalls/file_attr/file_attr02.c line 21
Quoted 8 lines
testcases/kernel/syscalls/file_attr/file_attr02.c +1
-1@@ -15,7 +15,7 @@#define MNTPOINT "mntpoint"#define FILENAME "ltp_file" -#define BLOCKS 1024 +#define BLOCKS 128#define PROJID 16static int fd =-1 ;
Regards,
Avinesh
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Martin,
Quoted 2 lines
Reduce test extent size to 128 blocks. Otherwise the
FS_IOC_FSSETXATTRioctl may exceed extent size limit and fail on archs with 64K blocksize.
Thanks!
Reviewed-by Petr Vorel <[email protected]>
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Hi!
Pushed, thanks.
Signature · 5 lines
Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp