Whamcloud - gitweb
LU-13128 osc: glimpse and lock cancel race 15/37215/5
authorAlexander Zarochentsev <c17826@cray.com>
Thu, 9 Jan 2020 17:45:56 +0000 (20:45 +0300)
committerOleg Drokin <green@whamcloud.com>
Sat, 8 Feb 2020 03:59:41 +0000 (03:59 +0000)
commit7c99f67d9d39e8a037e830cf08a9df305e6d8da2
tree41a3b0bdab2b13eef8f513a80379b34e7550f244
parent6dc37759cfb22727ac5d776c38b72e8638563fd8
LU-13128 osc: glimpse and lock cancel race

osc_dlm_blocking_ast0 clears l_ast_data before writing
file data to OST and opens a race window. Neither a glimpse
AST nor ldlm_cb_interpret can find correct file attributes at
that moment.

Cray-bug-id: LUS-8344
Signed-off-by: Alexander Zarochentsev <c17826@cray.com>
Change-Id: Iadac4f7da94b71639430c9a7cdd77d55e7ba2849
Reviewed-on: https://review.whamcloud.com/37215
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andrew Perepechko <c17827@cray.com>
Reviewed-by: Andriy Skulysh <c17819@cray.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd_support.h
lustre/mdc/mdc_dev.c
lustre/osc/osc_lock.c
lustre/tests/sanityn.sh