[LTP] [PATCH 1/1] cachestat01: Reduce required space on 64kb page size

Petr Vorel pvorel@suse.cz
Tue Jul 30 00:36:03 CEST 2024


...
> First I thought we should use tst_fs_has_free() in each
> test_cached_pages() run, but test uses .all_filesystems, thus it's
> always 300 MB. Should we, just in case, use .dev_min_size = 300,
> to make sure it runs correctly even we change the DEV_SIZE_MB value?

Or for people who use custom block device passed via $LTP_DEV.

Kind regards,
Petr

> Or, should we really calculate required space with tst_fs_has_free(),
> based on page size num_pages and * 1.1 (reserved space for metadata)?

> Kind regards,
> Petr


More information about the ltp mailing list