-
Wang Shilong authored
ldlm_glimpse_ast() is registered for server lock which means when client send a glimpse request, it just return a special error for this lock, it is possible that local object has size expanding with this PW lock, so we should try update LVB upon error. Originally, ldlm_cb_interpret() has codes to handle this error, but it only try to handle case with some clients race, it doesn't cover server lock cases especially after we turn on lockless for DIO. Fixes: 6bce5367 ("LU-4198 clio: turn on lockless for some kind of IO") Change-Id: Ic84fd19d9eaf7f8245b8f7a2165ee5913849ac01 Signed-off-by:
Wang Shilong <wshilong@ddn.com> Reviewed-on: https://review.whamcloud.com/37611 Tested-by:
jenkins <devops@whamcloud.com> Reviewed-by:
Andreas Dilger <adilger@whamcloud.com> Tested-by:
Maloo <maloo@whamcloud.com> Reviewed-by:
Bobi Jam <bobijam@hotmail.com> Reviewed-by:
Oleg Drokin <green@whamcloud.com>
3b5c670e