public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] file_attr02: Reduce extent size block count
@ 2025-09-29 11:08 Martin Doucha
  2025-09-29 11:29 ` Avinesh Kumar
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Martin Doucha @ 2025-09-29 11:08 UTC (permalink / raw)
  To: andrea.cervesato, ltp

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


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

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

end of thread, other threads:[~2025-09-29 11:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-29 11:08 [LTP] [PATCH] file_attr02: Reduce extent size block count Martin Doucha
2025-09-29 11:29 ` Avinesh Kumar
2025-09-29 11:40 ` Petr Vorel
2025-09-29 11:46 ` Cyril Hrubis

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