Whamcloud - gitweb
LU-13645 ldlm: don't use a locks without l_ast_data 18/39318/6
authorAlexey Lyashkov <alexey.lyashkov@hpe.com>
Tue, 18 Aug 2020 13:24:04 +0000 (16:24 +0300)
committerOleg Drokin <green@whamcloud.com>
Sat, 19 Sep 2020 14:11:50 +0000 (14:11 +0000)
commita6798c5806088dc1892dd752012a54f0ec8f1798
tree7f2908ebb3834d7e27009848b40a75f08fd64cec
parent37be05eca3f4aee15c946656a77f56967c15253d
LU-13645 ldlm: don't use a locks without l_ast_data

Partially initialized lock (without l_ast_data to be init)
caused a fail with blocking ast, as discard from page cache
skipped, and stale data will read later with fast read.
Slow read have chance to attach this lock to right IO, but
it don’t true always, so that should disabled, until lock
will have l_ast_data set always for DoM and Lock Ahead locks.

HPE-bugid: LUS-8750
Change-Id: I2c5180c8044a12d7bd8f5f1c871447ca8b47a8ff
Signed-off-by: Alexey Lyashkov <c17817@cray.com>
Reviewed-on: https://review.whamcloud.com/39318
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Vitaly Fertman <vitaly.fertman@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_dlm.h
lustre/include/lustre_osc.h
lustre/ldlm/ldlm_lock.c
lustre/mdc/mdc_dev.c
lustre/mdc/mdc_locks.c
lustre/mdt/mdt_io.c
lustre/osc/osc_cache.c
lustre/osc/osc_internal.h
lustre/osc/osc_lock.c
lustre/osc/osc_object.c
lustre/osc/osc_request.c