Alasdair Kergon
7840c78a23
Add DISTCLEAN_TARGETS to make template for configure.h.
...
More fixes to error paths.
2006-05-16 20:53:13 +00:00
Alasdair Kergon
c706f3246b
fix error path
2006-05-16 20:42:01 +00:00
Alasdair Kergon
608eedf88d
Fix lvcreate corelog validation.
...
Add --config for overriding most config file settings from cmdline.
Quote arguments when printing command line.
Remove linefeed from 'initialising logging' message.
Add 'Completed' debug message.
Don't attempt library exit after reloading config files.
Always compile with libdevmapper, even if device-mapper is disabled.
2006-05-16 16:48:31 +00:00
Alasdair Kergon
a564ca82be
Fix corelog segment line.
...
Suppress some compiler warnings.
2006-05-16 16:20:29 +00:00
Patrick Caulfield
c868b1fee2
Add needed include.
2006-05-15 12:32:08 +00:00
Alasdair Kergon
22374f718f
fix compile
2006-05-15 11:56:15 +00:00
Alasdair Kergon
abe3cfcf41
post-release
2006-05-12 20:32:39 +00:00
Alasdair Kergon
59db4b50cd
fix dev->device
v2_02_06
old-v2_02_06
2006-05-12 19:47:40 +00:00
Alasdair Kergon
bdae38765d
not reqd
2006-05-12 19:44:42 +00:00
Alasdair Kergon
66d3ceeb61
pre-release
2006-05-12 19:41:43 +00:00
Alasdair Kergon
445dd17db3
Add --monitor to vgcreate and lvcreate to control dmeventd registration.
...
Propagate --monitor around cluster.
Filter LCK_NONBLOCK in clvmd lock_vg.
2006-05-12 19:16:48 +00:00
Alasdair Kergon
cff78a2577
fix compile
2006-05-12 13:33:22 +00:00
Alasdair Kergon
6a09e64195
Pre-release.
dm_v1_02_07
old-dm_v1_02_07
2006-05-11 20:24:07 +00:00
Alasdair Kergon
22eabe5eab
M for unsynced mirror
2006-05-11 20:17:17 +00:00
Alasdair Kergon
b69ba36c2d
Add --nosync to lvcreate with LV flag NOTSYNCED.
2006-05-11 20:03:40 +00:00
Alasdair Kergon
5240aad22b
Use mirror's uuid for a core log.
2006-05-11 19:47:53 +00:00
Alasdair Kergon
2897eb3cb3
Add mirror log fault-handling policy.
2006-05-11 19:45:53 +00:00
Alasdair Kergon
d3f2f00c25
Add DM_CORELOG flag to dm_tree_node_add_mirror_target().
2006-05-11 19:10:55 +00:00
Alasdair Kergon
bacfb913a0
Avoid a dmeventd compiler warning.
2006-05-11 19:08:02 +00:00
Alasdair Kergon
c99d0236a0
Propagate nosync flag around cluster.
2006-05-11 19:05:21 +00:00
Alasdair Kergon
aac2b655f7
Allow vgreduce to handle mirror log failures.
2006-05-11 19:01:11 +00:00
Alasdair Kergon
126c41e73a
Check in-sync status before changing disk log.
2006-05-11 18:56:55 +00:00
Alasdair Kergon
359ee54f0d
Add --corelog to lvcreate and lvconvert.
2006-05-11 18:54:04 +00:00
Alasdair Kergon
28ab560907
Create a log header for replacement in-sync mirror log.
...
Use set_lv() and dev_set() to wipe sections of devices.
Add mirror_in_sync() flag to avoid unnecessary resync on activation.
2006-05-11 18:39:24 +00:00
Alasdair Kergon
ead252fee4
Add mirror_library description to example.conf.
...
More compile-time cleanup.
2006-05-11 17:58:58 +00:00
Alasdair Kergon
abf67914c4
post-release
2006-05-10 20:46:28 +00:00
Alasdair Kergon
127884e9dd
pre-release
dm_v1_02_06
old-dm_v1_02_06
2006-05-10 20:14:15 +00:00
Alasdair Kergon
654f5049eb
Move DEFS into configure.h.
...
Remove dmsetup line buffer limitation.
2006-05-10 19:38:25 +00:00
Alasdair Kergon
979ca34259
fix last commit
2006-05-10 17:51:02 +00:00
Alasdair Kergon
4dd1086805
more coverity fixes
2006-05-10 17:49:25 +00:00
Alasdair Kergon
3503d4b72c
Fix uuid_from_num() buffer overrun.
2006-05-10 16:42:03 +00:00
Alasdair Kergon
b8d32a0d33
coverity fixes
2006-05-10 16:23:41 +00:00
Alasdair Kergon
45dca55fc8
Make SIZE_SHORT the default for display_size().
...
Fix some memory leaks in error paths found by coverity.
Use C99 struct initialisers.
Move DEFS into configure.h.
Clean-ups to remove miscellaneous compiler warnings.
2006-05-09 21:23:51 +00:00
Alasdair Kergon
445d8ecd9f
sign fix
2006-05-04 09:33:42 +00:00
Alasdair Kergon
c980add503
fix stripesize const
2006-05-02 07:14:43 +00:00
Alasdair Kergon
133842392a
Improve stripe size validation.
...
Increase maximum stripe size limit to physical extent size for lvm2 metadata.
2006-04-29 22:08:43 +00:00
Alasdair Kergon
8baf2ef155
missing {
2006-04-28 21:07:19 +00:00
Alasdair Kergon
20b71340bc
validate region size against page size
2006-04-28 17:25:54 +00:00
Alasdair Kergon
61d8baf8b1
Fix activation code to check for pre-existing mirror logs.
2006-04-28 17:01:07 +00:00
Alasdair Kergon
56a9645aa5
Tighten region size validation.
2006-04-28 15:01:39 +00:00
Alasdair Kergon
85877000a6
tweak .so loading messages; extra device_exists() sanity check
2006-04-28 14:08:04 +00:00
Alasdair Kergon
2f7d2477b6
_register_dev_for_events to return error on failure
2006-04-28 14:06:06 +00:00
Alasdair Kergon
21ea3f05f4
Ignore empty strings in config files.
2006-04-28 13:30:59 +00:00
Alasdair Kergon
79d3492e90
Require non-zero regionsize and document parameter on lvcreate man page.
2006-04-28 13:11:05 +00:00
Alasdair Kergon
5972777abe
remove redundant list_init
2006-04-27 17:58:48 +00:00
Alasdair Kergon
8e373ff868
Invalidate cache if composition of VG changed externally.
2006-04-21 19:12:41 +00:00
Alasdair Kergon
a4db92da3a
terminate vgid in debug mesg
old-v2_02_05
v2_02_05
2006-04-21 15:37:08 +00:00
Alasdair Kergon
9b777eb281
pre-release
2006-04-21 15:27:38 +00:00
Alasdair Kergon
bd3c652184
Fix vgid string termination in recent cache code.
2006-04-21 14:44:33 +00:00
Alasdair Kergon
800f747570
Increase dmsetup line buffer to 4k.
2006-04-19 20:43:30 +00:00