Alasdair Kergon
24c0c70f90
Fix segfault after _free_vginfo by remembering to remove vginfo from list.
2008-06-09 16:22:33 +00:00
Dave Wysochanski
757f91ca89
Add simple test case to repro pvs segfault with duplicate vgnames.
2008-06-09 15:31:58 +00:00
Alasdair Kergon
5c34f7847e
bring list.h into line with lvm2
2008-06-08 14:53:51 +00:00
Alasdair Kergon
de456f014e
Tweak detection of invalid fid after changes to PVs in VG in _vg_read.
2008-06-08 14:18:44 +00:00
Alasdair Kergon
d29565066d
Revert assuming precommitted metadata is live when activating (unnecessary).
2008-06-08 11:33:15 +00:00
Alasdair Kergon
4d52c9233b
.
2008-06-06 20:45:41 +00:00
Alasdair Kergon
6da1ca0cb9
rename some config vars
2008-06-06 20:44:35 +00:00
Alasdair Kergon
2f02f1518a
Bring configure.in into line with the lvm2 version.
2008-06-06 20:33:13 +00:00
Alasdair Kergon
e8863707de
Drop cached metadata for disappearing VG in vgmerge.
2008-06-06 19:32:35 +00:00
Alasdair Kergon
6a336dfc69
post-release
2008-06-06 19:28:35 +00:00
Alasdair Kergon
35dec1b9e4
pre-release
2008-06-06 19:09:19 +00:00
Alasdair Kergon
f148280c99
switch to single quotes rather than double for nameprefixes
2008-06-06 19:07:47 +00:00
Alasdair Kergon
599fe39749
nameprefixes
2008-06-06 18:53:26 +00:00
Alasdair Kergon
44f3fcb238
change --prefixes to --nameprefixes
2008-06-06 18:53:08 +00:00
Alasdair Kergon
af40fdb285
back out unnecessary changes for this release
2008-06-06 17:36:19 +00:00
Alasdair Kergon
9daf8b825c
pre-release
2008-06-06 17:24:28 +00:00
Alasdair Kergon
ef5d8ce367
cleaner LCK_LV decoding
2008-06-06 16:37:51 +00:00
Alasdair Kergon
4a199ab23b
cache dropping needs to use old name not new
...
rename variable to reduce confusion
2008-06-06 16:13:35 +00:00
Jim Meyering
6f0f5a569d
* lvm-utils.sh (init_root_dir_): Correct a diagnostic.
...
Author: Jim Meyering <meyering@redhat.com>
2008-06-06 13:48:57 +00:00
Alasdair Kergon
3172fbfde6
Drop cached metadata when renaming a VG.
2008-06-06 13:04:44 +00:00
Alasdair Kergon
e97a07a505
fix _free_vginfo not to remove a ref to a *different* vginfo from the vgid cache
2008-06-06 12:43:40 +00:00
Alasdair Kergon
6579ad92da
cope with volatile vginfo in vg_read
2008-06-06 11:12:50 +00:00
Alasdair Kergon
ec2fad0cfa
Allow for vginfo changing during _vg_read.
2008-06-06 09:48:04 +00:00
Alasdair Kergon
6196ac7995
Initialise params buffer to empty string in _emit_segment.
2008-06-05 19:10:35 +00:00
Alasdair Kergon
095a861018
Decode numbers in clvmd debugging output.
2008-06-05 14:24:28 +00:00
Alasdair Kergon
2449ed7765
Add missing deactivation after activation failure in lvcreate -Zy.
2008-06-05 13:38:30 +00:00
Alasdair Kergon
117a0408d6
When activating, if precommitted metadata is still cached, assume it's live.
2008-06-05 13:06:39 +00:00
Alasdair Kergon
a54b0223a3
When removing LV symlinks, skip any where the VG name is not determined.
2008-06-05 12:45:55 +00:00
Alasdair Kergon
44ee708ba5
Drop metadata cache if update fails in vg_revert or vg_commit.
2008-06-03 17:56:54 +00:00
Alasdair Kergon
58a20d0fb6
Correct config file line numbers in messages when parsing comments. (kabi)
2008-06-03 17:51:04 +00:00
Alasdair Kergon
063078a02d
suppress warning on silent failure with ECMD_PROCESSED
2008-06-03 17:48:13 +00:00
Dave Wysochanski
01402fea50
Trivial fix to lvchange man pg for consistency.
2008-06-02 15:54:32 +00:00
Alasdair Kergon
b7fc2d1147
In script-processing mode, stop if any command fails.
...
Warn if command exits with non-zero status code without a prior log_error.
2008-05-30 15:27:44 +00:00
Alasdair Kergon
43eeb7011c
fix setpriority int error
2008-05-28 23:12:45 +00:00
Alasdair Kergon
d7901a4220
Avoid spurious duplicate VG messages referring to VGs that are gone.
...
(untested)
2008-05-28 22:27:47 +00:00
Alasdair Kergon
0c6271dabc
Skip add_dev_node when ioctls disabled.
...
Make dm_hash_iter safe against deletion.
Accept a NULL pointer to dm_free silently.
2008-05-21 16:14:46 +00:00
Alasdair Kergon
2d4cf0c9f5
Temporarily disable dmeventd mirror monitoring during lvchange --resync.
2008-05-21 14:10:11 +00:00
Alasdair Kergon
0646d0dd91
revert accidental checkin
2008-05-19 20:06:34 +00:00
Alasdair Kergon
83e54b45a5
Refactor some vginfo manipulation code.
2008-05-19 19:49:56 +00:00
Alasdair Kergon
5cd87d3d27
more cleanup
2008-05-09 19:26:58 +00:00
Alasdair Kergon
689d8a80b5
More P_ and V_ lock cleanup.
2008-05-09 18:45:15 +00:00
Alasdair Kergon
b1d82a92e7
Add missing mutex around clvmd lvmcache_drop_metadata library call.
2008-05-09 15:13:20 +00:00
Christine Caulfield
4d65627a50
Fix uninitialised mutex in clvmd if all daemons are not running at startup.
...
Thanks to Mark Hlawatschek for pointing this out.
2008-05-09 09:59:39 +00:00
Christine Caulfield
ce3a68d817
Make clvmd-cman use a hash rather than an array for node updown info.
...
This will allow it to cope with very large nodeids such as those
generated by clusters using cman_tool join -X
2008-05-09 07:20:04 +00:00
Alasdair Kergon
409725be24
Avoid unnecessary unlock attempts with LCK_CACHE pseudo-locks.
2008-05-08 18:35:58 +00:00
Alasdair Kergon
b74f74a0d7
When asked to drop cached committed VG metadata, invalidate cached PV labels.
2008-05-08 18:28:27 +00:00
Alasdair Kergon
719d554430
Drop metadata cache before writing precommitted metadata instead of after.
2008-05-08 18:06:58 +00:00
Alasdair Kergon
13f54f4521
remove unused lvmcache_drop_vg prototype
2008-05-08 18:00:47 +00:00
Alasdair Kergon
57dfc9cf42
Don't touch /dev in vgrename if activation is disabled.
2008-04-30 14:34:02 +00:00
Alasdair Kergon
57244a6823
post-release - reinstate incomplete enhancements
2008-04-29 16:11:28 +00:00