public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] TMPDIR minimal size requirement
@ 2024-02-01 10:16 Petr Vorel
  2024-02-06 18:53 ` Petr Vorel
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Vorel @ 2024-02-01 10:16 UTC (permalink / raw)
  To: ltp; +Cc: Martin Doucha

Hi all,

recent LTP change 3626124a4 ("fallocate06: Increase test loop device size to
1GB") [1] increased requirement on TMPDIR size for syscalls. That hits the size
of tmpfs we use in openSUSE Tumbleweed on /tmp. While we can workaround easily
this in openQA framework we use for LTP testing (use TMPDIR=/var/tmp for
fallocate06 or even for whole runtest syscalls), I wonder if we should have some
LTP upstream fix.

What comes to mi mind, we could use as TMPDIR default /var/tmp (only if it does
not exists, we would fallback to /tmp). We could also warn against tmpfs use.
Or at least document on README that although many tests need 300 MB for a block
device, some tests require more and suggest to use /var/tmp.

Also, Cyril asked for a patch with minimal device size per filesystem (IMHO
still would be done). At least for Btrfs and XFS some people complains 300
MB is not a real testing scenario, therefore if we implement it and use 1 GB
e.g. for Btrfs and XFS we will hit limits on "low resource" devices.

Kind regards,
Petr

[1] https://github.com/linux-test-project/ltp/commit/3626124a42adfe536af2abff63213fa1ccc63795

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

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

end of thread, other threads:[~2024-02-06 18:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-01 10:16 [LTP] TMPDIR minimal size requirement Petr Vorel
2024-02-06 18:53 ` Petr Vorel

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