Alasdair Kergon
dbcb996ba2
test
2011-05-24 14:01:32 +00:00
Alasdair Kergon
52a85391f6
test
2011-05-24 14:00:57 +00:00
Alasdair Kergon
67f4a7cec4
test
2011-05-24 13:59:16 +00:00
Alasdair Kergon
a52b5b8b61
test
2011-05-24 13:54:37 +00:00
Alasdair Kergon
77d331c2bb
test
2011-05-24 13:53:26 +00:00
Alasdair Kergon
4834e71812
test
2011-05-24 13:53:26 +00:00
Alasdair Kergon
20fdf0231e
Add and use dev_open_readonly and variations.
2011-05-24 13:36:57 +00:00
Petr Rockai
6a7c185e30
Mention code layout in lvmetad DESIGN.
2011-05-23 14:46:48 +00:00
Zdenek Kabelac
be761afa4c
Do not log a superfluous stack message when the lv is properly processed
2011-05-19 13:59:22 +00:00
Petr Rockai
7d37e830ca
More work on the common daemon framework. Make things compile, too.
2011-05-15 11:02:29 +00:00
Petr Rockai
3777234077
More scavenging of common daemon code, this time the clvmd local socket setup
...
sequence.
2011-05-13 09:34:12 +00:00
Petr Rockai
2ca65cc602
Start filling in some of the common daemon (server-side) functionality, taking
...
dmeventd code as a starting point.
2011-05-13 08:45:46 +00:00
Petr Rockai
c2ac1bee92
First go at the lvmetad client-side interface.
2011-05-13 08:17:26 +00:00
Petr Rockai
51fb2c7551
First stab at the prototypes of the daemon-common functionality (to be
...
eventually shared by dmeventd, lvmetad and clvmd).
2011-05-13 08:07:28 +00:00
Petr Rockai
b904359bac
Initial design document for LVMetaD, building on the draft from June of last
...
year, incorporating the outcomes of today's and yesterday's discussions.
2011-05-12 17:49:46 +00:00
Peter Rajnoha
7c9f1ae834
Do not issue an error message when unable to remove .cache on read-only fs.
2011-05-12 12:42:47 +00:00
Petr Rockai
37bfb6508d
Update WHATS_NEW.
2011-05-07 15:52:50 +00:00
Petr Rockai
7b64fccba1
Rewrite vgreduce --removemissing --force, using existing primitives:
...
lv_remove_with_dependencies and mirror_remove_missing (the latter coming from
lvconvert). Remove substantial amount of legacy code.
2011-05-07 15:52:16 +00:00
Petr Rockai
95986e42a1
Add a new entry point in the mirror lvconvert code, for removing missing mirror
...
images and/or logs, without attempting any further actions.
2011-05-07 13:56:13 +00:00
Petr Rockai
d792fc925c
When glibc needs buffers for line buffering of input and output buffers, it
...
allocates these buffers in such way it adds memory page for each such buffer
and size of unlock memory check will mismatch by 1 or 2 pages.
This happens when we print or read lines without '\n' so these buffers are
used. To avoid this extra allocation, use setvbuf to set these bufffers ahead.
Signed-off-by: Zdenek Kabelac <zkabelac@redhat.com>
Reviewed-by: Milan Broz <mbroz@redhat.com>
Reviewed-by: Petr Rockai <prockai@redhat.com>
2011-05-07 13:50:11 +00:00
Petr Rockai
f9e419bad6
Make vg_mark_partial_lvs also clear existing PARTIAL_LV flags, so it can be
...
issued repeatedly on the same VG, keeping the PARTIAL_LV flags up to date.
2011-05-07 13:32:05 +00:00
Alasdair Kergon
9a3e6e423c
test update without WHATS_NEW to check it gives warning now
2011-04-29 19:06:17 +00:00
Alasdair Kergon
efe82852a3
test
2011-04-29 19:05:11 +00:00
Alasdair Kergon
02dd81f4be
test
2011-04-29 19:01:59 +00:00
Alasdair Kergon
912c86e526
test
2011-04-29 19:01:59 +00:00
Alasdair Kergon
0285bb3312
test
2011-04-29 18:57:09 +00:00
Alasdair Kergon
935e65c9ae
test
2011-04-29 18:56:35 +00:00
Alasdair Kergon
39235f0894
test
2011-04-29 18:48:50 +00:00
Alasdair Kergon
781242009d
test
2011-04-29 18:43:31 +00:00
Alasdair Kergon
d9b479b3c1
test
2011-04-29 18:41:46 +00:00
Alasdair Kergon
a5543b5345
test
2011-04-29 18:40:55 +00:00
Alasdair Kergon
f3342c7f89
test
2011-04-29 18:40:14 +00:00
Alasdair Kergon
6f776305ee
post-release
2011-04-29 17:05:20 +00:00
Alasdair Kergon
938cc8daa7
wake buildbot
old-v2_02_85
v2_02_85
2011-04-29 16:27:09 +00:00
Alasdair Kergon
e63f55fcc7
commands/toolcontext.c:578: warning: ‘udev_dir’ may be used uninitialized in this function
...
commands/toolcontext.c:576: warning: ‘udev_dir_len’ may be used uninitialized in this function
Bogus - suppress them.
2011-04-29 16:23:39 +00:00
Alasdair Kergon
24e17116d3
pre-release
2011-04-29 16:12:21 +00:00
Alasdair Kergon
d6a05b6fd7
pre-release clean-ups
2011-04-29 00:21:13 +00:00
Zdenek Kabelac
9139a95616
Add missing cleanup for vgimportclone script
2011-04-28 22:17:06 +00:00
Alasdair Kergon
425d920af6
clean up critical section patch
2011-04-28 20:29:59 +00:00
Zdenek Kabelac
3b2eb14eea
Missing space in debug message
2011-04-28 19:59:17 +00:00
Alasdair Kergon
7722eea88c
Set pv_min_size to 2048KB to exclude floppy drives.
...
Previously was 512.
2011-04-28 17:33:34 +00:00
Alasdair Kergon
c52cf64cea
Add missing pkg_config_init check with --enable-udev_sync.
2011-04-28 16:54:32 +00:00
Alasdair Kergon
d1ca1d9cb0
Adjust pvmove man page wording.
...
Add missing --alloc anywhere to example and mention that snapshots and
mirrors can't be moved.
2011-04-28 16:22:47 +00:00
Peter Rajnoha
ed244de069
Uncomment obtain_device_list_from_udev setting in lvm.conf.
...
Just for consistency with other settings we already have in lvm.conf.
2011-04-26 09:09:24 +00:00
Peter Rajnoha
2b78acd736
autoreconf
2011-04-22 12:13:05 +00:00
Peter Rajnoha
0967b9504b
Use common udev_get_dev_dir() to get current device directory managed by udev.
2011-04-22 12:07:35 +00:00
Peter Rajnoha
79bed56a52
Obtain device list from udev by default if LVM2 is compiled with udev support.
...
Also, add a new 'obtain_device_list_from_udev' setting to lvm.conf with which
we can turn this feature on or off if needed.
If set, the cache of block device nodes with all associated symlinks
will be constructed out of the existing udev database content.
This avoids using and opening any inapplicable non-block devices or
subdirectories found in the device directory. This setting is applied
to udev-managed device directory only, other directories will be scanned
fully. LVM2 needs to be compiled with udev support for this setting to
take effect. N.B. Any device node or symlink not managed by udev in
udev directory will be ignored with this setting on.
2011-04-22 12:05:32 +00:00
Peter Rajnoha
87edad13ea
Move common libudev code to lvm-wrappers.[ch].
...
...so we can use it throughout.
2011-04-22 11:59:59 +00:00
Peter Rajnoha
b7c85c8aa6
Require libudev >= 143 when compiling with udev support.
...
Old versions of libudev < 143 were experimental and unstable. Require recent
and stable versions only (version 143 is old enough anyway).
2011-04-22 11:56:41 +00:00
Dave Wysochanski
207060d03c
Disable nightly test for vgimportclone until proper fix is made.
...
This fails on lenny buildslave for some reason.
For now disable the vgimportclone part of the test until proper fix.
Let the first part of the test still run though, which shows pvs working
with duplicate pvs.
2011-04-21 19:06:00 +00:00