]> sourceware.org Git - lvm2.git/log
lvm2.git
15 years agoHelper function to catch memory pool leaks.
Milan Broz [Fri, 10 Apr 2009 09:56:58 +0000 (09:56 +0000)]
Helper function to catch memory pool leaks.

15 years agoProperly copy the whole pv structure for later use.
Milan Broz [Fri, 10 Apr 2009 09:56:00 +0000 (09:56 +0000)]
Properly copy the whole pv structure for later use.

The all_pvs list, used in vg_read, should make its own private
copy of pv structures, otherwise (when vg will use its own pool)
it will point to released memory pool.
The same applies for get_pvs() call.

Patch adds pv_list copy helper and adds explicit memory pool
parameter into _copy_pv.

(Please note that all these helper functions cannot guarantee that
vg related fields are valid - proper vg read & lock must be used
if it is requested.)

15 years agoAlways return exit error status when locking of volume group fails.
Milan Broz [Fri, 10 Apr 2009 09:54:36 +0000 (09:54 +0000)]
Always return exit error status when locking of volume group fails.

15 years agoFix mirror log convert validation question.
Milan Broz [Fri, 10 Apr 2009 09:53:42 +0000 (09:53 +0000)]
Fix mirror log convert validation question.

15 years agoAvoid referencing files from DESTDIR during build process
Zdenek Kabelac [Wed, 8 Apr 2009 14:08:05 +0000 (14:08 +0000)]
Avoid referencing files from DESTDIR during build process

15 years agoDo not create some dm and lvm static librarie when they are not requested
Zdenek Kabelac [Wed, 8 Apr 2009 14:04:35 +0000 (14:04 +0000)]
Do not create some dm and lvm static librarie when they are not requested
by configure option
Add dependency for static dmeventd library

15 years agoEnable use of cached metadata for pvs & pvdisplay.
Milan Broz [Wed, 8 Apr 2009 12:53:20 +0000 (12:53 +0000)]
Enable use of cached metadata for pvs & pvdisplay.

Currently PV commands, which performs full device scan, repeatly
re-reads PVs and scans for all devices.

This behaviour can lead to OOM for large VG.

This patch allows using internal metadata cache for pvs & pvdisplay,
so the commands scan the PVs only once.
(We have to use VG_GLOBAL otherwise cache is invalidated on every
VG unlock in process_single PV call.)

15 years agoAdd missing 'device-mapper' internal subdir build dependency.
Alasdair Kergon [Tue, 7 Apr 2009 22:53:48 +0000 (22:53 +0000)]
Add missing 'device-mapper' internal subdir build dependency.

15 years agoUse pv from newly read_vg to avoid possible use of not initialized memory.
Milan Broz [Tue, 7 Apr 2009 10:22:14 +0000 (10:22 +0000)]
Use pv from newly read_vg to avoid possible use of not initialized memory.

If the vg in process_each_segment_in_pv is NULL, the pv struct
can be incomplete (for example lv_segs are not copied in get_pvs()
call).

We need use the new pv from just read-in volume group.

(The same code is in pvdisplay already.)

15 years agoFix memory pool leak.
Milan Broz [Tue, 7 Apr 2009 10:20:28 +0000 (10:20 +0000)]
Fix memory pool leak.

Call the alloc_destory call always after finishing operation
with handle otherwise it will leak a memory pool.

Also fix return code in lv_extend.

15 years agoFix whitespace in t-mdata-strings.sh
Dave Wysochanski [Fri, 3 Apr 2009 14:23:17 +0000 (14:23 +0000)]
Fix whitespace in t-mdata-strings.sh

Author: Dave Wysochanski <dwysocha@redhat.com>

15 years agoSave and restore the previous logging level when log level is changed.
Takahiro Yasui [Thu, 2 Apr 2009 21:34:41 +0000 (21:34 +0000)]
Save and restore the previous logging level when log level is changed.

15 years agoFix error message when archive initialization fails.
Takahiro Yasui [Thu, 2 Apr 2009 20:46:11 +0000 (20:46 +0000)]
Fix error message when archive initialization fails.

15 years agoFix debug pool grow object to properly support delta=0
Milan Broz [Thu, 2 Apr 2009 15:02:18 +0000 (15:02 +0000)]
Fix debug pool grow object to properly support delta=0

(It prints garbage for some reports)

15 years agoAllocate new pv->vg_name from pool, it can be destroyed later.
Milan Broz [Thu, 2 Apr 2009 15:01:11 +0000 (15:01 +0000)]
Allocate new pv->vg_name from pool, it can be destroyed later.

(The mempool rename will be used later by vg private mempools)

15 years agoDo not use pointer from released memory pool (cmd->cmd_line).
Milan Broz [Thu, 2 Apr 2009 14:59:48 +0000 (14:59 +0000)]
Do not use pointer from released memory pool (cmd->cmd_line).

15 years agoMake sure clvmd-corosync releases the lockspace when it exits.
Christine Caulfield [Wed, 1 Apr 2009 07:51:05 +0000 (07:51 +0000)]
Make sure clvmd-corosync releases the lockspace when it exits.

patch from Xinwei Hu

15 years agoAdd some more special chars for device name test.
Milan Broz [Tue, 31 Mar 2009 17:30:47 +0000 (17:30 +0000)]
Add some more special chars for device name test.

15 years agofix some issues when compiling with -D DEBUG_POOL
Milan Broz [Thu, 26 Mar 2009 09:25:18 +0000 (09:25 +0000)]
fix some issues when compiling with -D DEBUG_POOL

- fix compilation issues
- fix wrong pool object maipulation (lvm dumpconfig triggers assert)
- second iteration in loop _log_parallel_areas operates on non-existing object

15 years agoFix segfault for vgcfgrestore on VG with missing PVs.
Milan Broz [Tue, 24 Mar 2009 13:16:34 +0000 (13:16 +0000)]
Fix segfault for vgcfgrestore on VG with missing PVs.

15 years agoBlock SIGINT & SIGTERM in clvmd subthreads so they don't delay shutdown.
Christine Caulfield [Tue, 24 Mar 2009 11:49:15 +0000 (11:49 +0000)]
Block SIGINT & SIGTERM in clvmd subthreads so they don't delay shutdown.
Patch from Xinwei Hu, Thanks

15 years agoRestore log_suppress state when metadata backup file is up-to-date.
Takahiro Yasui [Mon, 23 Mar 2009 22:57:27 +0000 (22:57 +0000)]
Restore log_suppress state when metadata backup file is up-to-date.

Author: Takahiro Yasui <tyasui@redhat.com>

15 years agoRemove old metadata backup file after renaming vg.
Takahiro Yasui [Mon, 23 Mar 2009 22:29:06 +0000 (22:29 +0000)]
Remove old metadata backup file after renaming vg.

Author: Takahiro Yasui <tyasui@redhat.com>

15 years agoFix size and error message of memory allocation at backup initialization.
Takahiro Yasui [Mon, 23 Mar 2009 21:56:32 +0000 (21:56 +0000)]
Fix size and error message of memory allocation at backup initialization.

Author: Takahiro Yasui <tyasui@redhat.com>

15 years agoFix error message when adding metadata directory to internal list fails.
Takahiro Yasui [Mon, 23 Mar 2009 21:13:37 +0000 (21:13 +0000)]
Fix error message when adding metadata directory to internal list fails.

Author: Takahiro Yasui <tyasui@redhat.com>

15 years agoMissed file from previous checkin.
Petr Rockai [Tue, 17 Mar 2009 14:40:00 +0000 (14:40 +0000)]
Missed file from previous checkin.

15 years agoSome extra (paranoid) checks on dev_is_{md,swap} result.
Petr Rockai [Tue, 17 Mar 2009 14:00:58 +0000 (14:00 +0000)]
Some extra (paranoid) checks on dev_is_{md,swap} result.

15 years agoDetect and wipe swap signatures in pvcreate.
Petr Rockai [Tue, 17 Mar 2009 13:59:56 +0000 (13:59 +0000)]
Detect and wipe swap signatures in pvcreate.

15 years agoFix some clean rules, fix previous distclean checkin.
Dave Wysochanski [Mon, 16 Mar 2009 20:00:10 +0000 (20:00 +0000)]
Fix some clean rules, fix previous distclean checkin.

In libdm/Makefile.in, we need to cleanup the symlink properly.
Adding to CLEAN_TARGETS seemed like the simplest way to do this
in the current build framework.  We could redo dependencies for
VERSIONED_SHLIB, but for now just add to CLEAN_TARGETS.

For scripts/Makefile.in, we should be adding to DISTCLEAN_TARGETS.
The generic rule in make.tmpl.in takes care of the cleanup.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Author: Takahiro Yasui <tyasui@redhat.com>

15 years agoFix some distclean rules.
Dave Wysochanski [Mon, 16 Mar 2009 18:28:04 +0000 (18:28 +0000)]
Fix some distclean rules.

By gnu coding stds, 'distclean' should remove all files generated
by ./configure in addition to what 'clean' does.

Author: Takahiro Yasui <tyasui@redhat.com>

15 years agoFix warning in previous commit.
Milan Broz [Mon, 16 Mar 2009 15:19:29 +0000 (15:19 +0000)]
Fix warning in previous commit.

15 years agoFix lv_count when manipulating with snapshots and max_lv is set.
Milan Broz [Mon, 16 Mar 2009 14:34:57 +0000 (14:34 +0000)]
Fix lv_count when manipulating with snapshots and max_lv is set.

Patch fixes these problems:
 - during the snapshot creation process, it needs create 2 LVs,
   one is cow, second becomes snapshot.
   If the code fails in vg_add_snapshot, code lvcreate will not remove
   LV cow volume.

 - if max_lv is set and VG contains snapshot, it can happen that
   during the activation lv_count is temporarily increased over the limit
   and VG metadata are not properly processed
   see https://bugzilla.redhat.com/show_bug.cgi?id=490298

 - vgcfgrestore alows restore with max_lv set to lower valuer that actual
   LV count. This later leads to situation that max_lv is completely ignored.

 - vgck doesn't call vg_validate(). It should at least try:-)

Signed-off-by: Milan Broz <mbroz@redhat.com>
15 years agoRemove unnecessary includes in lvm_base.c.
Dave Wysochanski [Tue, 10 Mar 2009 15:38:46 +0000 (15:38 +0000)]
Remove unnecessary includes in lvm_base.c.

We would like to declare our handles pv_t, vg_t, and lv_t in
the external library header lvm.h.  However, these are already
defined in metadata-exported.h for the use of some of the
in-progress liblvm APIs.  Thus, we cannot both define
them in lvm.h and include metadata-exported.h in the external
library C files.  We could use preprocessor tricks (#ifndef)
but for now we just avoid the include.

15 years agoFix clvmd build after liblvm commit.
Milan Broz [Tue, 10 Mar 2009 12:10:12 +0000 (12:10 +0000)]
Fix clvmd build after liblvm commit.

15 years agoFix error messages when PV uuid or pe_start reading fails.
Dave Wysochanski [Mon, 9 Mar 2009 15:42:10 +0000 (15:42 +0000)]
Fix error messages when PV uuid or pe_start reading fails.

Author: Takahiro Yasui <tyasui@redhat.com>
Committer: Dave Wysochanski <dwysocha@redhat.com>

15 years agoAdd missing liblvm/.exported_symbols
Dave Wysochanski [Sun, 8 Mar 2009 18:58:53 +0000 (18:58 +0000)]
Add missing liblvm/.exported_symbols

15 years agoFix liblvm version symlink.
Dave Wysochanski [Sun, 8 Mar 2009 18:10:39 +0000 (18:10 +0000)]
Fix liblvm version symlink.

15 years agoRemove unnecessary linker flags for liblvm.
Dave Wysochanski [Sun, 8 Mar 2009 17:29:26 +0000 (17:29 +0000)]
Remove unnecessary linker flags for liblvm.

15 years agoAdd DSO generation for new LVM application library.
Dave Wysochanski [Sun, 8 Mar 2009 17:06:55 +0000 (17:06 +0000)]
Add DSO generation for new LVM application library.

Fix test/api/test build.

15 years agoMove lvm.h from lib to liblvm.
Dave Wysochanski [Fri, 6 Mar 2009 22:49:48 +0000 (22:49 +0000)]
Move lvm.h from lib to liblvm.

15 years agoAdd new liblvm build directory and move lvm_base.c.
Dave Wysochanski [Fri, 6 Mar 2009 16:19:52 +0000 (16:19 +0000)]
Add new liblvm build directory and move lvm_base.c.

The original liblvm.a has been moved to liblvm-internal.a.
We now use liblvm.a for the new application library and build
it inside liblvm directory.

Change dependencies so tools depend on liblvm application library,
and application library depends on liblvm internal.

15 years agoRename liblvm to liblvm-internal.
Dave Wysochanski [Fri, 6 Mar 2009 16:17:28 +0000 (16:17 +0000)]
Rename liblvm to liblvm-internal.

Make preparation for using liblvm for new application library.

15 years agoFix unlocks in clvmd-corosync.
Christine Caulfield [Fri, 6 Mar 2009 11:29:38 +0000 (11:29 +0000)]
Fix unlocks in clvmd-corosync.

The DLM unlock returns EUNLOCK in the lksb on success, not 0

15 years agoFix possible increasing in memory allocation if refreshing_context
Milan Broz [Thu, 5 Mar 2009 16:25:35 +0000 (16:25 +0000)]
Fix possible increasing in memory allocation if refreshing_context
(for example when CLVMD_CMD_LOCK_VG for is called during vgscan).

If clvmd calls LV lock, it calls
    /* clean the pool for another command */
dm_pool_empty(cmd->mem);
to clean up memory pool after command.

Unfortunately, do_refresh_cache() do not call this
and because during it operation it allocates some memory,
the pool increases.

Also do_refresh_cache should use lvm_lock
(it manipulates with lvm internal data).

The same applies for lvm_backup command.

Signed-off-by: Milan Broz <mbroz@redhat.com>
15 years agopost-release
Alasdair Kergon [Tue, 3 Mar 2009 18:25:05 +0000 (18:25 +0000)]
post-release

15 years agovgname_from_mda now tries to parse for vgname even
Milan Broz [Tue, 3 Mar 2009 16:35:32 +0000 (16:35 +0000)]
vgname_from_mda now tries to parse for vgname even
if rlocn not defined (there is no metadata area).

In most cases it fails in validate_name(),
unfortunately there are situatuions, when
validate_name is ok and later code fails with
checksum error.

Reproducer:

# dd if=/dev/zero of=/dev/loop0

# pvcreate --metadatasize 637k /dev/loop0
  Physical volume "/dev/loop0" successfully created

# pvs /dev/loop0
  /dev/loop0: Checksum error
      PV         VG   Fmt  Attr PSize PFree
        /dev/loop0      lvm2 --   1.00M 1.00M

Signed-off-by: Milan Broz <mbroz@redhat.com>
-

15 years agopre-release
Alasdair Kergon [Tue, 3 Mar 2009 13:03:03 +0000 (13:03 +0000)]
pre-release

15 years agoFix last check-ins: seg can be NULL.
Alasdair Kergon [Sat, 28 Feb 2009 20:04:24 +0000 (20:04 +0000)]
Fix last check-ins: seg can be NULL.

15 years ago.
Alasdair Kergon [Sat, 28 Feb 2009 19:43:42 +0000 (19:43 +0000)]
.

15 years agoAttempt cleanup in child before execing new binary in exec_cmd()
Alasdair Kergon [Sat, 28 Feb 2009 00:54:06 +0000 (00:54 +0000)]
Attempt cleanup in child before execing new binary in exec_cmd()

15 years ago.
Alasdair Kergon [Fri, 27 Feb 2009 23:55:15 +0000 (23:55 +0000)]
.

15 years agofsadm cleanups & release prep
Alasdair Kergon [Fri, 27 Feb 2009 23:40:11 +0000 (23:40 +0000)]
fsadm cleanups & release prep

15 years agoautoreconf (using fedora 10 for this now)
Alasdair Kergon [Wed, 25 Feb 2009 23:33:30 +0000 (23:33 +0000)]
autoreconf  (using fedora 10 for this now)

15 years agope_start can be overwritten in VG metadata, so it is not PV label-only field.
Milan Broz [Wed, 25 Feb 2009 23:31:06 +0000 (23:31 +0000)]
pe_start can be overwritten in VG metadata, so it is not PV label-only field.

15 years agoTry to avoid full rescan if label scan is enough.
Milan Broz [Wed, 25 Feb 2009 23:29:06 +0000 (23:29 +0000)]
Try to avoid full rescan if label scan is enough.

15 years agoUse pkgconfig to obtain corosync library details during configuration. (kabi)
Alasdair Kergon [Wed, 25 Feb 2009 22:41:12 +0000 (22:41 +0000)]
Use pkgconfig to obtain corosync library details during configuration. (kabi)

15 years agoFix error returns in clvmd-corosync interface to DLM.
Christine Caulfield [Wed, 25 Feb 2009 14:33:00 +0000 (14:33 +0000)]
Fix error returns in clvmd-corosync interface to DLM.

Thanks to Xinwei Hu for spotting this.

15 years agoUpdate vgchange and vgmknodes man pages to include --refresh.
Dave Wysochanski [Wed, 25 Feb 2009 13:17:40 +0000 (13:17 +0000)]
Update vgchange and vgmknodes man pages to include --refresh.

Author: Dave Wysochanski <dwysocha@redhat.com>

15 years agoFixed bug where lvresize option -t was not properly passed to fsadm.
Zdenek Kabelac [Tue, 24 Feb 2009 15:48:00 +0000 (15:48 +0000)]
Fixed bug where lvresize option -t was not properly passed to fsadm.
Using argv[] list in exec_cmd() to allow more params for external commands.
Fsadm does not allow checking mounted filesystem.
Fsadm no longer accepts 'any other key' as 'no' answer to y/n.
Fsadm improved handling of command line options.

15 years agoFix include/.symlinks for lvm2.h to lvm.h renaming
Thomas Woerner [Tue, 24 Feb 2009 13:13:56 +0000 (13:13 +0000)]
Fix include/.symlinks for lvm2.h to lvm.h renaming

Author: Thomas Woerner <twoerner@redhat.com>

15 years agoAdded files lib/lvm.h and lib/lvm_base.c:
Thomas Woerner [Tue, 24 Feb 2009 13:03:45 +0000 (13:03 +0000)]
Added files lib/lvm.h and lib/lvm_base.c:
New structure lvm (used as an alias to cmd_context), new type definition lvm_t
for the lvm handle. Added functions lvm_create, lvm_destroy and
lvm_reload_config using the new handle.

Modified test/api/test.c:
Use new lvm.h header file and lvm_t handle.

Removed lib/lvm2.h

Author: Thomas Woerner <twoerner@redhat.com>

15 years agoFix validation of dataalignment value introduced in previous commit.
Milan Broz [Mon, 23 Feb 2009 16:53:42 +0000 (16:53 +0000)]
Fix validation of dataalignment value introduced in previous commit.

15 years agoMove tools/version.h to lib/misc/lvm-version.h.
Alasdair Kergon [Sun, 22 Feb 2009 22:11:58 +0000 (22:11 +0000)]
Move tools/version.h to lib/misc/lvm-version.h.
Split LVM_VERSION into MAJOR, MINOR, PATCHLEVEL, RELEASE and RELEASE_DATE.

15 years agoAdd system_dir parameter to create_toolcontext() and call it system_dir
Alasdair Kergon [Sun, 22 Feb 2009 21:14:37 +0000 (21:14 +0000)]
Add system_dir parameter to create_toolcontext() and call it system_dir
everywhere for consistency.

15 years agoComment out pvcreate pagesize alignment test for now.
Milan Broz [Sun, 22 Feb 2009 19:32:28 +0000 (19:32 +0000)]
Comment out pvcreate pagesize alignment test for now.

15 years agoAdd --dataalignment to pvcreate to specify alignment of data area. (mbroz)
Alasdair Kergon [Sun, 22 Feb 2009 19:00:26 +0000 (19:00 +0000)]
Add --dataalignment to pvcreate to specify alignment of data area.  (mbroz)

This patch is not fully tested and leaves some related bugs unfixed.

Intended behaviour of the code now:

  pe_start in the lvm2 format PV label header is set only by pvcreate (or
vgconvert -M2) and then preserved in *all* operations thereafter.

  In some specialist cases, after the PV is added to a VG, the pe_start
field in the VG metadata may hold a different value and if so, it
overrides the other one for as long as the PV is in such a VG.

  Currently, the field storing the size of the data area in the PV label
header always holds 0.  As it only has meaning in the context of a
volume group, it is calculated whenever the PV is added to a VG (and can
be derived from extent_size and pe_count in the VG metadata).

15 years agoFix interrupt unblocking after vgcreate, for example: drop_cached_metadata()
Alasdair Kergon [Sun, 22 Feb 2009 16:13:57 +0000 (16:13 +0000)]
Fix interrupt unblocking after vgcreate, for example: drop_cached_metadata()
previously left _vg_lock_count incremented.
Other locks are always held during drop_cached_metadata() so there's no
need to increment+decrement it.

15 years agoProvide da and mda locations in debug message when writing text format label.
Alasdair Kergon [Fri, 20 Feb 2009 23:19:28 +0000 (23:19 +0000)]
Provide da and mda locations in debug message when writing text format label.

15 years agoMention the restriction on file descriptors at invocation on the lvm man page.
Alasdair Kergon [Fri, 20 Feb 2009 01:47:02 +0000 (01:47 +0000)]
Mention the restriction on file descriptors at invocation on the lvm man page.

15 years agoIn testsuite's not.c, print a notice when program dies of a fatal signal.
Petr Rockai [Tue, 17 Feb 2009 19:37:28 +0000 (19:37 +0000)]
In testsuite's not.c, print a notice when program dies of a fatal signal.

15 years agoFix test output collection in harness.c.
Petr Rockai [Tue, 17 Feb 2009 19:36:16 +0000 (19:36 +0000)]
Fix test output collection in harness.c.

15 years agoIndex cached vgmetadata by vgid not vgname to cope with duplicate vgnames. (dwyso)
Alasdair Kergon [Tue, 17 Feb 2009 18:56:41 +0000 (18:56 +0000)]
Index cached vgmetadata by vgid not vgname to cope with duplicate vgnames.  (dwyso)

15 years agoFix lvm.static build dependence (to properly propagate changes in libdevmapper).
Milan Broz [Tue, 17 Feb 2009 11:07:59 +0000 (11:07 +0000)]
Fix lvm.static build dependence (to properly propagate changes in libdevmapper).

15 years agoOnly fail when tests have failed, but not when they have been just skipped.
Petr Rockai [Mon, 16 Feb 2009 16:49:21 +0000 (16:49 +0000)]
Only fail when tests have failed, but not when they have been just skipped.

15 years agoIf kernel supports only one dm major number, use in place of any supplied.
Alasdair Kergon [Thu, 12 Feb 2009 20:42:07 +0000 (20:42 +0000)]
If kernel supports only one dm major number, use in place of any supplied.
No longer require kernel and metadata major numbers to match.

15 years agoRe-implement the test harness in C. This lets us pass through signals and
Petr Rockai [Thu, 12 Feb 2009 19:54:45 +0000 (19:54 +0000)]
Re-implement the test harness in C. This lets us pass through signals and
trigger proper test teardown upon harness interrupt or termination. I also
tweaked the output somewhat while I was at it...

15 years agoAdd a fully-functional get_cluster_name() to clvmd corosync interface.
Christine Caulfield [Wed, 11 Feb 2009 10:13:20 +0000 (10:13 +0000)]
Add a fully-functional get_cluster_name() to clvmd corosync interface.

15 years agoRemove duplicate cpg_initialize from clvmd startup.
Christine Caulfield [Tue, 10 Feb 2009 13:22:18 +0000 (13:22 +0000)]
Remove duplicate cpg_initialize from clvmd startup.

15 years agoAdd option to /etc/sysconfig/cluster to select cluster type for clvmd.
Christine Caulfield [Tue, 10 Feb 2009 11:53:33 +0000 (11:53 +0000)]
Add option to /etc/sysconfig/cluster to select cluster type for clvmd.

15 years agoAllow clvmd to start up if its lockspace already exists.
Christine Caulfield [Tue, 10 Feb 2009 11:52:40 +0000 (11:52 +0000)]
Allow clvmd to start up if its lockspace already exists.

15 years agoSeparate PV label attributes which do not need parse metadata when reporting.
Milan Broz [Mon, 9 Feb 2009 09:45:49 +0000 (09:45 +0000)]
Separate PV label attributes which do not need parse metadata when reporting.

When reporting explicitly label attributes (pv_uuid for example), we do not
need to read metadata.

This patch separate the label fileds and removes scan_vgs_for_pvs
in process_each_pv() if not needed.

(There should be no user visible change in output.)

15 years agoRemove external dependency on the 'cut' command in fsadm
Zdenek Kabelac [Fri, 6 Feb 2009 14:28:06 +0000 (14:28 +0000)]
Remove external dependency on the 'cut' command in fsadm

15 years agoFix pvs segfault when pv mda attributes requested for not available PV.
Milan Broz [Fri, 6 Feb 2009 12:41:51 +0000 (12:41 +0000)]
Fix pvs segfault when pv mda attributes requested for not available PV.

15 years agoadd support for ext4 resize in fsadm
Zdenek Kabelac [Wed, 4 Feb 2009 12:47:05 +0000 (12:47 +0000)]
add support for ext4 resize in fsadm

15 years agoMove locking_type reading inside init_locking().
Dave Wysochanski [Tue, 3 Feb 2009 16:23:19 +0000 (16:23 +0000)]
Move locking_type reading inside init_locking().

No functional change.

15 years agoRename get_vgs() to get_vgnames() and clarify related error messages.
Dave Wysochanski [Tue, 3 Feb 2009 16:19:25 +0000 (16:19 +0000)]
Rename get_vgs() to get_vgnames() and clarify related error messages.

get_vgs() really returns a list of vgnames.  In the future we will use
get_vgs() to return a list of vg structures, similar to get_pvs().

15 years agoAllow clvmd to be built with all cluster managers & select one on cmdline.
Christine Caulfield [Mon, 2 Feb 2009 14:34:24 +0000 (14:34 +0000)]
Allow clvmd to be built with all cluster managers & select one on cmdline.

15 years agoMention --with-clvmd=corosync in ./configure
Christine Caulfield [Thu, 29 Jan 2009 15:23:15 +0000 (15:23 +0000)]
Mention --with-clvmd=corosync in ./configure

15 years agoAdd as-yet-unused vg_read_error() and vg_might_exist(). (mornfall)
Alasdair Kergon [Tue, 27 Jan 2009 01:48:47 +0000 (01:48 +0000)]
Add as-yet-unused vg_read_error() and vg_might_exist().  (mornfall)

15 years agoIntroduce as-yet-unused replacement vg_read() and vg_read_for_update()
Alasdair Kergon [Tue, 27 Jan 2009 00:40:44 +0000 (00:40 +0000)]
Introduce as-yet-unused replacement vg_read() and vg_read_for_update()
functions.  (mornfall)

15 years ago Replace internal vg_check_status() implementation. (mornfall)
Alasdair Kergon [Mon, 26 Jan 2009 22:42:59 +0000 (22:42 +0000)]
 Replace internal vg_check_status() implementation.  (mornfall)

15 years agoProperly enforce cluster locking in as-yet-unused _vg_lock_and_read. (mornfall)
Alasdair Kergon [Mon, 26 Jan 2009 22:22:07 +0000 (22:22 +0000)]
Properly enforce cluster locking in as-yet-unused _vg_lock_and_read. (mornfall)

15 years agoIntroduce as-yet-unused _vg_lock_and_read() and associated header file
Alasdair Kergon [Mon, 26 Jan 2009 22:13:22 +0000 (22:13 +0000)]
Introduce as-yet-unused _vg_lock_and_read() and associated header file
definitions.

15 years agoRename vg_read() to vg_read_internal(). (mornfall)
Alasdair Kergon [Mon, 26 Jan 2009 19:01:32 +0000 (19:01 +0000)]
Rename vg_read() to vg_read_internal(). (mornfall)

15 years agopost-release
Alasdair Kergon [Mon, 26 Jan 2009 14:46:08 +0000 (14:46 +0000)]
post-release

15 years agoand another one missing
Alasdair Kergon [Mon, 26 Jan 2009 14:40:06 +0000 (14:40 +0000)]
and another one missing

15 years agoAdd stuff people missed.
Alasdair Kergon [Mon, 26 Jan 2009 13:34:07 +0000 (13:34 +0000)]
Add stuff people missed.

15 years agopre-release
Alasdair Kergon [Mon, 26 Jan 2009 13:14:22 +0000 (13:14 +0000)]
pre-release

15 years agoAdd a corosync/DLM cluster service to clvmd.
Christine Caulfield [Thu, 22 Jan 2009 10:21:12 +0000 (10:21 +0000)]
Add a corosync/DLM cluster service to clvmd.

It's not integrated in the configure system yet though.

15 years agoUse tools.h in for lvm-static.
Milan Broz [Tue, 20 Jan 2009 20:37:41 +0000 (20:37 +0000)]
Use tools.h in for lvm-static.

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