]> sourceware.org Git - lvm2.git/log
lvm2.git
18 years agoadd comments to example conf file to warn about common filter line mistakes
Alasdair Kergon [Wed, 31 Aug 2005 15:05:47 +0000 (15:05 +0000)]
add comments to example conf file to warn about common filter line mistakes

18 years agoFix termination of getopt_long() option array.
Alasdair Kergon [Thu, 18 Aug 2005 19:40:19 +0000 (19:40 +0000)]
Fix termination of getopt_long() option array.

18 years agolvmconf.sh
Alasdair Kergon [Tue, 16 Aug 2005 20:42:28 +0000 (20:42 +0000)]
lvmconf.sh

18 years agoAdd copyright notice to lvmconf.sh and use unique exit codes.
Alasdair Kergon [Tue, 16 Aug 2005 20:38:33 +0000 (20:38 +0000)]
Add copyright notice to lvmconf.sh and use unique exit codes.

18 years agoAdd format1 dev_write debug messages.
Alasdair Kergon [Tue, 16 Aug 2005 19:00:55 +0000 (19:00 +0000)]
Add format1 dev_write debug messages.

18 years agoclvmd no longer takes out locks for non-clusteed LVs,
Patrick Caulfield [Tue, 16 Aug 2005 08:25:09 +0000 (08:25 +0000)]
clvmd no longer takes out locks for non-clusteed LVs,
and non-clustered LVs are only activated on the local node.

18 years agoAdd clustered VG attribute to report.
Alasdair Kergon [Mon, 15 Aug 2005 23:34:11 +0000 (23:34 +0000)]
Add clustered VG attribute to report.

18 years agoMove lvconvert parameters into struct lvconvert_params.
Alasdair Kergon [Mon, 15 Aug 2005 14:10:28 +0000 (14:10 +0000)]
Move lvconvert parameters into struct lvconvert_params.

18 years agoAdd clustered VG flag to LV lock requests.
Alasdair Kergon [Mon, 15 Aug 2005 13:24:46 +0000 (13:24 +0000)]
Add clustered VG flag to LV lock requests.

18 years agoChange LV locking macros to take lv instead of lvid.
Alasdair Kergon [Mon, 15 Aug 2005 12:00:04 +0000 (12:00 +0000)]
Change LV locking macros to take lv instead of lvid.

18 years agoPrepare tools to support clustered mirrors.
Alasdair Kergon [Sun, 14 Aug 2005 23:18:28 +0000 (23:18 +0000)]
Prepare tools to support clustered mirrors.

19 years agoFactor out generate_log_name_format().
Alasdair Kergon [Fri, 12 Aug 2005 20:02:21 +0000 (20:02 +0000)]
Factor out generate_log_name_format().

19 years agoFactor out adjusted_mirror_region_size()
Alasdair Kergon [Fri, 12 Aug 2005 19:23:08 +0000 (19:23 +0000)]
Factor out adjusted_mirror_region_size()

19 years agoMove compose_log_line() into mirror directory.
Alasdair Kergon [Wed, 10 Aug 2005 17:19:46 +0000 (17:19 +0000)]
Move compose_log_line() into mirror directory.

19 years agoDon't kill idling clvmd threads.
Alasdair Kergon [Tue, 9 Aug 2005 17:29:04 +0000 (17:29 +0000)]
Don't kill idling clvmd threads.

19 years agoFactor out _get_library_path().
Alasdair Kergon [Tue, 9 Aug 2005 17:24:21 +0000 (17:24 +0000)]
Factor out _get_library_path().

19 years agoDon't send a signal to kill threads that are idling nicely as it upsets them.
Patrick Caulfield [Tue, 9 Aug 2005 10:39:57 +0000 (10:39 +0000)]
Don't send a signal to kill threads that are idling nicely as it upsets them.
This seems to cure bz#159727 on SMP systems.

Alasdair, can you include this patch in the lvm2-cluster package please ?

19 years agoReport 'buffer full' condition with v4 ioctl as well as with v1.
Alasdair Kergon [Mon, 8 Aug 2005 18:40:17 +0000 (18:40 +0000)]
Report 'buffer full' condition with v4 ioctl as well as with v1.

19 years agoaoe
Alasdair Kergon [Mon, 8 Aug 2005 17:55:35 +0000 (17:55 +0000)]
aoe

19 years agoRecognise aoe devices.
Alasdair Kergon [Mon, 8 Aug 2005 17:54:23 +0000 (17:54 +0000)]
Recognise aoe devices.

19 years agopost-release
Alasdair Kergon [Thu, 4 Aug 2005 02:07:34 +0000 (02:07 +0000)]
post-release

19 years agoupdate po
Alasdair Kergon [Thu, 4 Aug 2005 02:02:37 +0000 (02:02 +0000)]
update po

19 years agoFix lvconvert PV parameter in help string.
Alasdair Kergon [Thu, 4 Aug 2005 01:50:17 +0000 (01:50 +0000)]
Fix lvconvert PV parameter in help string.

19 years agofix last checkin
Alasdair Kergon [Thu, 4 Aug 2005 01:29:18 +0000 (01:29 +0000)]
fix last checkin

19 years agoPrevent snapshots getting activated in a clustered VG.
Alasdair Kergon [Thu, 4 Aug 2005 01:27:25 +0000 (01:27 +0000)]
Prevent snapshots getting activated in a clustered VG.

19 years agoSeparate out _build_dev_string.
Alasdair Kergon [Thu, 4 Aug 2005 01:15:30 +0000 (01:15 +0000)]
Separate out _build_dev_string.

19 years agoMove zero_lv to toollib.
Alasdair Kergon [Thu, 4 Aug 2005 01:14:36 +0000 (01:14 +0000)]
Move zero_lv to toollib.

19 years agopost-release
Alasdair Kergon [Tue, 2 Aug 2005 21:46:49 +0000 (21:46 +0000)]
post-release

19 years agoupdate vsn
Alasdair Kergon [Tue, 2 Aug 2005 18:00:32 +0000 (18:00 +0000)]
update vsn

19 years agoFix dmsetup ls -j and status --target with empty table.
Alasdair Kergon [Fri, 29 Jul 2005 16:11:23 +0000 (16:11 +0000)]
Fix dmsetup ls -j and status --target with empty table.

19 years agofix pool format handler to work with pvseg code
AJ Lewis [Tue, 26 Jul 2005 21:48:18 +0000 (21:48 +0000)]
fix pool format handler to work with pvseg code

19 years agopost-release
Alasdair Kergon [Wed, 13 Jul 2005 19:28:09 +0000 (19:28 +0000)]
post-release

19 years agoupdate po
Alasdair Kergon [Wed, 13 Jul 2005 19:23:48 +0000 (19:23 +0000)]
update po

19 years ago2.01.13
Alasdair Kergon [Wed, 13 Jul 2005 19:15:09 +0000 (19:15 +0000)]
2.01.13

19 years agoFix pvmove segment splitting.
Alasdair Kergon [Tue, 12 Jul 2005 19:40:59 +0000 (19:40 +0000)]
Fix pvmove segment splitting.
Abstract vg_validate.

19 years agoOnly make one attempt at contiguous allocation.
Alasdair Kergon [Tue, 12 Jul 2005 14:50:45 +0000 (14:50 +0000)]
Only make one attempt at contiguous allocation.

19 years agoFix lvm1 format metadata read.
Alasdair Kergon [Wed, 22 Jun 2005 15:31:29 +0000 (15:31 +0000)]
Fix lvm1 format metadata read.

19 years agofix lvm1 non-mirror lvcreate
Alasdair Kergon [Wed, 22 Jun 2005 14:56:14 +0000 (14:56 +0000)]
fix lvm1 non-mirror lvcreate

19 years agoFixing some makesfiles, so that the correct things link against pthreads.
Benjamin Marzinski [Tue, 14 Jun 2005 19:06:26 +0000 (19:06 +0000)]
Fixing some makesfiles, so that the correct things link against pthreads.
Also changed dmevent so that in no longer links against pthreads, and
dynamically loads libdmevent.so.  Everything seems to work just fine like this.

19 years agopreset pl to NULL
Alasdair Kergon [Tue, 14 Jun 2005 18:29:12 +0000 (18:29 +0000)]
preset pl to NULL

19 years agomissing fn defs
Alasdair Kergon [Tue, 14 Jun 2005 18:22:31 +0000 (18:22 +0000)]
missing fn defs

19 years agopost-release
Alasdair Kergon [Tue, 14 Jun 2005 18:22:22 +0000 (18:22 +0000)]
post-release

19 years ago2.01.12
Alasdair Kergon [Tue, 14 Jun 2005 17:59:57 +0000 (17:59 +0000)]
2.01.12

19 years agoVarious allocation-related pvmove fixes.
Alasdair Kergon [Tue, 14 Jun 2005 17:54:48 +0000 (17:54 +0000)]
Various allocation-related pvmove fixes.

19 years agoLog an error if clvmd can't resolve a host name got from CCS
Patrick Caulfield [Tue, 14 Jun 2005 10:35:02 +0000 (10:35 +0000)]
Log an error if clvmd can't resolve a host name got from CCS
Fix potential spin loop in clvmd

19 years agopost-release
Alasdair Kergon [Mon, 13 Jun 2005 14:53:07 +0000 (14:53 +0000)]
post-release

19 years ago2.01.11
Alasdair Kergon [Mon, 13 Jun 2005 14:43:28 +0000 (14:43 +0000)]
2.01.11

19 years agoUse matchpathcon mode parameter.
Alasdair Kergon [Mon, 13 Jun 2005 13:13:15 +0000 (13:13 +0000)]
Use matchpathcon mode parameter.

19 years agoUse matchpathcon mode parameter
Alasdair Kergon [Mon, 13 Jun 2005 13:11:48 +0000 (13:11 +0000)]
Use matchpathcon mode parameter

19 years agoDon't defer closing of FDs in clvmd as it can cause trouble.
Patrick Caulfield [Mon, 13 Jun 2005 10:16:21 +0000 (10:16 +0000)]
Don't defer closing of FDs in clvmd as it can cause trouble.

19 years agoupdate version
Alasdair Kergon [Fri, 10 Jun 2005 22:00:44 +0000 (22:00 +0000)]
update version

19 years agofix configure script to reenable selinux
Alasdair Kergon [Fri, 10 Jun 2005 21:57:49 +0000 (21:57 +0000)]
fix configure script to reenable selinux

19 years ago o print the context along with the path when setting selinux context
AJ Lewis [Fri, 10 Jun 2005 21:30:21 +0000 (21:30 +0000)]
 o print the context along with the path when setting selinux context

19 years ago o set umask and make tempfiles a bit nicer to deal with
AJ Lewis [Fri, 10 Jun 2005 19:10:45 +0000 (19:10 +0000)]
 o set umask and make tempfiles a bit nicer to deal with

19 years ago o script to adjust items in lvm.conf file - currently only handles turning
AJ Lewis [Fri, 10 Jun 2005 17:11:48 +0000 (17:11 +0000)]
 o script to adjust items in lvm.conf file - currently only handles turning
   cluster lvm on and off

19 years agoBe a bit smarter about reading stuff from the sockets
Patrick Caulfield [Fri, 10 Jun 2005 09:11:01 +0000 (09:11 +0000)]
Be a bit smarter about reading stuff from the sockets

19 years agoTimeout event implementation:
Benjamin Marzinski [Thu, 9 Jun 2005 18:40:49 +0000 (18:40 +0000)]
Timeout event implementation:
The daemon side of this is mostly the same as the patch I sent out.  To select
a timeout period different than the default and to get the timeout period,
I added two library calls, dm_set_event_timeout() and dm_get_event_timeout().
If people are against them, the other option is to tack extra arguments onto
dm_regiser_for_event() and dm_get_registered_device().  I also added a
-t option to dmevent, so people can try out timeouts.

19 years agoRemove hard-coded 64k text metadata writing restriction.
Alasdair Kergon [Tue, 7 Jun 2005 11:00:07 +0000 (11:00 +0000)]
Remove hard-coded 64k text metadata writing restriction.

19 years agoMake VG name restrictions consistent.
Alasdair Kergon [Mon, 6 Jun 2005 18:16:33 +0000 (18:16 +0000)]
Make VG name restrictions consistent.

19 years agoIntroduce lvconvert. So far only removes mirror images.
Alasdair Kergon [Mon, 6 Jun 2005 17:12:08 +0000 (17:12 +0000)]
Introduce lvconvert.  So far only removes mirror images.

19 years agoprevent active mirror resize for now
Alasdair Kergon [Fri, 3 Jun 2005 22:26:09 +0000 (22:26 +0000)]
prevent active mirror resize for now

19 years agoAllow mirror images to be resized.
Alasdair Kergon [Fri, 3 Jun 2005 19:48:19 +0000 (19:48 +0000)]
Allow mirror images to be resized.

19 years agoAllow mirror images to have more than one segment.
Alasdair Kergon [Fri, 3 Jun 2005 18:07:13 +0000 (18:07 +0000)]
Allow mirror images to have more than one segment.

19 years agolvremove mirror images
Alasdair Kergon [Fri, 3 Jun 2005 15:44:12 +0000 (15:44 +0000)]
lvremove mirror images

19 years agoAlways insert an intermediate layer for mirrors.
Alasdair Kergon [Fri, 3 Jun 2005 14:49:51 +0000 (14:49 +0000)]
Always insert an intermediate layer for mirrors.
Suppress hidden LVs from reports unless --all is given.
Use square brackets for hidden LVs in reports.
Centralise restrictions on LV names.

19 years agoBasic support for mirrors.
Alasdair Kergon [Wed, 1 Jun 2005 16:51:55 +0000 (16:51 +0000)]
Basic support for mirrors.

19 years agoChange the multilog code to toggle between async and sync writes for all
AJ Lewis [Wed, 25 May 2005 21:08:36 +0000 (21:08 +0000)]
Change the multilog code to toggle between async and sync writes for all
log types.  This means the threaded_syslog type is no longer valid.  A new
fxn multilog_async is available to toggle between the two modes.  If an
app is compiled without pthreads and tries to use async logging, no logging
will occur while async is enabled.

dmeventd has been modified to use the new code

I'm not positive I like the way the async_logger code calls the log fxn,
but it works for now.  Suggestions for other ways to do it would be helpful

19 years agoFix non-orphan pvchange -u.
Alasdair Kergon [Tue, 24 May 2005 17:38:26 +0000 (17:38 +0000)]
Fix non-orphan pvchange -u.

19 years agoFix mem allocs after archiver code move.
Alasdair Kergon [Tue, 24 May 2005 17:37:39 +0000 (17:37 +0000)]
Fix mem allocs after archiver code move.

19 years agoExit after last unregister_for_event()
Heinz Mauelshagen [Fri, 20 May 2005 13:53:26 +0000 (13:53 +0000)]
Exit after last unregister_for_event()

19 years agoFix vgmerge to handle duplicate LVIDs.
Alasdair Kergon [Thu, 19 May 2005 16:48:51 +0000 (16:48 +0000)]
Fix vgmerge to handle duplicate LVIDs.

19 years ago1.01.02
Alasdair Kergon [Tue, 17 May 2005 15:50:25 +0000 (15:50 +0000)]
1.01.02

19 years agoStart merging cloned allocation functions.
Alasdair Kergon [Tue, 17 May 2005 13:49:45 +0000 (13:49 +0000)]
Start merging cloned allocation functions.

19 years agoMove archiver code from tools into library.
Alasdair Kergon [Tue, 17 May 2005 13:46:38 +0000 (13:46 +0000)]
Move archiver code from tools into library.

19 years agovgscan/change/display/vgs automatically create metadata backup if out-of-date or...
Alasdair Kergon [Tue, 17 May 2005 13:44:02 +0000 (13:44 +0000)]
vgscan/change/display/vgs automatically create metadata backup if out-of-date or missing.

19 years agoAdd dmsetup ls --exec.
Alasdair Kergon [Mon, 16 May 2005 20:46:46 +0000 (20:46 +0000)]
Add dmsetup ls --exec.

19 years agoAdd --target to dmsetup ls.
Alasdair Kergon [Mon, 16 May 2005 16:04:34 +0000 (16:04 +0000)]
Add --target to dmsetup ls.

19 years agoCall dm_lib_exit() and dm_lib_release() automatically now.
Alasdair Kergon [Mon, 16 May 2005 15:15:34 +0000 (15:15 +0000)]
Call dm_lib_exit() and dm_lib_release() automatically now.

19 years agoAdd --target <target_type> filter to dmsetup table/status.
Alasdair Kergon [Mon, 16 May 2005 14:53:23 +0000 (14:53 +0000)]
Add --target <target_type> filter to dmsetup table/status.
Fix dmsetup getopt_long usage.

19 years agoFix contiguous allocations with linear.
Alasdair Kergon [Wed, 11 May 2005 16:46:59 +0000 (16:46 +0000)]
Fix contiguous allocations with linear.

19 years agomore clvmd rhel4 initscript cleanup
AJ Lewis [Wed, 11 May 2005 15:21:44 +0000 (15:21 +0000)]
more clvmd rhel4 initscript cleanup
 - don't echo after an 'action' call - action does the echo itself
 - use vgdisplay/vgs to determine which VGs are marked clustered and only
   deactivate those VGs (unless the LVM_VGS var is set in
   /etc/sysconfig/cluster)

19 years agoCope with missing format1 PVs again.
Alasdair Kergon [Wed, 11 May 2005 15:04:06 +0000 (15:04 +0000)]
Cope with missing format1 PVs again.

19 years agoRemove lists of free PV segments.
Alasdair Kergon [Wed, 11 May 2005 15:02:49 +0000 (15:02 +0000)]
Remove lists of free PV segments.
Simplify pv_maps code and remove slow bitset algorithm.

19 years agoupdated to reflect clvmd rhel4 initscript being redhatified
AJ Lewis [Tue, 10 May 2005 20:15:39 +0000 (20:15 +0000)]
updated to reflect clvmd rhel4 initscript being redhatified

19 years agoFixes bz#155478
AJ Lewis [Tue, 10 May 2005 20:14:33 +0000 (20:14 +0000)]
Fixes bz#155478
Redhatify the rhel4 initscript (use /etc/init.d/functions)

19 years ago o Changed the multilog API a bit (I warned you)
AJ Lewis [Mon, 9 May 2005 18:44:35 +0000 (18:44 +0000)]
 o Changed the multilog API a bit (I warned you)
   - multilog_add_type, multilog_del_type, multilog_custom, and
     multilog_init_verbose all have different arguments.
   - Primary change is that caller only passes in config info, and the
     lib keeps track of state internally.  No more exporting of
     'struct log_data'.
   - Custom callers now only get the custom data pointer passed into their
     log fxn (that is set with multilog_custom)
   - Added basic README that describes libmultilog

19 years ago%Zu->zu
Alasdair Kergon [Mon, 9 May 2005 17:45:06 +0000 (17:45 +0000)]
%Zu->zu

19 years agofix compiler warnings
Alasdair Kergon [Mon, 9 May 2005 17:41:36 +0000 (17:41 +0000)]
fix compiler warnings

19 years agoFix loopfiles mem alloc.
Alasdair Kergon [Mon, 9 May 2005 17:02:52 +0000 (17:02 +0000)]
Fix loopfiles mem alloc.

19 years agoUn-inline dbg_strdup.
Alasdair Kergon [Mon, 9 May 2005 17:01:06 +0000 (17:01 +0000)]
Un-inline dbg_strdup.

19 years agolv_reduce tidying.
Alasdair Kergon [Mon, 9 May 2005 16:59:01 +0000 (16:59 +0000)]
lv_reduce tidying.
Remove some unnecessary parameters.
Introduce seg_is macros.

19 years agopost-release
Alasdair Kergon [Mon, 9 May 2005 16:41:48 +0000 (16:41 +0000)]
post-release

19 years agooops. Those are char **'s not char *'s
Benjamin Marzinski [Wed, 4 May 2005 19:24:03 +0000 (19:24 +0000)]
oops. Those are char **'s not char *'s

19 years agofixed dmevent so that it doesn't do a double free when you run
Benjamin Marzinski [Wed, 4 May 2005 18:53:28 +0000 (18:53 +0000)]
fixed dmevent so that it doesn't do a double free when you run
# dmevent -l

Also, changed the behaviour of dm_get_registered_device(), so that it doesn't
change the pointer you passed in without freeing the memory on a non-next call,
and doesn't free your pointer without setting it to NULL on a failed next call.

19 years agoo libmultilog needs introducing of list locking in order to stand
Heinz Mauelshagen [Wed, 4 May 2005 11:52:07 +0000 (11:52 +0000)]
o libmultilog needs introducing of list locking in order to stand
  multilog_add_type()/multilog_del_type cycles correctly.
o fixed segfault in multilog_add_type()
o fixed test-multilog.c
o cleaned up libmultilog (list macros, indentation, braces, comments)

19 years ago- make noop use multilog
Jonathan Earl Brassow [Wed, 4 May 2005 01:57:31 +0000 (01:57 +0000)]
- make noop use multilog
- add event_nr to thread_status struct and set appropriately so that the
  thread actually waits for an event
- essentially make error_detected return true.  Let the DSOs determine
  how to interpret the status info

19 years ago o stick multilog into the dm-event lib and dmeventd code again
AJ Lewis [Tue, 3 May 2005 21:29:13 +0000 (21:29 +0000)]
 o stick multilog into the dm-event lib and dmeventd code again
 o more tweaks to libmultilog calls - the api isn't set in stone yet, so
   don't get too comfortable.
 o not sure the dmeventd in device-mapper/dmeventd works - i've been using
   the one in lib/event/
 o currently both daemons are set to log only to syslog

19 years ago2.01.10
Alasdair Kergon [Tue, 3 May 2005 17:43:47 +0000 (17:43 +0000)]
2.01.10

19 years agoDon't create backup and archive dirs till needed.
Alasdair Kergon [Tue, 3 May 2005 17:31:56 +0000 (17:31 +0000)]
Don't create backup and archive dirs till needed.

19 years agoReinstate full PV size when removing from VG.
Alasdair Kergon [Tue, 3 May 2005 17:28:23 +0000 (17:28 +0000)]
Reinstate full PV size when removing from VG.
Support loopfiles for testing.
Complete the pv_segment support.

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