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

19 years agovgchange --physicalextentsize (but only if it's an exact fit - may need to
Alasdair Kergon [Mon, 18 Apr 2005 14:56:42 +0000 (14:56 +0000)]
vgchange --physicalextentsize (but only if it's an exact fit - may need to
use pvmove first)

19 years agoextract compose_log_line
Alasdair Kergon [Sun, 17 Apr 2005 23:59:04 +0000 (23:59 +0000)]
extract compose_log_line

19 years agoget_pv_from_vg_by_id
Alasdair Kergon [Sun, 17 Apr 2005 23:57:44 +0000 (23:57 +0000)]
get_pv_from_vg_by_id

19 years agoMake clvmd work around some "limitations" in gulm's node state notifications.
Patrick Caulfield [Wed, 13 Apr 2005 13:50:07 +0000 (13:50 +0000)]
Make clvmd work around some "limitations" in gulm's node state notifications.
Also make clvmd debuglog timestamps a little more helpful.

19 years agoInternal snapshot code restructuring.
Alasdair Kergon [Thu, 7 Apr 2005 12:39:44 +0000 (12:39 +0000)]
Internal snapshot code restructuring.

19 years agoadd lvid to lv_create_empty
Alasdair Kergon [Thu, 7 Apr 2005 12:29:46 +0000 (12:29 +0000)]
add lvid to lv_create_empty

19 years agoRemove unused internal non-persistent snapshot option.
Alasdair Kergon [Thu, 7 Apr 2005 12:27:57 +0000 (12:27 +0000)]
Remove unused internal non-persistent snapshot option.

19 years agofix unused o_direct label
Alasdair Kergon [Thu, 7 Apr 2005 12:25:33 +0000 (12:25 +0000)]
fix unused o_direct label

19 years agostore snapshot id as lvid internally
Alasdair Kergon [Thu, 7 Apr 2005 12:24:48 +0000 (12:24 +0000)]
store snapshot id as lvid internally

19 years agoAllow offline extension of snapshot volumes.
Alasdair Kergon [Thu, 7 Apr 2005 12:17:46 +0000 (12:17 +0000)]
Allow offline extension of snapshot volumes.
NB Requires kernel patch that is not upstream.

19 years agoMove from 2-step to 3-step on-disk metadata commit.
Alasdair Kergon [Wed, 6 Apr 2005 18:59:55 +0000 (18:59 +0000)]
Move from 2-step to 3-step on-disk metadata commit.

19 years agoAdd ramdisk.
Alasdair Kergon [Wed, 6 Apr 2005 16:43:59 +0000 (16:43 +0000)]
Add ramdisk.

19 years ago_vg_posn -> _find_vg_rlocn
Alasdair Kergon [Wed, 6 Apr 2005 16:35:33 +0000 (16:35 +0000)]
_vg_posn -> _find_vg_rlocn

19 years agomore refinements
Alasdair Kergon [Wed, 6 Apr 2005 15:21:28 +0000 (15:21 +0000)]
more refinements

19 years agoAnnotate, tidy and extend list.h.
Alasdair Kergon [Wed, 6 Apr 2005 14:50:37 +0000 (14:50 +0000)]
Annotate, tidy and extend list.h.

19 years agoAlignment tidying.
Alasdair Kergon [Wed, 6 Apr 2005 13:47:41 +0000 (13:47 +0000)]
Alignment tidying.

19 years agopost-release
Alasdair Kergon [Mon, 4 Apr 2005 15:46:14 +0000 (15:46 +0000)]
post-release

19 years ago2.01.09
Alasdair Kergon [Mon, 4 Apr 2005 15:41:51 +0000 (15:41 +0000)]
2.01.09

19 years agoAdd --ignorelockingfailure to vgmknodes.
Alasdair Kergon [Mon, 4 Apr 2005 14:44:49 +0000 (14:44 +0000)]
Add --ignorelockingfailure to vgmknodes.

19 years agoset SO_KEEPALIVE on sockets
Patrick Caulfield [Fri, 1 Apr 2005 16:03:00 +0000 (16:03 +0000)]
set SO_KEEPALIVE on sockets

19 years agoDon't allow user operations to start until the lvm thread is fully up.
Patrick Caulfield [Fri, 1 Apr 2005 13:01:01 +0000 (13:01 +0000)]
Don't allow user operations to start until the lvm thread is fully up.
Hopefully finally nails bz#146056

19 years agopost-release
Alasdair Kergon [Tue, 29 Mar 2005 18:10:57 +0000 (18:10 +0000)]
post-release

19 years ago1.01.01
Alasdair Kergon [Tue, 29 Mar 2005 14:47:39 +0000 (14:47 +0000)]
1.01.01

19 years agoUpdate dmsetup man page.
Alasdair Kergon [Tue, 29 Mar 2005 14:46:30 +0000 (14:46 +0000)]
Update dmsetup man page.

19 years agoDrop-in devmap_name replacement.
Alasdair Kergon [Sun, 27 Mar 2005 11:37:46 +0000 (11:37 +0000)]
Drop-in devmap_name replacement.

19 years agopost-release
Alasdair Kergon [Tue, 22 Mar 2005 16:50:17 +0000 (16:50 +0000)]
post-release

19 years agoupdate pofile
Alasdair Kergon [Tue, 22 Mar 2005 15:13:48 +0000 (15:13 +0000)]
update pofile

19 years ago2.01.08
Alasdair Kergon [Tue, 22 Mar 2005 15:12:37 +0000 (15:12 +0000)]
2.01.08

19 years agoAdd clustered attribute so vgchange can identify clustered VGs w/o locking.
Alasdair Kergon [Mon, 21 Mar 2005 22:55:12 +0000 (22:55 +0000)]
Add clustered attribute so vgchange can identify clustered VGs w/o locking.

19 years agoImprove detection of external changes affecting internal cache.
Alasdair Kergon [Mon, 21 Mar 2005 22:40:35 +0000 (22:40 +0000)]
Improve detection of external changes affecting internal cache.

19 years agoAdd 'already in device cache' debug message.
Alasdair Kergon [Mon, 21 Mar 2005 14:51:49 +0000 (14:51 +0000)]
Add 'already in device cache' debug message.

19 years agoAdd -a to pvdisplay -C.
Alasdair Kergon [Mon, 21 Mar 2005 14:47:36 +0000 (14:47 +0000)]
Add -a to pvdisplay -C.

19 years agoAvoid rmdir opendir error messsages when dir was already removed.
Alasdair Kergon [Mon, 21 Mar 2005 14:43:02 +0000 (14:43 +0000)]
Avoid rmdir opendir error messsages when dir was already removed.

19 years agoTighten signal handlers.
Alasdair Kergon [Mon, 21 Mar 2005 14:16:16 +0000 (14:16 +0000)]
Tighten signal handlers.

19 years agoFix WHATS_NEW.
Alasdair Kergon [Thu, 10 Mar 2005 23:04:42 +0000 (23:04 +0000)]
Fix WHATS_NEW.

19 years agoAvoid some compiler warnings.
Alasdair Kergon [Thu, 10 Mar 2005 22:34:17 +0000 (22:34 +0000)]
Avoid some compiler warnings.

19 years agoAdditional rename failure error message.
Alasdair Kergon [Thu, 10 Mar 2005 22:31:10 +0000 (22:31 +0000)]
Additional rename failure error message.

19 years agoread/write may be macros
Alasdair Kergon [Thu, 10 Mar 2005 20:23:36 +0000 (20:23 +0000)]
read/write may be macros

19 years agopost-release
Alasdair Kergon [Thu, 10 Mar 2005 20:22:40 +0000 (20:22 +0000)]
post-release

19 years agoDon't take out the lvm_thread_lock at startup - it only protects the jobs list.
Patrick Caulfield [Wed, 9 Mar 2005 14:08:11 +0000 (14:08 +0000)]
Don't take out the lvm_thread_lock at startup - it only protects the jobs list.
DEBUGLOG() message now print threadid rather than PID which is more useful.

19 years agoupdate pofile
Alasdair Kergon [Tue, 8 Mar 2005 13:48:13 +0000 (13:48 +0000)]
update pofile

19 years agoCope with new devices appearing by rescanning /dev if a uuid can't be found.
Alasdair Kergon [Tue, 8 Mar 2005 13:46:17 +0000 (13:46 +0000)]
Cope with new devices appearing by rescanning /dev if a uuid can't be found.

19 years agoRemove DESTDIR from LVM_SHARED_PATH.
Alasdair Kergon [Tue, 8 Mar 2005 13:39:39 +0000 (13:39 +0000)]
Remove DESTDIR from LVM_SHARED_PATH.

19 years agomake clvmd FDs close-on-exec, to avoid warnings when running lvm via popen.
Patrick Caulfield [Mon, 7 Mar 2005 17:03:44 +0000 (17:03 +0000)]
make clvmd FDs close-on-exec, to avoid warnings when running lvm via popen.
clvmd-gulm unlocks VG & orphan locks at startup in case they are stale.
clvmd-gulm now unlocks VG & orphan locks if client dies.

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