Heinz Mauelshagen
7f1b04aefa
raid_manip: reshape_len cleanup
...
lvconvert: introduce --unduplicate option
2015-10-17 01:25:05 +02:00
Heinz Mauelshagen
a30dd0323e
raid_manip: check for non-power of 2 striped mappings on takeover
...
change seg->reshape_len processing
ontroduce #DStr (data stripes) and #Par ((rotating) parity chunks report fields
2015-10-16 16:12:59 +02:00
Heinz Mauelshagen
712889395b
raid_manip: stripe rounding returned too large result; ensure data copies in _raid_conv_duplicate()
2015-10-14 16:13:33 +02:00
Heinz Mauelshagen
dd475d209b
raid_manip: raid10 cleanup; fluff
2015-10-14 15:16:58 +02:00
Heinz Mauelshagen
a9fe6a4665
lv_manip: fix _round_to_stripe_boundary()
...
raid_manip: fix segfault
2015-10-09 17:19:32 +02:00
Heinz Mauelshagen
92cf7f1b91
lv_manip: reorder creation of metadata LVs in lv_extend() for sane vg metadata commited on failure
...
raid_manip: more stripes <-> raid10 support...
2015-10-08 22:16:01 +02:00
Heinz Mauelshagen
7bbda2e66e
raid_manip: select by segtype in _raid_conv_unduplicate(); some cleanup
2015-10-06 20:08:44 +02:00
Heinz Mauelshagen
1a1fc812ae
raid_manip: add support to split off a raid1 mirror from duplicating LVs
2015-10-06 18:25:44 +02:00
Heinz Mauelshagen
da14cdf468
lvcreate: allow for creation of raid10_near with 2 stripes
2015-10-05 14:35:52 +02:00
Heinz Mauelshagen
506b9eb1ea
change duplicating conversion namespace to "_dup"
2015-10-02 16:04:05 +02:00
Heinz Mauelshagen
2b37579d0e
raid_manip: comments + fluff
2015-10-02 15:45:03 +02:00
Heinz Mauelshagen
0b089560e1
raid_manip: allow for multiple sublvs in conversation duplication
2015-10-01 23:45:27 +02:00
Heinz Mauelshagen
3840ea2f04
lv_manip: more recursive resizing
2015-09-30 12:38:04 +02:00
Heinz Mauelshagen
b3e44be30f
lv_manip: allow to resize duplicated LVs
2015-09-29 21:31:56 +02:00
Heinz Mauelshagen
cd059e8b6b
raid_manip: trying to address unsafe table reload
2015-09-28 12:59:45 +02:00
Heinz Mauelshagen
76f7b2dd0e
raid_manip: use lv_create_single() in _lv_create()
...
fix size issue with lvreduce on raid10
2015-09-25 20:48:43 +02:00
Heinz Mauelshagen
f1117f526d
Fluff
2015-09-24 13:20:07 +02:00
Heinz Mauelshagen
525dc733a8
raid_manip: striped <-> raid01
2015-09-14 22:18:47 +02:00
Heinz Mauelshagen
87cd22469e
raid_manip: more raid01 support
2015-09-14 22:08:45 +02:00
Heinz Mauelshagen
de353ae695
raid_manip: streamline lv_raid_aplit()
...
fix raid5 with 2 images -> raid5 with N images reshape
2015-09-11 02:18:55 +02:00
Heinz Mauelshagen
51b69eb35a
dev_manager: introduce _seg_len() to cope with reshape_len
...
raid_manip: fix lv_raid_split() regression and support splitting multiple images as another raid1 mirror
2015-09-10 16:11:23 +02:00
Heinz Mauelshagen
cabcd26903
lv_manip/raid_manip: move raid segment reordering for raid10 far across to raid_manip
...
move rimage extent calculation across to raid_manip
2015-09-09 00:57:35 +02:00
Heinz Mauelshagen
3e9da6cf66
libdm-deptree: fixup raid10_near target
2015-09-08 20:38:38 +02:00
Heinz Mauelshagen
b1e1088b6d
lv_manip: fluff
2015-09-08 20:19:36 +02:00
Heinz Mauelshagen
05d8e4627a
lv_manip: fix raid10_far extend/reduce support (move to raid_manip.c?)
2015-09-08 20:02:26 +02:00
Heinz Mauelshagen
e7524d3c66
lv_manip: add raid10_far extend support (move to raid_manip.c?)
2015-09-07 18:09:13 +02:00
Heinz Mauelshagen
46594a4f73
introduce '#Cop' field for number of data copies and fixup round_to_stipe_boundary
2015-09-07 15:28:36 +02:00
Heinz Mauelshagen
7e612b5577
lv_manip: change APIs to cope with data_copies
2015-09-03 21:44:52 +02:00
Heinz Mauelshagen
fecc9ece3b
lv_manip: start to avoid area_multiple, because it is not suitable for odd raid10 devices numbers
...
add seg->mirrors to keep track of number of mirrors for raid10
2015-09-03 15:42:31 +02:00
Heinz Mauelshagen
e3709fc191
Fluff
2015-09-01 11:22:17 +02:00
Heinz Mauelshagen
ccb3bbcc25
More raid10_{far,offset} support
2015-09-01 11:21:19 +02:00
Heinz Mauelshagen
fc462a76c9
Merge with master 81d4c4a84c
2015-08-21 18:16:21 +02:00
Heinz Mauelshagen
00ff2a2236
Merge with master 1fae121b22
2015-08-21 18:10:59 +02:00
David Teigland
8cf5993e96
lvmlockd: fix sending debug info to lvmlockctl
...
Single messages sent over unix sockets are limited in
size to /proc/sys/net/core/wmem_max, so send the 1MB
debug buffer in smaller chunks to avoid EMSGSIZE.
Also look for EAGAIN and retry sending for a limited
time when the reader is slower than the writer.
Also shift the location of that code so it's the same
as other requests.
2015-08-21 17:52:35 +02:00
Heinz Mauelshagen
c14cb79ac0
WHATS_NEW: Update.
2015-08-21 16:25:53 +02:00
Ferenc Wágner
1ed7c70c44
cmirrord: avoid resync buffer overflow in LOG_SPRINT
...
Use snprintf() instead of sprintf() to exclude the possibility of
overflowing the resync history buffers.
2015-08-21 16:24:44 +02:00
Ferenc Wágner
efaf00f1cf
cmirrord: avoid debugging buffer overflow in LOG_SPRINT
...
Use snprintf() instead of sprintf() to exclude the possibility of
overflowing the debugging history buffers.
2015-08-21 16:24:44 +02:00
Ferenc Wágner
666b131d0b
cmirrord: fix stack smashing
...
With clusters larger than 3 nodes, the 32-byte debug buffer in
cpg_join_callback() is too small to contain all the node IDs, because
32-bit identifiers are generally rendered in 10 decimal digits. No fixed
size is good in all cases, but this is conditionally logged debug info,
so we can simply truncate it. Double the size, nevertheless.
2015-08-21 16:24:44 +02:00
Ferenc Wágner
b09894194b
cmirrord manual: add --foreground and --help options
2015-08-21 16:24:44 +02:00
Ferenc Wágner
2d62e363b1
cmirrord: add --foreground and --help options.
2015-08-21 16:24:44 +02:00
Ferenc Wágner
3dae11c5a5
cmirrord: move generic setup from daemonize() to init_all()
...
Apply pidfile creation, removal and signal setup to foreground processes too.
2015-08-21 16:24:44 +02:00
Heinz Mauelshagen
f67093e415
Merge with master 23770214a9
2015-08-20 18:56:12 +02:00
Heinz Mauelshagen
6f7d5df5fa
Fluff
2015-08-20 18:48:07 +02:00
Heinz Mauelshagen
a3789e4758
Fluff
2015-08-20 18:38:27 +02:00
Heinz Mauelshagen
dd42db8164
remove explicit PFL() macros from files; raid_manip: more duplication conversions possible
2015-08-20 18:35:25 +02:00
Heinz Mauelshagen
2621f3da87
Merge with master 9c5a85ce24
2015-08-20 18:31:28 +02:00
Heinz Mauelshagen
ee4df99b36
fluff
2015-08-18 11:59:32 +02:00
Heinz Mauelshagen
901b5d95b6
raid_manip: decision on type which leg to keep in _raid_conv_duplite()
2015-08-17 10:45:25 +02:00
Heinz Mauelshagen
e0d4a4dca7
raid_manip: start supporting more duplication conversions
2015-08-13 12:22:19 +02:00
Heinz Mauelshagen
733417eb80
raid_manip: address deactivation of source/destination lv sublvs on conversion duplication
2015-08-12 19:19:22 +02:00