rbd: rename RBD_LOCK_STATE_RELEASING and releasing_wait
authorIlya Dryomov <idryomov@gmail.com>
Tue, 23 Jul 2024 15:54:39 +0000 (17:54 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 25 Jul 2024 10:18:01 +0000 (12:18 +0200)
commitf5c466a0fdb2d9f3650d2e3911b0735f17ba00cf
tree4b10d4656d80bc1aca4ee96fef1652f42454ac40
parent03230edb0bd831662a7c08b6fef66b2a9a817774
rbd: rename RBD_LOCK_STATE_RELEASING and releasing_wait

... 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 <idryomov@gmail.com>
Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
drivers/block/rbd.c