Whamcloud - gitweb
LU-11634 tests: sanityn/test_77 improvements 07/33607/5
authorVladimir Saveliev <c17830@cray.com>
Mon, 9 Apr 2018 09:18:50 +0000 (12:18 +0300)
committerOleg Drokin <green@whamcloud.com>
Mon, 18 Feb 2019 06:38:10 +0000 (06:38 +0000)
commit43ac1425ad9e8c5fc1e7deff579a443b5c9c7a58
tree56f499e0bf54ccbe4b7167ca4d1aa3dce71c3323
parentceadadb374f892e9bc3ae96633b74668749faa72
LU-11634 tests: sanityn/test_77 improvements

sshd limits number of simultaneous unauthenticated connections via
MaxStartups configuration parameter. By default, 10 connections are
allowed. nrs_write_read() tries to run up to 32 do_nodes() in
parallel, causing sshd to drop some of connections.

The fix is to have do_nodes() to start required number of dd-s in
parallel.

Minor changes which were probably meant at the development:
- Test filenames include $HOSTNAME so that each client worked with its
own file, it seems. Add missing escaping backslashes so that $HOSTNAME
worked as expected.
- Add conv=notrunc parameter for dd-s which write lustre file at
  different seeks.
- Have reading dd-s to read files which were especially created for
  that.
- use /dev/null instead on /dev/zero to throw read data away.

Signed-off-by: Vladimir Saveliev <c17830@cray.com>
Change-Id: I496b0f6b50811351ac8e0e606cf5a20843fab5d4
Cray-bug-id: LUS-2493
Test-Parameters: testlist=sanityn envdefinitions=ONLY=77
Reviewed-on: https://review.whamcloud.com/33607
Reviewed-by: Elena Gryaznova <c17455@cray.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andrew Perepechko <c17827@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanityn.sh