summaryrefslogtreecommitdiffstats
path: root/lib/metadata/pv_map.h
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2010-03-25 02:40:09 +0000
committerAlasdair Kergon <agk@redhat.com>2010-03-25 02:40:09 +0000
commitf4cea344b1157ebfc6b13415dbced9a73b91ab61 (patch)
treed5f8525a89ce3a168c900083e280c0f30fa10013 /lib/metadata/pv_map.h
parent8d6722c8adf8c704fab4abde13365d5c6d56191a (diff)
downloadlvm2-f4cea344b1157ebfc6b13415dbced9a73b91ab61.tar.gz
lvm2-f4cea344b1157ebfc6b13415dbced9a73b91ab61.tar.xz
lvm2-f4cea344b1157ebfc6b13415dbced9a73b91ab61.zip
improve a few comments in last check-in
Diffstat (limited to 'lib/metadata/pv_map.h')
-rw-r--r--lib/metadata/pv_map.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/metadata/pv_map.h b/lib/metadata/pv_map.h
index 6d6cfff2..bc591925 100644
--- a/lib/metadata/pv_map.h
+++ b/lib/metadata/pv_map.h
@@ -39,7 +39,9 @@ struct pv_area {
* an allocation attempt, track the maximum number of extents that may
* need to be used as a particular parallel area. Several of these
* structs may reference the same pv_area, but 'used' may differ between
- * them.
+ * them. The sum of all the 'used' variables referring to the same
+ * pv_area may not exceed that area's count, so we cannot allocate the
+ * same extents twice.
*/
struct pv_area_used {
struct pv_area *pva;