Whamcloud - gitweb
LU-10632 tests: recovery-small test_26 idle_timeout 37/43237/2
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 11 Mar 2021 09:39:57 +0000 (02:39 -0700)
committerOleg Drokin <green@whamcloud.com>
Wed, 5 May 2021 21:23:23 +0000 (21:23 +0000)
commitff8f84a216b8ef432891220971b3ca6d5f1df39d
treeeea9480804e39f6b9e5a331c33b84136b9dfb381
parent6a023a8d772b052a70927dc5c8b481072bfe164e
LU-10632 tests: recovery-small test_26 idle_timeout

In recovery-small test_26() use "lfs df" instead of plain "df"
since statfs may be fetched from the MDS cache and will not
ensure that the client->OST connections are currently active.

Also, check a few entries further back in the OSC state log for an
EVICTED message, in case the client idle disconnects from the server
again while checking all of the imports.

Lustre-change: https://review.whamcloud.com/42006
Lustre-commit: b4391fcdaf392a50bd1419342eca3b730c077ed2

Test-Parameters: trivial testlist=recovery-small env=ONLY=26a,ONLY_REPEAT=100

Fixes: 5a6ceb664f07 ("LU-7236 ptlrpc: idle connections can disconnect")

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I8c370cb75f4e06258ef3c032630fc20354a15dcc
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/43237
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/recovery-small.sh
lustre/tests/test-framework.sh