Whamcloud - gitweb
LU-12378 ptlrpc: always reset generation for idle reconnect 52/35052/13
authorWang Shilong <wshilong@ddn.com>
Mon, 17 Jun 2019 06:58:34 +0000 (14:58 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 14 Dec 2019 05:58:41 +0000 (05:58 +0000)
commit94fbe511ba96c0b66770943d3fdb7961183d6436
tree373a941dc44f270afb6e52c41d34098a560a65dd
parentef1783e282f6eba9d69b0957f1b5fed00be0cbd6
LU-12378 ptlrpc: always reset generation for idle reconnect

Idle reconnetion is common case and reconnections will
be quick mostly, so always reset generation for this case,
otherwise, it will make application fail just for Idle
reconnection feature.

Change-Id: Ia1531df6a3288663d832865e48a30b448b225766
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/35052
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ptlrpc/import.c
lustre/tests/sanity.sh
lustre/utils/lfs.c