Whamcloud - gitweb
LU-15284 llite: access lli_lsm_md with lock in all places 55/46355/4
authorLai Siyao <lai.siyao@whamcloud.com>
Fri, 28 Jan 2022 05:08:41 +0000 (00:08 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 30 May 2022 19:03:58 +0000 (19:03 +0000)
commit1dfae156d1dbc11cfb77b2d35cbffb2da7f28137
treee131443605f86c27749cc41d6cf07f18940ad215
parent7a9c9ccabe93f2d96c80e90f8cbb786faca74835
LU-15284 llite: access lli_lsm_md with lock in all places

lli_lsm_md should be accessed with lock in all places. Among all the
changes, ll_rease_page() is inside lock already, except statahead
code.

Test-Parameters: mdscount=2 mdtcount=4 testlist=racer,racer,racer
Signed-off-by: Lai Siyao <lai.siyao@whamcloud.com>
Change-Id: I1e09402812ce51ce7ab80d9529d488cb5b2879ee
Reviewed-on: https://review.whamcloud.com/46355
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/dir.c
lustre/llite/file.c
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c
lustre/llite/namei.c
lustre/llite/statahead.c
lustre/lmv/lmv_obd.c