Commit 25a76b1
rbd: rename RBD_LOCK_STATE_RELEASING and releasing_wait
BugLink: https://bugs.launchpad.net/bugs/2078428
commit f5c466a upstream.
... to RBD_LOCK_STATE_QUIESCING and quiescing_wait to recognize that
this state and the associated completion are backing rbd_quiesce_lock(),
which isn't specific to releasing the lock.
While exclusive lock does get quiesced before it's released, it also
gets quiesced before an attempt to update the cookie is made and there
the lock is not released as long as ceph_cls_set_cookie() succeeds.
Signed-off-by: Ilya Dryomov <[email protected]>
Reviewed-by: Dongsheng Yang <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Koichiro Den <[email protected]>
Signed-off-by: Stefan Bader <[email protected]>1 parent 723ca13 commit 25a76b1
1 file changed
+10
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
| 425 | + | |
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
528 | | - | |
| 528 | + | |
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
| |||
3460 | 3460 | | |
3461 | 3461 | | |
3462 | 3462 | | |
3463 | | - | |
| 3463 | + | |
3464 | 3464 | | |
3465 | 3465 | | |
3466 | 3466 | | |
3467 | 3467 | | |
3468 | | - | |
| 3468 | + | |
3469 | 3469 | | |
3470 | 3470 | | |
3471 | 3471 | | |
| |||
4183 | 4183 | | |
4184 | 4184 | | |
4185 | 4185 | | |
4186 | | - | |
4187 | | - | |
| 4186 | + | |
| 4187 | + | |
4188 | 4188 | | |
4189 | 4189 | | |
4190 | 4190 | | |
4191 | 4191 | | |
4192 | | - | |
| 4192 | + | |
4193 | 4193 | | |
4194 | 4194 | | |
4195 | | - | |
| 4195 | + | |
4196 | 4196 | | |
4197 | 4197 | | |
4198 | 4198 | | |
| |||
5387 | 5387 | | |
5388 | 5388 | | |
5389 | 5389 | | |
5390 | | - | |
| 5390 | + | |
5391 | 5391 | | |
5392 | 5392 | | |
5393 | 5393 | | |
| |||
0 commit comments