1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib
Peter Rajnoha 5e36b86c46 config: fix one-node dumpconfig, add dm_config_write_one_node
A regression introduced in 2.02.89 (11e520256b)
caused the lvm dumpconfig <node> to print out
the node as well as its subsequent siblings.
The information about "only_one" mode got lost.

Before this patch (just an example node):
  # lvm dumpconfig global/use_lvmetad
  use_lvmetad=1
  thin_check_executable="/usr/sbin/thin_check"
  thin_check_options="-q"
  (...all nodes to the end of the section)

With this patch applied:
   # lvm dumpconfig global/use_lvmetad
   use_lvmetad=1
2012-07-20 15:53:04 +02:00
..
activate thin: detect supported features from thinp target 2012-07-18 14:35:17 +02:00
cache activate: add autoactivation hooks 2012-06-28 09:42:47 -04:00
commands cleanup: replace memset with struct initilization 2012-06-22 13:23:03 +02:00
config config: fix one-node dumpconfig, add dm_config_write_one_node 2012-07-20 15:53:04 +02:00
datastruct Switch to return void 2012-02-08 12:52:58 +00:00
device dev-io: open device read-only to obtain readahead value 2012-06-25 11:55:37 +02:00
display Never try to test character past given buffer 2012-02-13 14:23:40 +00:00
error Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
filters Support improperly formated device numbers 2012-03-20 10:47:02 +00:00
format1 cleanup: replace memset with struct initilization 2012-06-22 13:23:03 +02:00
format_pool Pass 'single_device' parameter down to suppress 'Can't find uuid' messages 2012-02-29 02:35:35 +00:00
format_text cleanup: replace memset with struct initilization 2012-06-22 13:23:03 +02:00
freeseg Replace malloc with zalloc when creating segment_type's 2011-03-25 21:59:42 +00:00
label The lvmetad client-side integration. Only active when use_lvmetad = 1 is set in 2012-02-23 13:11:07 +00:00
locking cleanup: replace memset with struct initilization 2012-06-22 13:23:03 +02:00
log Minor fixes 2012-03-28 11:11:25 +00:00
metadata thin: add discard support for thin pool 2012-07-18 14:36:57 +02:00
mirror Use same signed numbers 2012-02-23 22:30:20 +00:00
misc configure: run directory configuration cleanup 2012-06-27 12:11:47 +02:00
mm fix: limit preallocate stack size 2012-06-22 13:48:04 +02:00
raid Revert free of allocated segtype 2012-02-28 14:23:41 +00:00
replicator Revert free of allocated segtype 2012-02-28 14:23:41 +00:00
report thin: add reporting of discard for thin pool 2012-07-18 14:37:44 +02:00
snapshot Differentiate between snapshot status of "Invalid" and "Merge failed". 2012-01-20 22:02:04 +00:00
striped Add activation/use_linear_target enabled by default. (prajnoha) 2011-11-28 20:37:51 +00:00
thin thin: add discard support for thin pool 2012-07-18 14:36:57 +02:00
unknown Fix log_error() usage 2011-09-24 21:19:30 +00:00
uuid Revert the #include changes. Need to fix this at the #include site for now, and 2011-07-18 14:34:33 +00:00
zero Add lv_activate_opts structure 2011-06-17 14:14:19 +00:00
Makefile.in Reflect new file locations, include file updates etc. 2012-02-28 18:35:04 +00:00