Alasdair Kergon
72b2cb613a
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
b810c54700
sign fix
2006-05-04 09:33:42 +00:00
Alasdair Kergon
98513c2729
fix stripesize const
2006-05-02 07:14:43 +00:00
Alasdair Kergon
12de747d3a
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
8b4273d298
missing {
2006-04-28 21:07:19 +00:00
Alasdair Kergon
2f1489a673
Fix activation code to check for pre-existing mirror logs.
2006-04-28 17:01:07 +00:00
Alasdair Kergon
e24e713001
_register_dev_for_events to return error on failure
2006-04-28 14:06:06 +00:00
Alasdair Kergon
81b4308bde
Ignore empty strings in config files.
2006-04-28 13:30:59 +00:00
Alasdair Kergon
6aa17fe8d2
remove redundant list_init
2006-04-27 17:58:48 +00:00
Alasdair Kergon
26b2524996
Invalidate cache if composition of VG changed externally.
2006-04-21 19:12:41 +00:00
Alasdair Kergon
16959f2f01
terminate vgid in debug mesg
2006-04-21 15:37:08 +00:00
Alasdair Kergon
05ffaffe0c
Fix vgid string termination in recent cache code.
2006-04-21 14:44:33 +00:00
Alasdair Kergon
9e8a7c7dab
remove inlines
2006-04-19 18:12:33 +00:00
Alasdair Kergon
8a2fc58645
Check for libsepol.
...
Add some cflow & scope support.
Separate out DEFS from CFLAGS.
Remove inlines and use unique function names.
2006-04-19 15:33:07 +00:00
Alasdair Kergon
dbd3026f8a
vgrename accepts vgid and exported VG.
2006-04-13 21:08:29 +00:00
Alasdair Kergon
2ab16287e6
When choosing between identically-named VGs, also consider creation_host.
2006-04-13 17:32:24 +00:00
Alasdair Kergon
a5fe5a7cdd
Fix vgexport/vgimport to set/reset PV exported flag so pv_attr is correct.
...
Add vgid to struct physical_volume and pass with vg_name to some functions.
2006-04-12 21:23:04 +00:00
Alasdair Kergon
e8db70239e
If two or more VGs are found with the same name, use one that is not exported.
2006-04-12 17:54:11 +00:00
Alasdair Kergon
5dbc1f263a
tidy
2006-04-11 19:09:55 +00:00
Alasdair Kergon
f084e627cc
When scanning, also record whether or not VG is exported.
2006-04-11 17:42:15 +00:00
Alasdair Kergon
f9c232c2ee
Use lvmcache_update_vgname_and_id throughout.
2006-04-11 16:00:26 +00:00
Alasdair Kergon
cced28dac3
Whenever vgname is captured, also capture vgid.
2006-04-11 13:55:59 +00:00
Alasdair Kergon
a14aa9d8c3
Capture vgid in more places.
2006-04-10 22:09:00 +00:00
Alasdair Kergon
ace652e673
lv_is_visible()
2006-04-07 17:41:56 +00:00
Alasdair Kergon
472ac5bdd5
more snapshot code tidying
2006-04-06 14:06:27 +00:00
Alasdair Kergon
2cd0aa727a
Introduce origin_from_cow()
2006-04-06 13:39:16 +00:00
Alasdair Kergon
1a01b0c103
Suppress locking library load failure message if --ignorelockingfailure.
2006-04-03 18:43:55 +00:00
Alasdair Kergon
9f5d8283a9
Propagate partial mode around cluster.
2006-03-09 22:34:13 +00:00
Alasdair Kergon
d6207798e6
Fix archive file expiration.
2006-03-07 15:43:05 +00:00
Alasdair Kergon
e408d62eaf
suspend using existing LV metadata; vgreduce then needs partial flag
2006-02-03 19:36:20 +00:00
Alasdair Kergon
e4c11ad108
Only do lockfs filesystem sync when suspending snapshots.
...
Switchover library building to use LIB_SUFFIX.
2006-01-31 14:52:30 +00:00
Alasdair Kergon
8b888354c8
When suspending, dmeventd deregistration needs to use existing details
...
not precommitted ones.
2006-01-27 20:39:37 +00:00
Alasdair Kergon
1b6e5052c9
Fix dmeventd sharedlib path & start tidying registration code.
2006-01-27 20:13:12 +00:00
Alasdair Kergon
54d9d3cf3c
Add config file setting: dmeventd/mirror_library
2006-01-27 19:05:05 +00:00
Alasdair Kergon
ed09d7e394
Rename register_dev; fix missing initialisation; reduce number of ifdefs.
2006-01-27 18:38:14 +00:00
Alasdair Kergon
079ac15ece
vgreduce remove mirror images
...
adjust block_on_error version no detection for RHEL4U3
2006-01-04 18:09:52 +00:00
Alasdair Kergon
bfe2b5480e
Always print warning if activation is disabled.
2005-12-22 16:13:38 +00:00
Alasdair Kergon
fd4808fe8c
fix libdevmapper-event include
2005-12-21 19:45:16 +00:00
Alasdair Kergon
7f0ada9b09
fixme
2005-12-19 22:36:04 +00:00
Alasdair Kergon
bbf83db14a
Set block_on_error parameter if available.
...
Add target_version.
2005-12-19 21:01:39 +00:00
Alasdair Kergon
cad9fac9c6
Add details to format1 'Invalid LV in extent map' error message.
2005-12-19 16:28:35 +00:00
Alasdair Kergon
b541308454
ability to pass log flags to libdevmapper
2005-12-13 15:57:32 +00:00
Alasdair Kergon
e412000122
comment
2005-12-13 13:32:19 +00:00
Alasdair Kergon
e64934773b
Fix lvscan snapshot full display.
...
dmeventd fixes
2005-12-08 17:49:34 +00:00
Alasdair Kergon
15d91f5a68
More dmeventd support.
2005-12-02 20:35:07 +00:00
Alasdair Kergon
e2619d9ec1
more lvconvert mirror code
2005-11-29 18:20:23 +00:00
Alasdair Kergon
c27920b1ca
Determine parallel PVs to avoid with ALLOC_NORMAL allocation. (untested)
2005-11-28 20:01:00 +00:00
Alasdair Kergon
e3195fecf1
alloc avoids parallel pvs when supplied
2005-11-24 21:23:55 +00:00
Alasdair Kergon
c0a33e10ae
preparation for parallel_areas changes to allocation code
2005-11-24 20:58:44 +00:00
Alasdair Kergon
2fb492f665
Fix lv_empty.
2005-11-24 18:46:51 +00:00