Whamcloud - gitweb
LU-13645 ldlm: extra checks for DOM locks 78/39878/6
authorVitaly Fertman <c17818@cray.com>
Wed, 2 Sep 2020 17:14:06 +0000 (20:14 +0300)
committerOleg Drokin <green@whamcloud.com>
Fri, 30 Oct 2020 06:20:08 +0000 (06:20 +0000)
commit0a3c72f13045309573f74f2e02771035d734cc05
tree1f17481f659d4d5075046bbcf0859bddcdb93cb0
parent06740440363424bff6cfdb467fcc5544e42cabc1
LU-13645 ldlm: extra checks for DOM locks

a couple of checks are added:
- only DOM lock can be a group lock;
- DOM bit must be the only mandatory one, or optional;

Signed-off-by: Vitaly Fertman <c17818@cray.com>
HPE-bug-id: LUS-8987
Change-Id: Iaf7a14a66eb0f125d2f6f7d06f5de0add387e101
Reviewed-on: https://review.whamcloud.com/39878
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/ldlm/ldlm_inodebits.c
lustre/mdt/mdt_internal.h
lustre/mdt/mdt_lproc.c
lustre/mdt/mdt_open.c