From 90781da5ca1701ee62ef679788706a21dcf77c15 Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Thu, 25 Jul 2024 09:48:10 +0200 Subject: [PATCH] doc/rbd/rbd-exclusive-locks: mention incompatibility with advisory locks This is due to both using the same name for the lock at the RADOS level ("rbd_lock"). Signed-off-by: Ilya Dryomov (cherry picked from commit 2e83b77c9f610f42765266ff4d4d7bc2a635eac8) --- doc/rbd/rbd-exclusive-locks.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/rbd/rbd-exclusive-locks.rst b/doc/rbd/rbd-exclusive-locks.rst index f9b99dfb44305..30be01fdb948e 100644 --- a/doc/rbd/rbd-exclusive-locks.rst +++ b/doc/rbd/rbd-exclusive-locks.rst @@ -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 ============ -- 2.39.5