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-18 16:17:08 -0600
commitc52c759d3673f305c556d3a6bd02a7d3da2ac2ff (patch)
treef1e3a5d69da92e200db776c0c45cbbf1ad2c13da
parent4397b4c10a6d3119a8caf1bb19e554131d8407b7 (diff)
downloadlvm2-c52c759d3673f305c556d3a6bd02a7d3da2ac2ff.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 d41d38deb..ab1f0e72a 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: