Whamcloud - gitweb
LU-9066 ldlm: don't evict client on umount if AST fails 21/23921/10
authorMikhal Pershin <mike.pershin@intel.com>
Thu, 3 Nov 2016 22:17:30 +0000 (06:17 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 23 Mar 2017 01:41:16 +0000 (01:41 +0000)
commiteda984e7cb4e6a97310ed0f5e81f398dc48b56bf
treeea322254bd45204d32bd2336c09316c5585cc6a5
parent6c8085515d84ec6fd8abe82b007624d67927d089
LU-9066 ldlm: don't evict client on umount if AST fails

When server is being stopped the AST send is denied and
that AST failure will lead to the unexpected client
eviction.
Patch adds extra checks in ldlm_handle_ast_error() to
distinguish that type of error and proceed without
eviction.

Signed-off-by: Mikhal Pershin <mike.pershin@intel.com>
Change-Id: I57c7f417376ac64c8df4c6d5f68bea5083c0d22f
Reviewed-on: https://review.whamcloud.com/23921
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ldlm/ldlm_lockd.c