Whamcloud - gitweb
LU-17906 ptlrpc: reduce time for connection switch 34/57234/3
authorMikhail Pershin <mpershin@whamcloud.com>
Wed, 27 Nov 2024 09:11:13 +0000 (12:11 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 2 Jan 2025 20:42:22 +0000 (20:42 +0000)
commit2d3036857edade4b73ccaaf20d5eb8cfbc91da93
treedcfa2083487e0b23905568aa5710ae6fa834f53f
parent92b34022d51c7cf33bf244db7684fefe18a87429
LU-17906 ptlrpc: reduce time for connection switch

If connection peer is not ready then reduce request
timeout for it to 1s, switching all imports connections
faster until some is ready

If connection status become ready after not-ready, try
it first to connect

Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: I87f2359f3a767ea9e52ce9da4cd5cf9b42b56320
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/57234
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/ptlrpc/import.c
lustre/ptlrpc/niobuf.c