summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2015-07-02 09:17:02 -0500
committerDavid Teigland <teigland@redhat.com>2015-07-02 09:17:02 -0500
commit7379ddea9744cea0ce3acb90393182ac07eb2972 (patch)
tree184e938af104dc8088e22eee86015b6c256c86d9
parent83c925b13115871074b8bf105eba6055e9de9af3 (diff)
downloadlvm2-7379ddea9744cea0ce3acb90393182ac07eb2972.tar.gz
Add FIXME to create_sanlock_lv
-rw-r--r--lib/locking/lvmlockd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/locking/lvmlockd.c b/lib/locking/lvmlockd.c
index a9ad24ad1..d4f9dcd66 100644
--- a/lib/locking/lvmlockd.c
+++ b/lib/locking/lvmlockd.c
@@ -320,6 +320,9 @@ static int _lockd_request(struct cmd_context *cmd,
/*
* Eventually add an option to specify which pv the lvmlock lv should be placed on.
+ * FIXME: when converting a VG from lock_type none to sanlock, we need to count
+ * the number of existing LVs to ensure that the new sanlock_lv is large enough
+ * for all of them that need locks.
*/
static int _create_sanlock_lv(struct cmd_context *cmd, struct volume_group *vg,