1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00
lvm2/lib
Dave Wysochanski 4df3d5ad25 Add pv_get_property and create generic internal _get_property function.
We need to use a similar function for pv and lv properties, so just make
a generic _get_property() function that contains most of the required
functionality.  Also, add a check to ensure the field name matches the
object passed in by re-using report_type_t enum.  For pv properties,
the report_type might be either PVS or LABEL.

In addition, add 'const' to 'get' functions object parameter, but not
'set' functions.  Add _not_implemented_set() and _not_implemented_get()
functions.
2010-09-30 14:09:45 +00:00
..
activate This patch fixes a potential for I/O to hang and LVM commands 2010-08-26 14:21:50 +00:00
cache Track recursive filter iteration to avoid refreshing while in use. (2.02.56) 2010-09-22 01:36:13 +00:00
commands Reinitialize archive and backup handling on toolcontext refresh. 2010-09-09 13:07:13 +00:00
config Speed up CRC32 calculations by using a larger lookup table. 2010-09-27 19:09:34 +00:00
datastruct Remove unnecessary / duplicate dm_list macros and functions. 2009-11-25 20:44:07 +00:00
device drop an unnecessary 'stack' 2010-09-27 19:15:13 +00:00
display Allow internal suspend and resume of origin without its snapshots. 2010-08-17 16:25:32 +00:00
error Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
filters Fix name in msg in last checkin. 2010-09-22 01:50:38 +00:00
format1 Fix handling of partial VG for lvm1 format metadata 2010-09-22 13:45:21 +00:00
format_pool Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
format_text Speed up CRC32 calculations by using a larger lookup table. 2010-09-27 19:09:34 +00:00
freeseg Fix reporting of LV fields alongside unallocated PV segments. 2008-06-25 16:52:27 +00:00
label Speed up CRC32 calculations by using a larger lookup table. 2010-09-27 19:09:34 +00:00
locking Use 'SINGLENODE' instead of 'dead' in clvmd singlenode messages. 2010-08-17 19:25:05 +00:00
log Various cleanups following recent commits. 2010-06-21 15:56:57 +00:00
metadata Add pv_name_dup() and pv_fmt_dup() helper functions. 2010-09-30 14:09:22 +00:00
mirror Allow internal suspend and resume of origin without its snapshots. 2010-08-17 16:25:32 +00:00
misc Speed up unquoting of quoted double quotes and backslashes. 2010-09-28 01:29:06 +00:00
mm Maps fix 2010-09-30 11:32:40 +00:00
replicator Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
report Add pv_get_property and create generic internal _get_property function. 2010-09-30 14:09:45 +00:00
snapshot Monitor origin -real device below snapshot instead of overlay device. (brassow) 2010-08-17 01:16:41 +00:00
striped Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
unknown Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
uuid Add id_format_and_copy() common function and call from _uuid_disp. 2010-09-30 14:07:33 +00:00
zero Use __attribute__ consistently throughout. 2010-07-09 15:34:40 +00:00
Makefile.in Refactor metadata.[ch] into lv.[ch] for lv functions. 2010-09-30 13:05:45 +00:00