Whamcloud - gitweb
LU-16046 ldlm: group lock fix 38/48038/6
authorVitaly Fertman <c17818@cray.com>
Wed, 8 Jun 2022 20:05:45 +0000 (23:05 +0300)
committerOleg Drokin <green@whamcloud.com>
Sat, 15 Oct 2022 05:58:38 +0000 (05:58 +0000)
commit3ffcb5b700ebfd68dba4daca4192fdacaf7fd541
tree927ea33d523951e8aade1f8309a821d42f2180d1
parentbc37f89a81ea0a2fae8668e21247552e8894bfd8
LU-16046 ldlm: group lock fix

The original LU-9964 fix had a problem because with many pages in
memory grouplock unlock takes 10+ seconds just to discard them.

The current patch makes grouplock unlock asynchronous. It introduces
a logic similar to the original one, but on mdc/osc layer.

add a new test similar to sanity_244b but for DOM layout files.

HPE-bug-id: LUS-10644, LUS-10906
Signed-off-by: Vitaly Fertman <vitaly.fertman@hpe.com>
Change-Id: Ib6d6a3a41baff5b0161468abfd959f52e2a1b497
Reviewed-on: https://es-gerrit.dev.cray.com/159856
Reviewed-by: Andriy Skulysh <andriy.skulysh@hpe.com>
Reviewed-by: Alexander Boyko <c17825@cray.com>
Tested-by: Elena Gryaznova <c17455@cray.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/48038
Reviewed-by: Alexander <alexander.boyko@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/lustre_osc.h
lustre/mdc/mdc_dev.c
lustre/osc/osc_lock.c
lustre/osc/osc_object.c
lustre/tests/sanity.sh