[LTP] [PATCH v2 1/1] cachestat01: Reduce required space on 64kb page size
Cyril Hrubis
chrubis@suse.cz
Wed Jul 31 12:32:31 CEST 2024
Hi!
> + num_shift = MIN(tst_device->size*1024*2.6/page_size, 15);
I guess that we can make it future proof by rounding the 2.6 to 3 just
to avoid failures in the future when filesystems consume just a bit more
space for a metadata...
Other than that:
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
> page_data = SAFE_MALLOC(page_size);
> memset(page_data, 'a', page_size);
> }
> --
> 2.45.2
>
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list