Whamcloud - gitweb
LU-12343 osc: Fix dom handling in weight_ast 66/34966/5
authorPatrick Farrell <pfarrell@whamcloud.com>
Wed, 29 May 2019 15:02:19 +0000 (11:02 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 21 Aug 2019 04:55:30 +0000 (04:55 +0000)
commit92c4ad14d4b1e77e1566c8481195bb623472f149
tree6a5b408bb8b7f83cd080c7d9a9b6cda132e4b78a
parentdba32e417635359b1d68180b77193e1c9ddd1e8f
LU-12343 osc: Fix dom handling in weight_ast

The DOM bit can be cancelled at any time during calls to
weigh_ast, so:

1. We cannot assert that it is present
2. We cannot use it to identify the !LDLM_EXTENT case when
calling osc_lock_weight

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Ic3e7370580e35d8ae06b8330971959e0d55a4e81
Reviewed-on: https://review.whamcloud.com/34966
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/osc/osc_lock.c