[LTP] [PATCH] network/nfs: support default setup, use local mount

Alexey Kodanev alexey.kodanev@oracle.com
Mon Oct 15 18:03:39 CEST 2018


On 10/12/2018 07:13 PM, Petr Vorel wrote:
> Hi Alexey,
> 
>> For default setup, start the server locally instead and mount
>> inside netns to run NFS traffic over the veth or whatever is
>> used for a single machine setup.
> 
>> We could also use lo interface, we just need to skip the last
>> check in nfs_mount()/nfs_lib.sh.
> 
>> Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
> Acked-by: Petr Vorel <pvorel@suse.cz>
> 
> LGTM, thanks for the patch!
> 

Applied, thanks for review Petr!

> BTW how about split runtest/net.nfs, so it takes shorter to run?
> Maybe it takes so long on my side as I still experience some problems with NFS,
> which I haven't debugged yet (timeout).

Perhaps some default parameters are unreasonably large, e.g. DIR_NUM, FILE_NUM,
THREAD_NUM (nfs03, nfs05 tests)...


More information about the ltp mailing list