summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2016-02-16 15:33:40 -0600
committerDavid Teigland <teigland@redhat.com>2016-02-24 10:50:22 -0600
commit4682d02bc4b69f4578bc70abe398431403965bf8 (patch)
treeee979fb9bad1a172f2a16791e7d4ff8fbc3bed64
parentc8d040435f2ca86344e7eb86e27cf02eb4784ebc (diff)
downloadlvm2-4682d02bc4b69f4578bc70abe398431403965bf8.tar.gz
metadata: add fixme about code used only by liblvm
-rw-r--r--lib/metadata/metadata.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/metadata/metadata.c b/lib/metadata/metadata.c
index 8f5ccf9f3..33099b42e 100644
--- a/lib/metadata/metadata.c
+++ b/lib/metadata/metadata.c
@@ -749,6 +749,24 @@ bad:
}
/*
+ * FIXME: commands shifting to common code in toollib have left a large
+ * amount of code only used by liblvm. Either remove this by shifting
+ * liblvm to use toollib, or isolate all this code into a liblvm-specific
+ * source file. All the following and more are only used by liblvm:
+ *
+ * . vg_extend()
+ * . vg_extend_single_pv()
+ * . pvcreate_vol()
+ * . _pvcreate_check()
+ * . _pvcreate_write()
+ * . pvremove_many()
+ * . pvremove_single()
+ * . find_pv_by_name()
+ * . get_pvs()
+ * . the vg->pvs_to_write list and pv_to_write struct
+ */
+
+/*
* Extend a VG by a single PV / device path
*
* Parameters: