1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/libdm
David Teigland 46193f4a59 lvmetad: handle duplicate VG names
New hash table functions are added that allow for
multiple entries with the same key.  Use of the
vgname_to_vgid hash table is converted to these
new functions since there are multiple entries
in vgname_to_vgid that have the same key (vgname).

When multiple VGs with the same name exist, commands
that reference only a VG name will fail saying the
VG could not be found (that error message could be
improved.)  Any command that works with the select
option can access one of the VGs with -S vg_uuid=X.
vgrename is a special case that allows the first VG
name arg to be replaced by a uuid, which also works.

(The existing hash table implementation is not well
suited for handling this case, but it works ok with
the new extensions.  Changing lvmetad to use its own
custom hash tables may be preferable at some point.)
2015-11-13 14:56:35 -06:00
..
datastruct lvmetad: handle duplicate VG names 2015-11-13 14:56:35 -06:00
ioctl libdm: enable no_flush for driver version > 11 2015-10-26 07:37:59 +01:00
misc libdm: Add DM_INTERNAL_SUSPEND_FLAG. 2015-04-23 18:39:04 +01:00
mm libdm: Use wrappers for all malloc functions. 2015-07-22 23:11:48 +01:00
regex cleanup: add braces for if() 2014-07-02 10:45:43 +02:00
.exported_symbols libdm: Use wrappers for all malloc functions. 2015-07-22 23:11:48 +01:00
.exported_symbols.Base lvmetad: handle duplicate VG names 2015-11-13 14:56:35 -06:00
.exported_symbols.DM_1_02_97 libdm: new dm_task_get_info with internal_suspend 2015-05-15 16:48:22 +02:00
.exported_symbols.DM_1_02_98 libdm: Add dm_task_get_errno to return ioctl errno. 2015-05-26 15:13:49 +01:00
.exported_symbols.DM_1_02_99 libdm: add dm_tree_node_set_thin_pool_read_only 2015-06-18 15:15:39 +02:00
.exported_symbols.DM_1_02_100 config: add support for config value formatting flags 2015-06-24 11:13:37 +02:00
.exported_symbols.DM_1_02_101 report: add infrastructure to recognize fuzzy reserved names and returning dynamic reserved values 2015-07-03 10:47:09 +02:00
.exported_symbols.DM_1_02_103 libdm: Use wrappers for all malloc functions. 2015-07-22 23:11:48 +01:00
.exported_symbols.DM_1_02_104 libdm: Drop ignored duplicate export designation. 2015-08-26 17:30:36 +01:00
.exported_symbols.DM_1_02_105 pre-release 2015-08-17 17:20:14 +01:00
.exported_symbols.DM_1_02_106 libdm: add per region precise timestamps property methods 2015-08-24 20:03:21 +01:00
.exported_symbols.DM_1_02_107 libdm: add latency histogram support 2015-09-02 20:48:59 +01:00
.exported_symbols.DM_1_02_110 libdm: dm_tree_node_size_changed recognizes reduction 2015-10-25 21:05:15 +01:00
libdevmapper.h lvmetad: handle duplicate VG names 2015-11-13 14:56:35 -06:00
libdevmapper.pc.in libdm: pkgconfig: fix devmapper.pc to not reference nonexistent rt.pc file 2015-09-03 09:28:42 +02:00
libdm-common.c libdm: dev_node: use lstat instead of stat while removing and renaming nodes 2015-09-17 13:37:15 +02:00
libdm-common.h libdm: Move status fns from deptree to targets. 2015-09-28 20:28:31 +01:00
libdm-config.c libdm: add missing error path check 2015-11-09 10:19:19 +01:00
libdm-deptree.c libdm: dm_tree_node_size_changed recognizes reduction 2015-10-25 21:05:15 +01:00
libdm-file.c libdm: file: add proper checks for directory components in dm_create_dir 2015-09-17 14:29:51 +02:00
libdm-report.c libdm: put in secure check 2015-11-13 11:17:05 +01:00
libdm-stats.c libdm: reorder error path 2015-11-10 21:41:47 +01:00
libdm-string.c libdm: Add dm_size_to_string to libdevmapper. 2015-07-27 21:30:20 +01:00
libdm-targets.c cleanup: typo in comment 2015-10-13 15:22:58 +02:00
libdm-timestamp.c libdm: do not in include internal bits/time.h header 2015-08-14 11:33:12 +01:00
Makefile.in libdm: Move status fns from deptree to targets. 2015-09-28 20:28:31 +01:00