Whamcloud - gitweb
LU-12343 osc: Fix dom handling in weight_ast 58/35858/2
authorPatrick Farrell <pfarrell@whamcloud.com>
Wed, 29 May 2019 15:02:19 +0000 (11:02 -0400)
committerOleg Drokin <green@whamcloud.com>
Wed, 4 Sep 2019 18:29:53 +0000 (18:29 +0000)
commitc25fadd60d55190ae24b16d46085e855c51930b0
tree5101608ad4d82fdac8a7d308b1c8dc65df0cbf26
parentf28d7ed454d6abcd776aed1c84013fbf3055651e
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

Lustre-change: https://review.whamcloud.com/34966
Lustre-commit: 4f3ce87a06e6ed90373218d3aa1eb34a7675db65

Signed-off-by: Patrick Farrell <pfarrell@whamcloud.com>
Change-Id: Ic3e7370580e35d8ae06b8330971959e0d55a4e81
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>
Reviewed-on: https://review.whamcloud.com/35858
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/osc/osc_lock.c