Whamcloud - gitweb
LU-9294 mgs: ignore stale barrier locks 55/26455/6
authorFan Yong <fan.yong@intel.com>
Sat, 3 Dec 2016 00:08:25 +0000 (08:08 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 1 May 2017 17:49:26 +0000 (17:49 +0000)
commitf960c41d1ca0a106f36f7e773cc3349e84226118
tree4a69c4890243c5be0ca80495cdfd2a584386e345
parent91f6eff60f279a41e4d7869da5736cb2ac67868a
LU-9294 mgs: ignore stale barrier locks

Currently, when MDT umount/crash, it may not notify the MGS
to cleanup related barrier lock and bitmap. Then subsequent
barrier operation may find some stale barrier locks. It is
unnecessary to return failure by mgs_barrier_glimpse_lock()
for such case, the caller will handle that properly.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I341fd648da2eebbaab729145d1f06c420fce6455
Reviewed-on: https://review.whamcloud.com/26455
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mgs/mgs_barrier.c
lustre/tests/sanity.sh