[LTP] [PATCH] lib: tst_device: Allow more control over the device size

Cyril Hrubis chrubis@suse.cz
Mon Aug 2 13:38:21 CEST 2021


Hi!
> This is not enough. tst_acquire_device__ calls tst_acquire_loop_device, 
> that again has MAX(size, DEV_SIZE_MB).
> But it should be sage to substitute it for size ? size : DEV_SIZE_MB as 
> well.

Right, that was the old API function to get loop devices which was
called from old API testcases. Looks like there are no old API tests
that work with loop devices anymore, so this function should be removed
from the public API as well. I will send v2 patchset.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list