]> sourceware.org Git - lvm2.git/log
lvm2.git
15 years agoAdd pv_mda_size to 'pvs' and vg_mda_size to 'vgs'.
Dave Wysochanski [Fri, 9 Jan 2009 22:44:33 +0000 (22:44 +0000)]
Add pv_mda_size to 'pvs' and vg_mda_size to 'vgs'.

Reports the size of the smallest metadata area in a PV or a VG.
Useful to confirm pvcreate --metadatasize or pvmetadatasize setting in
/etc/lvm/lvm.conf file.

NOTE: Actual value in these fields will most always differ from that
given in pvcreate options due to rounding and alignment effects.

15 years agoDocument current state of inconsistent metadata behaviour of a few commands in
Petr Rockai [Fri, 9 Jan 2009 10:16:57 +0000 (10:16 +0000)]
Document current state of inconsistent metadata behaviour of a few commands in
a test. Should make changes to the !consistent bits of code easier. To be
expanded.

15 years agoInitial import of the cluster log daemon from the 'cluster' repository.
Jonathan Earl Brassow [Thu, 8 Jan 2009 17:12:33 +0000 (17:12 +0000)]
Initial import of the cluster log daemon from the 'cluster' repository.

There is a rudimentary make file in place so people can build by hand
from 'LVM2/daemons/clogd'.  It is not hooked into the main build system
yet.  I am checking this in to provide people better access to the
source code.

There is still work to be done to make better use of existing code in
the LVM repository.  (list.h could be removed in favor of existing list
implementations, for example.  Logging might also be removed in favor
of what is already in the tree.)

I will probably defer updating WHATS_NEW_DM until this code is linked
into the main build system (unless otherwise instructed).

15 years agoAdd checks for device names in dmsetup and show proper error messages.
Peter Rajnoha [Wed, 7 Jan 2009 12:17:40 +0000 (12:17 +0000)]
Add checks for device names in dmsetup and show proper error messages.

Checks added for DM device names to allow only names < DM_NAME_LEN,
otherwise a part of lengthy name would be silently ignored and could
cause confusion while using dmsetup. Also, the name should not contain
'/' character, if it is used in context of creating a new device
or renaming the existing one (because we do not consider full path
to devices, they do not exist in filesystem yet) and appropriate error
messages are shown.

15 years agoFix lvmdump /sys listing to include virtual devices directory.
Milan Broz [Tue, 6 Jan 2009 18:02:57 +0000 (18:02 +0000)]
Fix lvmdump /sys listing to include virtual devices directory.

15 years agoFix "Calculate mirror log size" commit, the le_count should be always set.
Milan Broz [Tue, 6 Jan 2009 17:24:21 +0000 (17:24 +0000)]
Fix "Calculate mirror log size" commit, the le_count should be always set.

15 years agoAdd "--refresh" functionality to vgchange and vgmknodes.
Peter Rajnoha [Mon, 22 Dec 2008 09:04:35 +0000 (09:04 +0000)]
Add "--refresh" functionality to vgchange and vgmknodes.

15 years agoAdd "--refresh" functionality to vgchange and vgmknodes.
Peter Rajnoha [Mon, 22 Dec 2008 09:00:51 +0000 (09:00 +0000)]
Add "--refresh" functionality to vgchange and vgmknodes.

15 years agolvm2cmdline.h:31: warning: declaration of `is_static' shadows a global declaration
Alasdair Kergon [Fri, 19 Dec 2008 18:51:02 +0000 (18:51 +0000)]
lvm2cmdline.h:31: warning: declaration of `is_static' shadows a global declaration

15 years agoDo not issue write behind lv size.
Milan Broz [Fri, 19 Dec 2008 15:26:01 +0000 (15:26 +0000)]
Do not issue write behind lv size.

pvcreate $DEV
vgcreate -s 1k vg_test $DEV
lvcreate -l 1 -n lv1 vg_test
..
/dev/vg_test/lv1: write failed after 1024 of 4096 at 0: No space left on device

Just check for maximum write size in set_lv.

15 years agoCalculate mirror log size instead of hardcoding 1 extent size.
Milan Broz [Fri, 19 Dec 2008 15:24:52 +0000 (15:24 +0000)]
Calculate mirror log size instead of hardcoding 1 extent size.

It fails for 1k PE now.

Patch adds log_region_size into allocation habdle struct
and use it in _alloc_parallel_area() for proper log size calculation
instead of hardcoded 1 extent - which can fail.

Reproducer for incorrect log size calculation:
        DEV=/dev/sd[bcd]

        pvcreate $DEV
        vgcreate -s 1k vg_test $DEV
        lvcreate -m1 -L 12M -n mirr vg_test

https://bugzilla.redhat.com/show_bug.cgi?id=477040

The log size calculation is mostly copied from kernel code.

15 years agoFail add tree node when requested major/minor is used.
Milan Broz [Fri, 19 Dec 2008 15:23:03 +0000 (15:23 +0000)]
Fail add tree node when requested major/minor is used.

Check for major/minor collision is added in _add_dev_to_dtree()
where we already read info by uuid,
so in the case of requesting major/minor it queries device-mapper
by major/minor for device availability.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=204992

15 years agoFix incorrect return value in help function.
Peter Rajnoha [Fri, 19 Dec 2008 14:43:02 +0000 (14:43 +0000)]
Fix incorrect return value in help function.

15 years agoFix vgrename using UUID in case there are VGs with the same name.
Peter Rajnoha [Fri, 19 Dec 2008 14:22:48 +0000 (14:22 +0000)]
Fix vgrename using UUID in case there are VGs with the same name.

15 years agoCreate global is_static() to eliminate from the library init function.
Dave Wysochanski [Thu, 18 Dec 2008 05:27:17 +0000 (05:27 +0000)]
Create global is_static() to eliminate from the library init function.

Very simple / crude method of removing 'is_static' from initialization.
Why should we require an application tell us whether it is linked
statically or dynamically to libLVM?  If the application is linked
statically, but libraries exist and dlopen() calls succeed, why
do we care if it's statically linked?

15 years agoRemove struct arg * from struct cmd_context and create_toolcontext().
Dave Wysochanski [Wed, 17 Dec 2008 16:46:45 +0000 (16:46 +0000)]
Remove struct arg * from struct cmd_context and create_toolcontext().

This allows us to remove one argument from create_toolcontext() and
moves it closer to a generic library init function.

In the arg_*() functions, we just use _the_args() directly.
For now we leave the first parameter to these
arg_*() functions (struct cmd_context *) because
of the number of files involved in removing the
parameter.

15 years agoMove arg_* functions from toollib.c to lvmcmdline.c.
Dave Wysochanski [Wed, 17 Dec 2008 16:45:32 +0000 (16:45 +0000)]
Move arg_* functions from toollib.c to lvmcmdline.c.

In preparation for removing cmd->args.
IMO, it makes more sense to put these accessor functions
in the same location as the static array _the_args.
Next patch will update arg_* functions to use _the_args[]
directly and remove cmd->args.

15 years agoRemove status=noxfer from test, not all dd versions support this (RHEL4 for example).
Milan Broz [Tue, 16 Dec 2008 20:02:52 +0000 (20:02 +0000)]
Remove status=noxfer from test, not all dd versions support this (RHEL4 for example).

15 years agoRename 'cmd' to 'clvmd_cmd' to remove ambiguity.
Dave Wysochanski [Tue, 16 Dec 2008 12:30:39 +0000 (12:30 +0000)]
Rename 'cmd' to 'clvmd_cmd' to remove ambiguity.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Acked-by: James Cameron <james.cameron@hp.com>
Acked-by: Alasdair G Kergon <agk@redhat.com>
15 years agoFix segfault when invalid field given in reporting commands.
Dave Wysochanski [Mon, 15 Dec 2008 13:30:45 +0000 (13:30 +0000)]
Fix segfault when invalid field given in reporting commands.

Problem is dm_report_init() may return NULL and subsequent call to
dm_report_set_output_field_name_prefix() doesn't handle NULL value.

Example:
pvs --nameprefixes --rows --unquoted --noheadings -opv_name,fred
  Logical Volume Fields
  ---------------------
    lv_uuid              - Unique identifier
    lv_name              - Name.  LVs created for internal use are enclosed in brackets.
 ...

  Physical Volume Segment Fields
  ------------------------------
    pvseg_start          - Physical Extent number of start of segment.
    pvseg_size           - Number of extents in segment.

  Unrecognised field: fred
Segmentation fault

15 years agoUse dm_snprintf to avoid duplicating the snprintf compatibility code.
Alasdair Kergon [Fri, 12 Dec 2008 18:45:58 +0000 (18:45 +0000)]
Use dm_snprintf to avoid duplicating the snprintf compatibility code.

15 years agoCreate _init_globals() and call from bottom of create_toolcontext().
Dave Wysochanski [Fri, 12 Dec 2008 03:30:41 +0000 (03:30 +0000)]
Create _init_globals() and call from bottom of create_toolcontext().

Move init_full_scan_done(0) and init_mirror_in_sync(0) from init_lvm()
after call to create_toolcontext() to _init_globals(), called from bottom
of create_toolcontext().  No functional change.

Author: Dave Wysochanski <dwysocha@redhat.com>
Acked-by: James Cameron <james.cameron@hp.com>
Acked-by: Alasdair G Kergon <agk@redhat.com>
15 years agoReplace _dm_snprintf with EMIT_PARAMS macro for creating target lines
Zdenek Kabelac [Thu, 11 Dec 2008 16:25:51 +0000 (16:25 +0000)]
Replace _dm_snprintf with EMIT_PARAMS macro for creating target lines

15 years ago*** empty log message ***
Dave Wysochanski [Thu, 11 Dec 2008 13:45:28 +0000 (13:45 +0000)]
*** empty log message ***

15 years agoMove initialization of cmd->fmt into init_formats().
Dave Wysochanski [Thu, 11 Dec 2008 03:36:16 +0000 (03:36 +0000)]
Move initialization of cmd->fmt into init_formats().

init_formats() sets up the command formats, and currently sets cmd->fmt_backup
but does not set cmd->fmt to a default value.  This seems incorrect so we
set it to cmd->default_settings.fmt before returning.

The call we remove here may set cmd->fmt based on a command line setting.
But it is safe to remove this, because the only caller of init_lvm() that
cares about the cmdline override is the cmdline tools (clvmd does not care),
called from lvm2_main().  After lvm2_main() calls init_lvm(), it later calls
lvm_run_command().  In lvm_run_command(), we have a call to _apply_settings(),
which has the identical assignment of cmd->fmt that this patch removes.

15 years agoRemove redundant init_msg_prefix() and init_cmd_name().
Dave Wysochanski [Thu, 11 Dec 2008 03:34:43 +0000 (03:34 +0000)]
Remove redundant init_msg_prefix() and init_cmd_name().

This is very obvious - _init_logging() makes the identical init_msg_prefix()
and init_cmd_name() calls with cmd->default_settings so these calls are
clearly redundant after calling create_toolcontext().

15 years agoRemove redundant set_activation() call after create_toolcontext() calls.
Dave Wysochanski [Thu, 11 Dec 2008 03:34:12 +0000 (03:34 +0000)]
Remove redundant set_activation() call after create_toolcontext() calls.

Very similar argument to removal of init_debug() and other calls.

create_toolcontext() calls _process_config() which sets
cmd->default_settings.activation, then calls
set_activation(cmd->default_settings.activation).  Later, create_toolcontext()
sets cmd->current_settings = cmd->default_settings.  So these calls
set_activation(cmd->current_settings.activation) are redundant.

15 years agoRemove backup_enable() calls after create_toolcontext() calls.
Dave Wysochanski [Thu, 11 Dec 2008 03:33:35 +0000 (03:33 +0000)]
Remove backup_enable() calls after create_toolcontext() calls.

Identical argument to previous patch which removed archive_enable() calls.
We add a new parameter to backup_init() which sets the enable value based
on the cmd->default_settings.backup value.  This value was used to set
cmd->current_settings.backup, used in the removed backup_enable() call.

15 years agoRemove archive_enable() calls after create_toolcontext() calls.
Dave Wysochanski [Thu, 11 Dec 2008 03:32:56 +0000 (03:32 +0000)]
Remove archive_enable() calls after create_toolcontext() calls.

_init_backup() calls archive_init(), which originally set 'enabled' to
a hardcoded '1' value.  This seems incorrect based on my read of other
areas of the code so here we add a 'enabled' paramter to archive_init().
We pass in cmd->default_settings.archive, which is obtained from the
config tree.  Later in create_toolcontext, cmd->current_settings is
set to cmd->default_settings.  The archive_enable() call we remove
here was using cmd->current_settings to set the 'archive' enable
value.  The final value of cmd->archive_params->enabled should thus
be equivalent to the original code.

15 years agoMove init_test() from _apply_settings into _init_logging().
Dave Wysochanski [Thu, 11 Dec 2008 03:31:47 +0000 (03:31 +0000)]
Move init_test() from _apply_settings into _init_logging().

This one we actually need to move.  _init_logging() is called from
    create_toolcontext(), which makes this call:
        /* Test mode */
        cmd->default_settings.test =
            find_config_tree_int(cmd, "global/test", 0);

But it does not call init_test().  So we need an init_test() somewhere.
The most logical place is to put it inside _init_logging(), since this
is where the config value is read and default_settings are set.  Placing
the init_test() call here matches what is done with other variables and
seems to make sense.

15 years agoRemove handles_missing_pvs assignment after call to create_toolcontext().
Dave Wysochanski [Thu, 11 Dec 2008 03:31:10 +0000 (03:31 +0000)]
Remove handles_missing_pvs assignment after call to create_toolcontext().

This variable is set at the top of create_toolcontext() to 0.
Nothing later in create_toolcontext() changes the value.
In init_lvm(), nothing between create_toolcontext() call and this assignment
changes the value.  Thus, the assignment is redundant.

15 years agoRemove init_verbose() calls immediately after create_toolcontext() calls.
Dave Wysochanski [Thu, 11 Dec 2008 03:30:19 +0000 (03:30 +0000)]
Remove init_verbose() calls immediately after create_toolcontext() calls.

The rationale for removing init_verbose() call is very similar to removing
init_debug() call.  create_toolcontext() calls _init_logging() which
makes these calls:
        /* Verbose level for tty output */
        cmd->default_settings.verbose =
            find_config_tree_int(cmd, "log/verbose", DEFAULT_VERBOSE);
        init_verbose(cmd->default_settings.verbose + VERBOSE_BASE_LEVEL);

And being that create_toolcontext() copies default_settings into
current_settings at the bottom, the init_verbose() call we are removing:
        init_verbose(cmd->current_settings.verbose + VERBOSE_BASE_LEVEL);

is redundant.

15 years agoRemove init_debug() calls immediately after create_toolcontext() call.
Dave Wysochanski [Thu, 11 Dec 2008 03:29:37 +0000 (03:29 +0000)]
Remove init_debug() calls immediately after create_toolcontext() call.

We can safely remove because create_toolcontext() calls _init_logging(),
which makes these calls:
        /* Debug level for log file output */
        cmd->default_settings.debug =
            find_config_tree_int(cmd, "log/level", DEFAULT_LOGLEVEL);
        init_debug(cmd->default_settings.debug);

Then at the bottom of create_toolcontext() we do this:
        cmd->current_settings = cmd->default_settings;

So the call we are removing from init_lvm() functions (clvmd and lvmcmdline):
        init_debug(cmd->current_settings.debug);

Just sets the value of debug based on 'cmd->current_settings.debug'.
Since cmd->current_settings is equivalent to cmd->default_settings, and
init_debug() was called with cmd->default_settings, the call we remove is
redundant.

15 years agoReplace _apply_settings() after create_toolcontext() with equivalent inline.
Dave Wysochanski [Thu, 11 Dec 2008 03:28:54 +0000 (03:28 +0000)]
Replace _apply_settings() after create_toolcontext() with equivalent inline.

Subsequent patches will refactor / remove each of these lines, as many of
them are redundant when called immediately after create_toolcontext().

15 years agooperate on test subdirectory instead on main /dev
Zdenek Kabelac [Wed, 10 Dec 2008 16:16:53 +0000 (16:16 +0000)]
operate on test subdirectory instead on main /dev

15 years agoadd simple test for dev node usability (detect devices mounted with nodev)
Zdenek Kabelac [Wed, 10 Dec 2008 16:15:41 +0000 (16:15 +0000)]
add simple test for dev node usability (detect devices mounted with nodev)

15 years agoAdd liblvm interactive test infrastructure to build.
Dave Wysochanski [Sun, 7 Dec 2008 19:37:07 +0000 (19:37 +0000)]
Add liblvm interactive test infrastructure to build.

15 years agoMake _init_rand() thread safe - use rand_r() instead of rand().
Dave Wysochanski [Sun, 7 Dec 2008 04:27:56 +0000 (04:27 +0000)]
Make _init_rand() thread safe - use rand_r() instead of rand().

Use good entropy for seed value if possible.

15 years agoAdd generic function to read /dev/urandom, used in uuid calculation.
Dave Wysochanski [Sun, 7 Dec 2008 04:23:37 +0000 (04:23 +0000)]
Add generic function to read /dev/urandom, used in uuid calculation.

15 years agoFix test-utils.h for rhel4 backward compatability.
Dave Wysochanski [Fri, 5 Dec 2008 05:03:23 +0000 (05:03 +0000)]
Fix test-utils.h for rhel4 backward compatability.

for losetup, break out of the loop when successful setup of loop device,
and only look at 7 loop devices (default loop module setting)
for blockdev, use old option if new one is not available

15 years agoAdded displayable_lvs_in_vg and lv_is_displayable functions to deal with
Peter Rajnoha [Thu, 4 Dec 2008 15:54:26 +0000 (15:54 +0000)]
Added displayable_lvs_in_vg and lv_is_displayable functions to deal with
the counts of visible LVs from user's perspective consistently throughout
the code.

15 years agoFix vgcreate race which could allow two parallel vgcreates to succeed,
Dave Wysochanski [Mon, 1 Dec 2008 20:14:33 +0000 (20:14 +0000)]
Fix vgcreate race which could allow two parallel vgcreates to succeed,
with the second vgcreate overwriting the first.

Obtain lock before calling vg_create(), which checks for existence of vgname
and fails if it already exists.

15 years agoFix uninitialised lv_count in vgdisplay -c
Alasdair Kergon [Mon, 1 Dec 2008 17:38:35 +0000 (17:38 +0000)]
Fix uninitialised lv_count in vgdisplay -c

15 years agoSuppress 'duplicate PV' message when it's only a cache update not a real
Alasdair Kergon [Fri, 28 Nov 2008 15:51:40 +0000 (15:51 +0000)]
Suppress 'duplicate PV' message when it's only a cache update not a real
duplicate.

15 years agoDon't skip updating pvid hash when lvmcache_info struct got swapped.
Alasdair Kergon [Thu, 27 Nov 2008 18:13:50 +0000 (18:13 +0000)]
Don't skip updating pvid hash when lvmcache_info struct got swapped.

15 years agoAdd tinfo to termcap search path for pld-linux.
Alasdair Kergon [Mon, 24 Nov 2008 13:33:16 +0000 (13:33 +0000)]
Add tinfo to termcap search path for pld-linux.

15 years agoFix a starup race in clvmd that could result in huge waits for the first command...
Christine Caulfield [Fri, 21 Nov 2008 13:48:00 +0000 (13:48 +0000)]
Fix a starup race in clvmd that could result in huge waits for the first command to be processed.

15 years agogenerate init script
Alasdair Kergon [Wed, 19 Nov 2008 20:14:24 +0000 (20:14 +0000)]
generate init script

15 years agoregenerate
Alasdair Kergon [Wed, 19 Nov 2008 19:34:32 +0000 (19:34 +0000)]
regenerate

15 years agoGenerate clvmd init script at configuration time for Red Hat-based distros.
Alasdair Kergon [Wed, 19 Nov 2008 19:33:25 +0000 (19:33 +0000)]
Generate clvmd init script at configuration time for Red Hat-based distros.

15 years agopost-release (retrospective)
Alasdair Kergon [Wed, 19 Nov 2008 14:14:51 +0000 (14:14 +0000)]
post-release (retrospective)

15 years agodaemons depends on liblvm2cmd - fixes parallel builds
Zdenek Kabelac [Tue, 18 Nov 2008 13:16:03 +0000 (13:16 +0000)]
daemons depends on liblvm2cmd - fixes parallel builds

15 years agofix missing const char*
Zdenek Kabelac [Tue, 18 Nov 2008 10:13:23 +0000 (10:13 +0000)]
fix missing const char*

15 years agoFix "lvremove -f vgname" when vgname contains snapshots.
Dave Wysochanski [Mon, 17 Nov 2008 18:20:13 +0000 (18:20 +0000)]
Fix "lvremove -f vgname" when vgname contains snapshots.

Prior to this patch, "lvremove -f vgname" would fail if vgname contained
one or more snapshot LVs.  Now this passes, but has a side-effect.
If you issue "lvremove vgname" where vgname contains one or more snaps,
you will get an extra "y/n" prompt to remove the same snapshot.
Example:
$ lvs
  LV     VG     Attr   LSize  Origin Snap%  Move Log Copy%  Convert
  lvsnap vgtest swi-a- 16.00M lvtest   0.05
  lvtest vgtest owi-a- 64.00M
$ lvremove vgtest
Do you really want to remove active logical volume "lvsnap"? [y/n]: n
  Logical volume "lvsnap" not removed
Do you really want to remove active logical volume "lvsnap"? [y/n]: n
  Logical volume "lvsnap" not removed
  Command failed with status code 5.

Fixing this will most likely require modification of the iterator
function, process_each_lvs_in_vg() to iterate over snaps in some
cases (e.g. lvs, vgdisplay -v) but not in others (lvremove).

16 years agosome makefile fixes for liblvm2cmd & remove some hardcoded .so
Alasdair Kergon [Fri, 14 Nov 2008 20:59:56 +0000 (20:59 +0000)]
some makefile fixes for liblvm2cmd & remove some hardcoded .so

16 years agoMore man page cleanup - convert "+/-" to "+|-"
Dave Wysochanski [Wed, 12 Nov 2008 15:16:58 +0000 (15:16 +0000)]
More man page cleanup - convert "+/-" to "+|-"

16 years agoMake man pages consistent with either-or options (use "|" everywhere).
Dave Wysochanski [Wed, 12 Nov 2008 15:01:35 +0000 (15:01 +0000)]
Make man pages consistent with either-or options (use "|" everywhere).

16 years agocleaner const char* usage for last_path_component()
Zdenek Kabelac [Wed, 12 Nov 2008 09:53:33 +0000 (09:53 +0000)]
cleaner const char* usage for last_path_component()

16 years agominor compiler warning fix for function declaration prototype
Zdenek Kabelac [Wed, 12 Nov 2008 09:49:06 +0000 (09:49 +0000)]
minor compiler warning fix for function declaration prototype

16 years agoremoved redundant redeclaration of init_indent() and init_msg_prefix() from lvm-logging.h
Zdenek Kabelac [Wed, 12 Nov 2008 09:41:44 +0000 (09:41 +0000)]
removed redundant redeclaration of init_indent() and init_msg_prefix() from lvm-logging.h

16 years ago* minor compilator warning fix for improper function declaration.
Zdenek Kabelac [Wed, 12 Nov 2008 09:30:52 +0000 (09:30 +0000)]
* minor compilator warning fix for improper function declaration.

16 years agoAdd a bunch of sub-tests aimed at testing various bugzillas, by jstava.
Petr Rockai [Tue, 11 Nov 2008 15:46:15 +0000 (15:46 +0000)]
Add a bunch of sub-tests aimed at testing various bugzillas, by jstava.

16 years agoImport a bunch of new tests by jstava. Mostly everything pass, they however
Petr Rockai [Tue, 11 Nov 2008 15:29:24 +0000 (15:29 +0000)]
Import a bunch of new tests by jstava. Mostly everything pass, they however
tend to expose the lvremove -ff vg ordering bug.

16 years agoclarify
Alasdair Kergon [Mon, 10 Nov 2008 21:26:06 +0000 (21:26 +0000)]
clarify

16 years agono need for libdevmapper.h on system any more
Alasdair Kergon [Mon, 10 Nov 2008 21:25:45 +0000 (21:25 +0000)]
no need for libdevmapper.h on system any more

16 years agoInclude libdm in lcov reports.
Petr Rockai [Mon, 10 Nov 2008 14:04:12 +0000 (14:04 +0000)]
Include libdm in lcov reports.

16 years agoFix t-pool-labels to pass again after the vgdisplay error return fix from
Petr Rockai [Mon, 10 Nov 2008 13:44:01 +0000 (13:44 +0000)]
Fix t-pool-labels to pass again after the vgdisplay error return fix from
last Friday.

16 years agoFix lvm2.static build.
Milan Broz [Mon, 10 Nov 2008 13:41:43 +0000 (13:41 +0000)]
Fix lvm2.static build.

16 years agoMinor code and documentation cleanups and changes by jstava.
Petr Rockai [Mon, 10 Nov 2008 12:43:35 +0000 (12:43 +0000)]
Minor code and documentation cleanups and changes by jstava.

16 years agoadd bz264241 check
Petr Rockai [Mon, 10 Nov 2008 12:41:52 +0000 (12:41 +0000)]
add bz264241 check
remove lvconvert progress notifications (-i100)
(by jstava)

16 years agoFirst test release of the merged code base.
Alasdair Kergon [Mon, 10 Nov 2008 12:39:50 +0000 (12:39 +0000)]
First test release of the merged code base.

16 years agobz429342 lvcreate --nosync
Petr Rockai [Mon, 10 Nov 2008 12:37:53 +0000 (12:37 +0000)]
bz429342 lvcreate --nosync
bz192865 lvconvert logtype of an inactive mirror lv
(both by jstava)

16 years agoAdd bz186013 check -- lvcreate rejects an invalid regionsize (jstava).
Petr Rockai [Mon, 10 Nov 2008 12:37:03 +0000 (12:37 +0000)]
Add bz186013 check -- lvcreate rejects an invalid regionsize (jstava).

16 years agoUse separate locking directory for each of the tests, as they never share a
Petr Rockai [Mon, 10 Nov 2008 12:36:23 +0000 (12:36 +0000)]
Use separate locking directory for each of the tests, as they never share a
volume group, or physical devices for that matter. Hopefully fixes occasional
test errors due to locking failures. Patch by jstava.

16 years agoExplicitly check after lvremove -ff vg that it did its job. By jstava.
Petr Rockai [Mon, 10 Nov 2008 12:32:00 +0000 (12:32 +0000)]
Explicitly check after lvremove -ff vg that it did its job. By jstava.

16 years agoFix lvhange and lvcreate man pages to properly describe permissions option.
Dave Wysochanski [Fri, 7 Nov 2008 19:23:52 +0000 (19:23 +0000)]
Fix lvhange and lvcreate man pages to properly describe permissions option.

James Youngman <jay@gnu.org>

16 years agoFix vgdisplay return code and exit status.
Dave Wysochanski [Fri, 7 Nov 2008 19:02:47 +0000 (19:02 +0000)]
Fix vgdisplay return code and exit status.

16 years agoSet LD_LIBRARY_PATH in init.sh, as it is required to run dmsetup now as well,
Petr Rockai [Fri, 7 Nov 2008 01:30:03 +0000 (01:30 +0000)]
Set LD_LIBRARY_PATH in init.sh, as it is required to run dmsetup now as well,
which otherwise picks up the system version of libdevmapper, which is a pretty
bad idea.

16 years agoquick review of docs
Alasdair Kergon [Tue, 4 Nov 2008 17:49:22 +0000 (17:49 +0000)]
quick review of docs
Note that we'll continue to use WHATS_NEW_DM for device-mapper changes
until we can switch to unified version numbering.

16 years agomake install_device-mapper
Alasdair Kergon [Tue, 4 Nov 2008 17:25:32 +0000 (17:25 +0000)]
make install_device-mapper

16 years agoclvmd
Alasdair Kergon [Tue, 4 Nov 2008 16:41:47 +0000 (16:41 +0000)]
clvmd

16 years agodmeventd
Alasdair Kergon [Tue, 4 Nov 2008 15:55:27 +0000 (15:55 +0000)]
dmeventd

16 years agomore fixes
Alasdair Kergon [Tue, 4 Nov 2008 15:07:45 +0000 (15:07 +0000)]
more fixes

16 years agomore missing bits
Alasdair Kergon [Tue, 4 Nov 2008 14:57:06 +0000 (14:57 +0000)]
more missing bits

16 years agoFix typo.
Petr Rockai [Tue, 4 Nov 2008 14:38:53 +0000 (14:38 +0000)]
Fix typo.

16 years agoAlso report the tests that have been skipped, at the end of harness.sh.
Petr Rockai [Tue, 4 Nov 2008 14:37:51 +0000 (14:37 +0000)]
Also report the tests that have been skipped, at the end of harness.sh.

16 years agoUse $(abs_top_builddir) instead of @DMDIR@ and update paths appropriately.
Petr Rockai [Tue, 4 Nov 2008 14:37:10 +0000 (14:37 +0000)]
Use $(abs_top_builddir) instead of @DMDIR@ and update paths appropriately.

16 years agomore tweaks for dmeventd - not finished yet
Alasdair Kergon [Mon, 3 Nov 2008 23:01:21 +0000 (23:01 +0000)]
more tweaks for dmeventd - not finished yet

16 years agoRight, a simple build (without options) is working again.
Alasdair Kergon [Mon, 3 Nov 2008 22:14:30 +0000 (22:14 +0000)]
Right, a simple build (without options) is working again.

16 years agoadd list fns
Alasdair Kergon [Mon, 3 Nov 2008 20:03:00 +0000 (20:03 +0000)]
add list fns

16 years agomore tweaking to get things to compile - dmlib.h for log fns, list.h
Alasdair Kergon [Mon, 3 Nov 2008 18:59:59 +0000 (18:59 +0000)]
more tweaking to get things to compile - dmlib.h for log fns, list.h

16 years agoRename a couple of variables that matched function names.
Alasdair Kergon [Mon, 3 Nov 2008 16:26:27 +0000 (16:26 +0000)]
Rename a couple of variables that matched function names.

16 years agoautoreconf
Alasdair Kergon [Sat, 1 Nov 2008 20:48:50 +0000 (20:48 +0000)]
autoreconf

16 years agoUse simple x.y.z library version in libdevmapper.pc
Alasdair Kergon [Sat, 1 Nov 2008 20:48:09 +0000 (20:48 +0000)]
Use simple x.y.z library version in libdevmapper.pc

16 years agoautoreconf
Alasdair Kergon [Sat, 1 Nov 2008 02:20:06 +0000 (02:20 +0000)]
autoreconf

16 years agofurther progress
Alasdair Kergon [Sat, 1 Nov 2008 02:19:19 +0000 (02:19 +0000)]
further progress

16 years agoexport DM_LIB_VERSION
Alasdair Kergon [Sat, 1 Nov 2008 01:43:31 +0000 (01:43 +0000)]
export DM_LIB_VERSION

16 years agoadd libdevmapper-event.h
Alasdair Kergon [Fri, 31 Oct 2008 22:41:51 +0000 (22:41 +0000)]
add libdevmapper-event.h

16 years agoautoreconf
Alasdair Kergon [Fri, 31 Oct 2008 22:34:42 +0000 (22:34 +0000)]
autoreconf

16 years agono DMDIR
Alasdair Kergon [Fri, 31 Oct 2008 22:33:55 +0000 (22:33 +0000)]
no DMDIR

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