Whamcloud - gitweb
LU-8271 nodemap: wait before getting large conf if changed 81/26781/6
authorKit Westneat <kit.westneat@gmail.com>
Fri, 21 Apr 2017 18:57:42 +0000 (14:57 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 4 Jan 2018 02:48:16 +0000 (02:48 +0000)
commitf75631655890260549b12233589ee4b2074f20ce
tree47e6b9647358178abbe84e6e51ac8ca5cdbda81d
parent0cabe06be1fcc6c3ff690889b1e86bbe4690b854
LU-8271 nodemap: wait before getting large conf if changed

If a nodemap configuration spans multiple RPCs, it's possible for the
nodemap config to change between RPCs. Previously, the MGC would
immediately retry to get the nodemap config. This patch modifies the
behavior so the nodemap config lock is readded to the wait queue,
which will delay retrying by ~10s.

Test-Parameters: envdefinitions=SLOW=yes \
testlist=sanity-sec,sanity-sec,sanity-sec

Signed-off-by: Kit Westneat <kit.westneat@gmail.com>
Change-Id: Ie4e70def712e5eaa38adecc450e39c0380e34b69
Reviewed-on: https://review.whamcloud.com/26781
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mgc/mgc_request.c