[LTP] [PATCH] file_attr02: Reduce extent size block count
Martin Doucha
mdoucha@suse.cz
Mon Sep 29 13:08:58 CEST 2025
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>
---
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;
--
2.51.0
More information about the ltp
mailing list