]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rbd/rbd-exclusive-locks: mention incompatibility with advisory locks 58865/head
authorIlya Dryomov <idryomov@gmail.com>
Thu, 25 Jul 2024 07:48:10 +0000 (09:48 +0200)
committerZac Dover <zac.dover@proton.me>
Thu, 25 Jul 2024 23:39:37 +0000 (09:39 +1000)
This is due to both using the same name for the lock at the RADOS level
("rbd_lock").

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 2e83b77c9f610f42765266ff4d4d7bc2a635eac8)

doc/rbd/rbd-exclusive-locks.rst

index f9b99dfb44305c7235f4595a13cdb1e2bbf61ec8..30be01fdb948e9f4932446709875eb7f6bcec32e 100644 (file)
@@ -60,6 +60,10 @@ Exclusive locking is mostly transparent to the user:
    exclusive lock. This is exposed by the ``--exclusive`` option for ``rbd
    device map`` command.
 
+.. note::
+   The ``exclusive-lock`` feature is incompatible with RBD advisory locks
+   (the ``rbd lock add`` and ``rbd lock rm`` commands).
+
 
 Blocklisting
 ============