diff options
author | David Teigland <teigland@redhat.com> | 2015-07-02 09:17:02 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2015-07-02 09:17:02 -0500 |
commit | 7379ddea9744cea0ce3acb90393182ac07eb2972 (patch) | |
tree | 184e938af104dc8088e22eee86015b6c256c86d9 | |
parent | 83c925b13115871074b8bf105eba6055e9de9af3 (diff) | |
download | lvm2-7379ddea9744cea0ce3acb90393182ac07eb2972.tar.gz |
Add FIXME to create_sanlock_lv
-rw-r--r-- | lib/locking/lvmlockd.c | 3 |
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, |