]> sourceware.org Git - lvm2.git/log
lvm2.git
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.

19 years agoworking dm_get_registered_device(). dmevent.c update to use it.
Heinz Mauelshagen [Tue, 3 May 2005 16:15:20 +0000 (16:15 +0000)]
working dm_get_registered_device(). dmevent.c update to use it.

19 years agomore dm_get_registered_device() code
Heinz Mauelshagen [Tue, 3 May 2005 13:50:42 +0000 (13:50 +0000)]
more dm_get_registered_device() code

19 years agodmeventd was looking for dsos with libdmeventd<name>.so
Benjamin Marzinski [Mon, 2 May 2005 19:34:25 +0000 (19:34 +0000)]
dmeventd was looking for dsos with libdmeventd<name>.so
The Makefile turned noop.c into    libdmeventnoop.so
The Makefile now turns noop.c into libdmeventdnoop.so

19 years agostopped printing a string after we erased the pointer to it.
Benjamin Marzinski [Mon, 2 May 2005 18:43:23 +0000 (18:43 +0000)]
stopped printing a string after we erased the pointer to it.

19 years agoremoved the -lmultilog for now.
Benjamin Marzinski [Mon, 2 May 2005 18:42:07 +0000 (18:42 +0000)]
removed the -lmultilog for now.

19 years agoget the makefile to clean up the .o's
Benjamin Marzinski [Mon, 2 May 2005 17:41:54 +0000 (17:41 +0000)]
get the makefile to clean up the .o's

19 years agoIntroduce exit() in main() and cleanup signal settings for parent/child
Heinz Mauelshagen [Mon, 2 May 2005 11:02:19 +0000 (11:02 +0000)]
Introduce exit() in main() and cleanup signal settings for parent/child

19 years agomore variable initialization.
Benjamin Marzinski [Fri, 29 Apr 2005 22:12:09 +0000 (22:12 +0000)]
more variable initialization.

19 years agochanged client_path and sever_path from 'char *' to 'const char *' to stop
Benjamin Marzinski [Fri, 29 Apr 2005 21:52:46 +0000 (21:52 +0000)]
changed client_path and sever_path from 'char *' to 'const char *' to stop
compiler warning messages.

19 years agoo checking in instrumented code for AJ to follow up on comms and logging
Heinz Mauelshagen [Fri, 29 Apr 2005 14:56:35 +0000 (14:56 +0000)]
o checking in instrumented code for AJ to follow up on comms and logging

o changed

  int dm_get_next_registered_device(char **dso_name, char **device,
                                    enum event_type *events);

  to

  int dm_get_registered_device(char **dso_name, char **device,
                               enum event_type *events, int next)

  so that the daemon is able to retrive the next one of the list without
  running into locking issues.

o changed dmevent.c to use dm_get_registered_device()

o couldn't test this yet because of the comms issues
  (daemon exits in do_process_request())

19 years agofirst changes to get comms back to work after flock changes
Heinz Mauelshagen [Fri, 29 Apr 2005 13:41:25 +0000 (13:41 +0000)]
first changes to get comms back to work after flock changes

19 years agominor cleanup
Heinz Mauelshagen [Fri, 29 Apr 2005 10:58:34 +0000 (10:58 +0000)]
minor cleanup

19 years ago o Build dmeventd against multilog
AJ Lewis [Thu, 28 Apr 2005 22:47:52 +0000 (22:47 +0000)]
 o Build dmeventd against multilog

19 years agobuild libdmeventnoop.so for testing
Alasdair Kergon [Thu, 28 Apr 2005 17:32:27 +0000 (17:32 +0000)]
build libdmeventnoop.so for testing

19 years agotest.c->dmevent.c
Alasdair Kergon [Thu, 28 Apr 2005 14:49:41 +0000 (14:49 +0000)]
test.c->dmevent.c

19 years agoo adds dm_get_next_registered_device() (not functional yet)
Alasdair Kergon [Thu, 28 Apr 2005 14:02:30 +0000 (14:02 +0000)]
o adds dm_get_next_registered_device() (not functional yet)
  to retrieve which devices got registered with the daemon;
  needs locking changes as well

19 years agoPrototype for a device-mapper event-handling daemon.
Alasdair Kergon [Wed, 27 Apr 2005 22:32:00 +0000 (22:32 +0000)]
Prototype for a device-mapper event-handling daemon.

19 years agoextend alloc_lv_segment
Alasdair Kergon [Fri, 22 Apr 2005 15:44:00 +0000 (15:44 +0000)]
extend alloc_lv_segment

19 years agoset_lv_segment_area_pv/lv
Alasdair Kergon [Fri, 22 Apr 2005 15:43:02 +0000 (15:43 +0000)]
set_lv_segment_area_pv/lv

19 years agoInitial pv_segment code.
Alasdair Kergon [Tue, 19 Apr 2005 20:58:25 +0000 (20:58 +0000)]
Initial pv_segment code.

19 years agoinitial pv_segment defns
Alasdair Kergon [Tue, 19 Apr 2005 20:52:35 +0000 (20:52 +0000)]
initial pv_segment defns

19 years ago_copy_pv -> int
Alasdair Kergon [Tue, 19 Apr 2005 20:44:21 +0000 (20:44 +0000)]
_copy_pv -> int

19 years agoTidy clvmd's SIGHUP handler so it doesn't do all that work.
Patrick Caulfield [Tue, 19 Apr 2005 10:36:42 +0000 (10:36 +0000)]
Tidy clvmd's SIGHUP handler so it doesn't do all that work.

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