]> sourceware.org Git - lvm2.git/log
lvm2.git
13 years agoAdd int/str lookup routines specific to the reply (in client) and request (in
Petr Rockai [Mon, 27 Jun 2011 14:03:58 +0000 (14:03 +0000)]
Add int/str lookup routines specific to the reply (in client) and request (in
server) for nicer-looking code (thin wrapping around find_config_{int,str}).

13 years agoAlso parse the config_tree on the client end (daemon-client.c).
Petr Rockai [Mon, 27 Jun 2011 13:58:11 +0000 (13:58 +0000)]
Also parse the config_tree on the client end (daemon-client.c).

13 years agoParse the incoming config tree in daemon-server.c, providing the
Petr Rockai [Mon, 27 Jun 2011 13:46:45 +0000 (13:46 +0000)]
Parse the incoming config tree in daemon-server.c, providing the
daemon-specific handler with a struct config_tree pointer to look things up in.

13 years agoLVMetaD build hack: link to lvm-internal &c. and add a simple test script.
Petr Rockai [Mon, 27 Jun 2011 13:44:33 +0000 (13:44 +0000)]
LVMetaD build hack: link to lvm-internal &c. and add a simple test script.

13 years agoImplement daemon_send_simple and use it in the testclient.
Petr Rockai [Mon, 27 Jun 2011 13:15:49 +0000 (13:15 +0000)]
Implement daemon_send_simple and use it in the testclient.

13 years agoDo not open the socket with SOCK_NONBLOCK in daemon-client, since we have no
Petr Rockai [Mon, 27 Jun 2011 13:14:53 +0000 (13:14 +0000)]
Do not open the socket with SOCK_NONBLOCK in daemon-client, since we have no
use for that behaviour (at least for now).

13 years agoCall daemon_close before exit in the testclient.
Petr Rockai [Mon, 27 Jun 2011 12:27:34 +0000 (12:27 +0000)]
Call daemon_close before exit in the testclient.

13 years agoSketch out the actual on-wire format in daemon-client.h documentation, and add
Petr Rockai [Mon, 27 Jun 2011 12:26:54 +0000 (12:26 +0000)]
Sketch out the actual on-wire format in daemon-client.h documentation, and add
a simplified send interface.

13 years agoremove unused var after recent patch
Alasdair Kergon [Fri, 24 Jun 2011 23:39:09 +0000 (23:39 +0000)]
remove unused var after recent patch

13 years agoReturn immediately dm_lib_exit() if called more than once.
Alasdair Kergon [Fri, 24 Jun 2011 19:33:41 +0000 (19:33 +0000)]
Return immediately dm_lib_exit() if called more than once.
(Avoiding calling it twice would involve some untangling.)
Decrement the new suspended_counter if removing a suspended device.

13 years agoFix to preserve exclusive activation of mirror while up-converting.
Jonathan Earl Brassow [Thu, 23 Jun 2011 14:00:58 +0000 (14:00 +0000)]
Fix to preserve exclusive activation of mirror while up-converting.

When an LVM mirror is up-converted (an additional image added), it creates
a temporary mirror stack.  The lower-level mirror in the stack that is
created was not being activated exclusively - violating the exclusive nature
of the original mirror.  We now check for exclusive activation of a mirror
before converting it, and if found, we ensure that the temporary mirror
is also exclusively activated.

13 years agoFail allocation if number of extents not divisible by area count
Milan Broz [Thu, 23 Jun 2011 10:53:24 +0000 (10:53 +0000)]
Fail allocation if number of extents not divisible by area count

Allocation should fail early if this condition is not met.

Quick fix for https://bugzilla.redhat.com/show_bug.cgi?id=707779

13 years agoFix issue preventing cluster mirror creation.
Jonathan Earl Brassow [Wed, 22 Jun 2011 21:31:21 +0000 (21:31 +0000)]
Fix issue preventing cluster mirror creation.

Mirrors used to be created by first creating a linear device and then adding
the other images plus the log.  Now mirrors are created by creating all the
images in one go and then adding the log separately.  The new way ran into
the condition that cluster mirrors cannot change the log type (in the case
of creation, from core -> disk) while the mirror is not active.  (It isn't
active because it is in the process of being created.)  The reason this
condition is in place is because a remote node may have the mirror active, and
we don't want to alter the log underneath it.

What we really needed was a way of checking if the mirror was active remotely
but not locally, and in that case do not allow a change of the log.  I've added
this check, and cluster mirrors can now be created again.

13 years agoAdd check for library fallback in _deactivate_node.
Peter Rajnoha [Wed, 22 Jun 2011 12:56:02 +0000 (12:56 +0000)]
Add check for library fallback in _deactivate_node.

This fn calls rm_dev_node directly - an exceptional case. It needs to check
the DM_UDEV_DISABLE_LIBRARY_FALLBACK flag directly (it's called in dm_task_run
normally where it's checked already).

13 years agoDisable udev fallback and add --udevfallback option to dmsetup.
Peter Rajnoha [Fri, 17 Jun 2011 14:55:51 +0000 (14:55 +0000)]
Disable udev fallback and add --udevfallback option to dmsetup.

13 years agoDisable udev fallback by default and add activation/udev_fallback to lvm.conf.
Peter Rajnoha [Fri, 17 Jun 2011 14:50:53 +0000 (14:50 +0000)]
Disable udev fallback by default and add activation/udev_fallback to lvm.conf.

We've used udev fallback code till now to check whether udev
created/removed the entries in /dev correctly and if not,
a repair was done (giving a warning messagea about that).

This patch adds a possibility to enable this additional check
and subsequent fallback only when required (debugging purposes
mostly) and trust udev completely.

So let's disable the fallback code by default and add a new
configuration option "activation/udev_fallback".

(The original code for creating the nodes will still be used
in case the device directory that is set in lvm.conf differs
from the one that udev uses and also when activation/udev_rules
is set to 0 - otherwise we would end up with no nodes/symlinks
at all)

13 years agoCode move of vg_mark_partial() up in stack
Zdenek Kabelac [Fri, 17 Jun 2011 14:39:10 +0000 (14:39 +0000)]
Code move of vg_mark_partial() up in stack

It's useful to keep the partial flag cached - so just move the call
for vg_mark_partil_lvs() into import_vg_from_config_tree() so it gets
evaluated before it goes through the lvmcache.

This patch should not present any functional change.

Note: It is rather temporal solution - proper place is probably inside the
'read' call back - but needs some more discussion.
For now using this minor hack.

13 years agoRemove unused internal flag ACTIVATE_EXCL from the code
Zdenek Kabelac [Fri, 17 Jun 2011 14:30:58 +0000 (14:30 +0000)]
Remove unused internal flag ACTIVATE_EXCL from the code

13 years agoRemove test for status flag
Zdenek Kabelac [Fri, 17 Jun 2011 14:27:34 +0000 (14:27 +0000)]
Remove test for status flag

As the ACTIVATE_EXCL could be set only in clvmd code - there is no
use for this test in lv_add_mirrors() function only called from
tools context.

FIXME: Add cluster test case for this.

13 years agoAdd couple FIXMEs around suspicious code
Zdenek Kabelac [Fri, 17 Jun 2011 14:24:18 +0000 (14:24 +0000)]
Add couple FIXMEs around suspicious code

13 years agoUse lv_activate_opts struct instead of ACTIVATE_EXCL status flag
Zdenek Kabelac [Fri, 17 Jun 2011 14:22:48 +0000 (14:22 +0000)]
Use lv_activate_opts struct instead of ACTIVATE_EXCL status flag

Let's hope all conditions has been properly converted.

13 years agoUse lv_activate_opts struct instead of ACTIVATE_EXCL status flag.
Zdenek Kabelac [Fri, 17 Jun 2011 14:17:16 +0000 (14:17 +0000)]
Use lv_activate_opts struct instead of ACTIVATE_EXCL status flag.

13 years agoAdd lv_activate_opts structure
Zdenek Kabelac [Fri, 17 Jun 2011 14:14:19 +0000 (14:14 +0000)]
Add lv_activate_opts structure

To avoid modification of 'read-only' volume group structure
add a new structure to pass local data around the code for LV
activation.

As origin_only is one such flag - replace this parameter with new
struct lv_activate_opts.

More parameters might eventually become part of lv_activate_opts.

13 years agoWhat's new.
Petr Rockai [Wed, 15 Jun 2011 17:48:35 +0000 (17:48 +0000)]
What's new.

13 years agoFix RHBZ 651590 (failure to lock LV results in failure to repair mirror after
Petr Rockai [Wed, 15 Jun 2011 17:45:02 +0000 (17:45 +0000)]
Fix RHBZ 651590 (failure to lock LV results in failure to repair mirror after
transient error), stemming from the following sequence of events:

1) devices fail IO, triggering repair
2) dmeventd starts fixing up the mirror
3) during the downconversion, a new metadata version is written

--> the devices come back online here

4) the mirror device suspend/resume is called to update DM tables
5) during the suspend/resume cycle, *pre*-commit metadata is read;
   however, since the failed devices are now back online, we get back
   inconsistent set of precommit metadata and the whole operation fails

The patch relaxes the check that fails in step 5 above, namely by ignoring
inconsistencies coming from PVs that are marked MISSING.

13 years agoAdd proper udev library context initialization and finalization to liblvm.
Peter Rajnoha [Wed, 15 Jun 2011 13:29:48 +0000 (13:29 +0000)]
Add proper udev library context initialization and finalization to liblvm.

This was missing in liblvm and it caused all udev-related operations to
not take effect when using liblvm, e.g. obtaining the list of devices from udev
db instead of scanning the whole /dev which also recreated the .cache as a side
effect. This was also the case with udisks-lvm-pv-export prober which is run
from within udev rules whenever the CHANGE event is fired.

13 years agoFix lvreduce stripe rounding up from previous commit.
Milan Broz [Wed, 15 Jun 2011 10:56:52 +0000 (10:56 +0000)]
Fix lvreduce stripe rounding up from previous commit.

13 years agoAdd a skeleton for lvmetad, a test client, and a temporary Makefile to build
Petr Rockai [Tue, 14 Jun 2011 02:36:38 +0000 (02:36 +0000)]
Add a skeleton for lvmetad, a test client, and a temporary Makefile to build
them. These are currently mostly for testing the daemon-common code. LVMetaD
functionality is expected to trickle in soon though.

13 years agoCommon daemon code: Implement basic socket-based communication infrastructure
Petr Rockai [Tue, 14 Jun 2011 02:34:18 +0000 (02:34 +0000)]
Common daemon code: Implement basic socket-based communication infrastructure
(both client and server side). The server handles each connection in a separate
thread.

13 years agoFix last snapshot removal to avoid table reload while a device is suspended.
Alasdair Kergon [Mon, 13 Jun 2011 22:28:04 +0000 (22:28 +0000)]
Fix last snapshot removal to avoid table reload while a device is suspended.

13 years agoFix fields in warning message.
Alasdair Kergon [Mon, 13 Jun 2011 03:53:02 +0000 (03:53 +0000)]
Fix fields in warning message.

13 years agoMaintain a count of the number of suspended devices in libdevmapper
Alasdair Kergon [Mon, 13 Jun 2011 03:32:45 +0000 (03:32 +0000)]
Maintain a count of the number of suspended devices in libdevmapper
and use this for the LVM critical section logic.  Also report an error if
code tries to load a table while any device is known to be in the
suspended state.
(If the variety of problems these changes are showing up can't be fixed
before the next release, the error messages can be reduced to debug
level.)

13 years agoFix 'pvs -o pv_all' to include label fields. (Also removed recursion.)
Alasdair Kergon [Sun, 12 Jun 2011 19:49:40 +0000 (19:49 +0000)]
Fix 'pvs -o pv_all' to include label fields.  (Also removed recursion.)

13 years agoDisable critical section internal errors until this can be fixed properly
Alasdair Kergon [Sun, 12 Jun 2011 00:23:50 +0000 (00:23 +0000)]
Disable critical section internal errors until this can be fixed properly
in libdevmapper.

13 years agoFix --mirrorlog mirrored.
Alasdair Kergon [Sat, 11 Jun 2011 12:55:31 +0000 (12:55 +0000)]
Fix --mirrorlog mirrored.

13 years agoMajor pvmove fix to issue ioctls in the correct order when multiple LVs
Alasdair Kergon [Sat, 11 Jun 2011 00:03:06 +0000 (00:03 +0000)]
Major pvmove fix to issue ioctls in the correct order when multiple LVs
are affected by the move.  (Currently it's possible for I/O to become
trapped between suspended devices amongst other problems.

The current fix was selected so as to minimise the testing surface.  I
hope eventually to replace it with a cleaner one that extends the
deptree code.

Some lvconvert scenarios still suffer from related problems.

13 years agoFix kernel version test (RHEL: 2.6.32-123).
Milan Broz [Thu, 9 Jun 2011 19:48:26 +0000 (19:48 +0000)]
Fix kernel version test (RHEL: 2.6.32-123).

13 years agoFix mirrored stripe reduction.
Milan Broz [Thu, 9 Jun 2011 19:38:56 +0000 (19:38 +0000)]
Fix mirrored stripe reduction.

Patch adds check for stripe not only in direct
LV segment but also in mirror image segment.

This prevents bugs like:

# lvcreate -i2 -l10 -n lv vg_test
# lvconvert -m1 -i1 vg_test/lv

# lvreduce -f -l1 vg_test/lv
  WARNING: Reducing active logical volume to 4.00 MiB
  THIS MAY DESTROY YOUR DATA (filesystem etc.)
  Reducing logical volume lv to 4.00 MiB
  Segment extent reduction 9 not divisible by #stripes 2
  Logical volume lv successfully resized

# lvremove -f vg_test
  Segment extent reduction 1 not divisible by #stripes 2
  LV segment lv:0-4294967295 is incorrectly listed as being used by LV lv_mimage_0
  Internal error: LV segments corrupted in lv_mimage_0.

13 years agoValidate mirror segments size
Milan Broz [Thu, 9 Jun 2011 19:36:16 +0000 (19:36 +0000)]
Validate mirror segments size

Currently some operation with striped mirrors lead
to corrupted metadata, this patch just add detection of such
situation.

Example:
# lvcreate -i2 -l10 -n lvs vg_test
# lvconvert -m1 vg_test/lvs

# lvreduce -f -l1 vg_test/lvs
  Reducing logical volume lvs to 4.00 MiB
  Segment extent reduction 9not divisible by #stripes 2
  Logical volume lvs successfully resized

# lvremove vg_test/lvs
  Segment extent reduction 1not divisible by #stripes 2
  LV segment lvs:0-4294967295 is incorrectly listed as being used by LV lvs_mimage_0
  Internal error: LV segments corrupted in lvs_mimage_0.

13 years agoFix extent rounding for striped segments.
Milan Broz [Thu, 9 Jun 2011 19:34:49 +0000 (19:34 +0000)]
Fix extent rounding for striped segments.

We should never remove more extents than requested by user,
so round up to next stripe boundary during lvreduce.

Also this fixes round to zero sized LV bug:

# lvcreate -i2 -I 64k -l10 -n lvs vg_test
# lvreduce -f -l1 vg_test/lvs
  Rounding size (1 extents) down to stripe boundary size for segment (0 extents)
  WARNING: Reducing active logical volume to 0
  THIS MAY DESTROY YOUR DATA (filesystem etc.)
  Reducing logical volume lvs to 0
  Failed to suspend lvs

13 years agoFix kernel version parsing in tests, use common function.
Milan Broz [Thu, 9 Jun 2011 18:58:00 +0000 (18:58 +0000)]
Fix kernel version parsing in tests, use common function.

13 years agoFix another occurrence of linux kernel version check.
Milan Broz [Thu, 9 Jun 2011 15:52:59 +0000 (15:52 +0000)]
Fix another occurrence of linux kernel version check.

13 years agoAccept kernel version 3 (3.0-rc and similar).
Milan Broz [Thu, 9 Jun 2011 15:07:40 +0000 (15:07 +0000)]
Accept kernel version 3 (3.0-rc and similar).

13 years agoFix topology test.
Milan Broz [Thu, 9 Jun 2011 14:26:47 +0000 (14:26 +0000)]
Fix topology test.

Kernel version is misparsed in Fedora rawhide, just test sysfs file.

SCSI_DEBUG_DEV is no longer exported, use provided file instead.

13 years agoFix create_temp_name to replace any '/' found in the hostname with '?'.
Peter Rajnoha [Wed, 8 Jun 2011 08:49:53 +0000 (08:49 +0000)]
Fix create_temp_name to replace any '/' found in the hostname with '?'.

There's a possibility someone will use the '/' in the hostname. Since we
generate a temporary file name (path) including the hostname, any '/' would
be ambiguous.

We can always set such hostname using 'sethostname' from unistd.h. But the
'hostname' command already includes the check and removes the '/' char.
However, some old versions still allow that.
See: https://bugzilla.redhat.com/show_bug.cgi?id=711445.

Since this is only a temporary name and the possibility of this error is
quite negligible, we don't need any complex escape sequence here, just a
simple char replace.

13 years agomissing space in mesg
Alasdair Kergon [Mon, 6 Jun 2011 12:08:42 +0000 (12:08 +0000)]
missing space in mesg

13 years agoAlso check in the pe_start API test that the disks have not been touched.
Petr Rockai [Sat, 4 Jun 2011 21:55:25 +0000 (21:55 +0000)]
Also check in the pe_start API test that the disks have not been touched.

13 years agoAdd an API test that shows how to find a value of pe_start for a VG without
Petr Rockai [Sat, 4 Jun 2011 21:46:34 +0000 (21:46 +0000)]
Add an API test that shows how to find a value of pe_start for a VG without
actually creating the VG on-disk.

13 years agoFix a few compile warnings.
Peter Rajnoha [Fri, 3 Jun 2011 09:05:30 +0000 (09:05 +0000)]
Fix a few compile warnings.

clvmd-command.c:84:2: warning: implicit declaration of function ‘init_test’
lvm-functions.c:141:3: warning: too many arguments for format

13 years agoUse append but except query for dlm locks:-)
Milan Broz [Thu, 2 Jun 2011 09:08:16 +0000 (09:08 +0000)]
Use append but except query for dlm locks:-)

13 years agoAlways use append to file in lvmdump (selinux policy - no file truncation).
Milan Broz [Thu, 2 Jun 2011 09:02:03 +0000 (09:02 +0000)]
Always use append to file in lvmdump (selinux policy - no file truncation).

Workaround dmsetup ls --tree (terminal ioctl for width).
(Until isatty() will be allowed by selinux policy.)

13 years agoUse /var/run/lvm for lvmetad socket.
Milan Broz [Thu, 2 Jun 2011 08:58:05 +0000 (08:58 +0000)]
Use /var/run/lvm for lvmetad socket.

13 years agoPropagate test mode to clvmd to skip activation and changes to held locks.
Alasdair Kergon [Wed, 1 Jun 2011 21:16:55 +0000 (21:16 +0000)]
Propagate test mode to clvmd to skip activation and changes to held locks.

13 years agoDefer writing PV labels to vg_write.
Alasdair Kergon [Wed, 1 Jun 2011 19:29:31 +0000 (19:29 +0000)]
Defer writing PV labels to vg_write.
Store label_sector only in struct physical_volume.

13 years agoReport sector containing label in verbose message.
Alasdair Kergon [Wed, 1 Jun 2011 19:26:38 +0000 (19:26 +0000)]
Report sector containing label in verbose message.

13 years agoPermit --available with lvcreate so non-snapshot LVs need not be activated.
Alasdair Kergon [Wed, 1 Jun 2011 19:21:03 +0000 (19:21 +0000)]
Permit --available with lvcreate so non-snapshot LVs need not be activated.

13 years agoReport sector containing label in verbose message.
Alasdair Kergon [Wed, 1 Jun 2011 15:30:36 +0000 (15:30 +0000)]
Report sector containing label in verbose message.

13 years agoClarify error message when unable to convert an LV into a snapshot of an LV.
Peter Rajnoha [Wed, 1 Jun 2011 12:24:15 +0000 (12:24 +0000)]
Clarify error message when unable to convert an LV into a snapshot of an LV.

13 years agoUse new dev_open_readonly fn to prevent opening devices for read-write when not neces...
Peter Rajnoha [Sat, 28 May 2011 09:48:14 +0000 (09:48 +0000)]
Use new dev_open_readonly fn to prevent opening devices for read-write when not necessary.

Before, we used vg_write_lock_held call to determnine the way a device is
opened. Unfortunately, this opened many devices in RW mode when it was not
really necessary. With the OPTIONS+="watch" rule used in the udev rules,
this could fire numerous events while closing such devices (and it caused
useless scans from within udev rules in return).

A common bug we hit with this was with the lvremove command which was unable
to remove the LV since it was being opened from within the udev rules. This
patch should minimize such situations (at least with respect to LVM handling
of devices).

Though there's still a possibility someone will open a device 'outside' in
parallel and fire the event based on the watch rule when closing a device
once opened for RW.

13 years agoFirst draft of a document describing how we will automatically and
Petr Rockai [Wed, 25 May 2011 21:43:12 +0000 (21:43 +0000)]
First draft of a document describing how we will automatically and
incrementally assemble (possibly multi-component, like LVM) storage devices.

13 years agotest
Alasdair Kergon [Tue, 24 May 2011 14:12:36 +0000 (14:12 +0000)]
test

13 years agotest
Alasdair Kergon [Tue, 24 May 2011 14:10:55 +0000 (14:10 +0000)]
test

13 years agotest
Alasdair Kergon [Tue, 24 May 2011 14:10:55 +0000 (14:10 +0000)]
test

13 years agotest
Alasdair Kergon [Tue, 24 May 2011 14:09:41 +0000 (14:09 +0000)]
test

13 years agotest
Alasdair Kergon [Tue, 24 May 2011 14:09:41 +0000 (14:09 +0000)]
test

13 years agotest
Alasdair Kergon [Tue, 24 May 2011 14:01:32 +0000 (14:01 +0000)]
test

13 years agotest
Alasdair Kergon [Tue, 24 May 2011 14:00:57 +0000 (14:00 +0000)]
test

13 years agotest
Alasdair Kergon [Tue, 24 May 2011 13:59:16 +0000 (13:59 +0000)]
test

13 years agotest
Alasdair Kergon [Tue, 24 May 2011 13:54:37 +0000 (13:54 +0000)]
test

13 years agotest
Alasdair Kergon [Tue, 24 May 2011 13:53:26 +0000 (13:53 +0000)]
test

13 years agotest
Alasdair Kergon [Tue, 24 May 2011 13:53:26 +0000 (13:53 +0000)]
test

13 years agoAdd and use dev_open_readonly and variations.
Alasdair Kergon [Tue, 24 May 2011 13:36:57 +0000 (13:36 +0000)]
Add and use dev_open_readonly and variations.

13 years agoMention code layout in lvmetad DESIGN.
Petr Rockai [Mon, 23 May 2011 14:46:48 +0000 (14:46 +0000)]
Mention code layout in lvmetad DESIGN.

13 years agoDo not log a superfluous stack message when the lv is properly processed
Zdenek Kabelac [Thu, 19 May 2011 13:59:22 +0000 (13:59 +0000)]
Do not log a superfluous stack message when the lv is properly processed

13 years agoMore work on the common daemon framework. Make things compile, too.
Petr Rockai [Sun, 15 May 2011 11:02:29 +0000 (11:02 +0000)]
More work on the common daemon framework. Make things compile, too.

13 years agoMore scavenging of common daemon code, this time the clvmd local socket setup
Petr Rockai [Fri, 13 May 2011 09:34:12 +0000 (09:34 +0000)]
More scavenging of common daemon code, this time the clvmd local socket setup
sequence.

13 years agoStart filling in some of the common daemon (server-side) functionality, taking
Petr Rockai [Fri, 13 May 2011 08:45:46 +0000 (08:45 +0000)]
Start filling in some of the common daemon (server-side) functionality, taking
dmeventd code as a starting point.

13 years agoFirst go at the lvmetad client-side interface.
Petr Rockai [Fri, 13 May 2011 08:17:26 +0000 (08:17 +0000)]
First go at the lvmetad client-side interface.

13 years agoFirst stab at the prototypes of the daemon-common functionality (to be
Petr Rockai [Fri, 13 May 2011 08:07:28 +0000 (08:07 +0000)]
First stab at the prototypes of the daemon-common functionality (to be
eventually shared by dmeventd, lvmetad and clvmd).

13 years agoInitial design document for LVMetaD, building on the draft from June of last
Petr Rockai [Thu, 12 May 2011 17:49:46 +0000 (17:49 +0000)]
Initial design document for LVMetaD, building on the draft from June of last
year, incorporating the outcomes of today's and yesterday's discussions.

13 years agoDo not issue an error message when unable to remove .cache on read-only fs.
Peter Rajnoha [Thu, 12 May 2011 12:42:47 +0000 (12:42 +0000)]
Do not issue an error message when unable to remove .cache on read-only fs.

13 years agoUpdate WHATS_NEW.
Petr Rockai [Sat, 7 May 2011 15:52:50 +0000 (15:52 +0000)]
Update WHATS_NEW.

13 years agoRewrite vgreduce --removemissing --force, using existing primitives:
Petr Rockai [Sat, 7 May 2011 15:52:16 +0000 (15:52 +0000)]
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.

13 years agoAdd a new entry point in the mirror lvconvert code, for removing missing mirror
Petr Rockai [Sat, 7 May 2011 13:56:13 +0000 (13:56 +0000)]
Add a new entry point in the mirror lvconvert code, for removing missing mirror
images and/or logs, without attempting any further actions.

13 years agoWhen glibc needs buffers for line buffering of input and output buffers, it
Petr Rockai [Sat, 7 May 2011 13:50:11 +0000 (13:50 +0000)]
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>
13 years agoMake vg_mark_partial_lvs also clear existing PARTIAL_LV flags, so it can be
Petr Rockai [Sat, 7 May 2011 13:32:05 +0000 (13:32 +0000)]
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.

13 years agotest update without WHATS_NEW to check it gives warning now
Alasdair Kergon [Fri, 29 Apr 2011 19:06:17 +0000 (19:06 +0000)]
test update without WHATS_NEW to check it gives warning now

13 years agotest
Alasdair Kergon [Fri, 29 Apr 2011 19:05:11 +0000 (19:05 +0000)]
test

13 years agotest
Alasdair Kergon [Fri, 29 Apr 2011 19:01:59 +0000 (19:01 +0000)]
test

13 years agotest
Alasdair Kergon [Fri, 29 Apr 2011 19:01:59 +0000 (19:01 +0000)]
test

13 years agotest
Alasdair Kergon [Fri, 29 Apr 2011 18:57:09 +0000 (18:57 +0000)]
test

13 years agotest
Alasdair Kergon [Fri, 29 Apr 2011 18:56:35 +0000 (18:56 +0000)]
test

13 years agotest
Alasdair Kergon [Fri, 29 Apr 2011 18:48:50 +0000 (18:48 +0000)]
test

13 years agotest
Alasdair Kergon [Fri, 29 Apr 2011 18:43:31 +0000 (18:43 +0000)]
test

13 years agotest
Alasdair Kergon [Fri, 29 Apr 2011 18:41:46 +0000 (18:41 +0000)]
test

13 years agotest
Alasdair Kergon [Fri, 29 Apr 2011 18:40:55 +0000 (18:40 +0000)]
test

13 years agotest
Alasdair Kergon [Fri, 29 Apr 2011 18:40:14 +0000 (18:40 +0000)]
test

13 years agopost-release
Alasdair Kergon [Fri, 29 Apr 2011 17:05:20 +0000 (17:05 +0000)]
post-release

13 years agowake buildbot
Alasdair Kergon [Fri, 29 Apr 2011 16:27:09 +0000 (16:27 +0000)]
wake buildbot

13 years agocommands/toolcontext.c:578: warning: ‘udev_dir’ may be used uninitialized in...
Alasdair Kergon [Fri, 29 Apr 2011 16:23:39 +0000 (16:23 +0000)]
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.

This page took 0.064025 seconds and 5 git commands to generate.