]> sourceware.org Git - dm.git/log
dm.git
19 years ago- set processed_events to zero. and don't do event interpretation.
Jonathan Earl Brassow [Tue, 10 May 2005 19:17:58 +0000 (19:17 +0000)]
- set processed_events to zero. and don't do event interpretation.

19 years ago- one little error message... so useful.
Jonathan Earl Brassow [Mon, 9 May 2005 23:01:08 +0000 (23:01 +0000)]
- one little error message... so useful.
- print out why a dso fails to load

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 agoCheck presence of stop_syslog_thread symbol during start_threaded_syslog()
Heinz Mauelshagen [Mon, 9 May 2005 11:26:46 +0000 (11:26 +0000)]
Check presence of stop_syslog_thread symbol during start_threaded_syslog()

19 years ago o need to pass the address of dso_name_arg and device_name arg to
AJ Lewis [Wed, 4 May 2005 19:31:02 +0000 (19:31 +0000)]
 o need to pass the address of dso_name_arg and device_name arg to
   parse_message, not the pointers themselves

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 ago o load_lock_syms doesn't need args
AJ Lewis [Wed, 4 May 2005 19:02:27 +0000 (19:02 +0000)]
 o load_lock_syms doesn't need args
 o clear lock fxn pointers when dlclosing the lock lib

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 ago o Added a lib to handle locking - the multilog lib attempts to load it,
AJ Lewis [Wed, 4 May 2005 17:55:12 +0000 (17:55 +0000)]
 o Added a lib to handle locking - the multilog lib attempts to load it,
   and if it fails because the binary wasn't compiled with pthread support
   it just uses NOP locking.  If it fails for any other reason, it fails
   adding locking.
 o added libmultilog_pthread_lock library that just does pthread mutex
   locking

19 years agointroduced dynamic loading of pthreads lock function
Heinz Mauelshagen [Wed, 4 May 2005 15:30:51 +0000 (15:30 +0000)]
introduced dynamic loading of pthreads lock function

19 years agomultilog_add_logging() lock additions/memory bug fix
Heinz Mauelshagen [Wed, 4 May 2005 14:22:46 +0000 (14:22 +0000)]
multilog_add_logging() lock additions/memory bug fix

19 years agomultilog_clear_logging() lock additions
Heinz Mauelshagen [Wed, 4 May 2005 14:15:30 +0000 (14:15 +0000)]
multilog_clear_logging() lock additions

19 years agodummy lock_mutex/unlock_mutex calls for discussion
Heinz Mauelshagen [Wed, 4 May 2005 14:10:06 +0000 (14:10 +0000)]
dummy lock_mutex/unlock_mutex calls for discussion

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 ago o forgot to add this
AJ Lewis [Tue, 3 May 2005 18:23:23 +0000 (18:23 +0000)]
 o forgot to add this

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 agoindentation
Heinz Mauelshagen [Tue, 3 May 2005 09:13:43 +0000 (09:13 +0000)]
indentation

19 years ago o Changes to configure script to handle async logging directory for
AJ Lewis [Mon, 2 May 2005 22:20:46 +0000 (22:20 +0000)]
 o Changes to configure script to handle async logging directory for
   multilog

19 years ago o Moved the circular buffer code into a separate dynamic library
AJ Lewis [Mon, 2 May 2005 22:13:32 +0000 (22:13 +0000)]
 o Moved the circular buffer code into a separate dynamic library
   called libmultilog_async so that users of multilog aren't required to
   use pthreads
 o multilog now has a way to add logging types and remove types, and can be
   called from other libraries.
 o multiple logging types can be in place at a time, and they are all
   called in turn when log_* fxns are called
 o Currently, the 'standard' (stderr) logging type is registered if
   multilog is called with no log types registered.  I'm not sure that's
   the best way to do things, but it's what I'm doing for now.

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 agoStart fixing get_registered_device()
Heinz Mauelshagen [Mon, 2 May 2005 13:11:40 +0000 (13:11 +0000)]
Start fixing get_registered_device()

19 years agoFixes to comms, list handling to get dmeventd() to work
Heinz Mauelshagen [Mon, 2 May 2005 11:52:04 +0000 (11:52 +0000)]
Fixes to comms, list handling to get dmeventd() to work

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 agoJust initializing some variables that needed to be.
Benjamin Marzinski [Fri, 29 Apr 2005 21:37:23 +0000 (21:37 +0000)]
Just initializing some variables that needed to be.

19 years agovariables in a signal handler should be static volatile sig_atomic_t
Alasdair Kergon [Fri, 29 Apr 2005 21:21:24 +0000 (21:21 +0000)]
variables in a signal handler should be static volatile sig_atomic_t

19 years agodmeventd depends on multilog
Alasdair Kergon [Fri, 29 Apr 2005 21:14:56 +0000 (21:14 +0000)]
dmeventd depends on multilog

19 years ago o Reorder dmeventd and multilog subdirs so multilog gets compiled first
AJ Lewis [Fri, 29 Apr 2005 21:03:07 +0000 (21:03 +0000)]
 o Reorder dmeventd and multilog subdirs so multilog gets compiled first

19 years ago- no longer exec'ing daemon.
Jonathan Earl Brassow [Fri, 29 Apr 2005 20:41:34 +0000 (20:41 +0000)]
- no longer exec'ing daemon.

- doesn't compile yet 'cause something is trying to link against multilog

- want to get this in... will fix ASAP

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:22 +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 ago o add infrastructure to build and use multilog
AJ Lewis [Thu, 28 Apr 2005 22:41:06 +0000 (22:41 +0000)]
 o add infrastructure to build and use multilog

19 years ago o Initial draft of libmultilog - a logging library that, eventually, will
AJ Lewis [Thu, 28 Apr 2005 22:18:22 +0000 (22:18 +0000)]
 o Initial draft of libmultilog - a logging library that, eventually, will
   offer the same logging facilities as the logging in lvm2, plus a
   non-blocking logging for syslog, plus anything else that people think it
   needs.  Currently only the non-blocking syslog logging is implemented.
 o This library requires pthreads

19 years ago- I expanded init_client() because of how the launching of the daemon
Jonathan Earl Brassow [Thu, 28 Apr 2005 21:29:00 +0000 (21:29 +0000)]
- I expanded init_client() because of how the launching of the daemon
  is now interlaced between opening of fifos.

- I eliminated create_fifo[s]() open_fifo[s]() _lock _unlock and maybe
  some other functions.

- I have not completed the launching of the daemon.  What I want is
  to use 'fork()' but not 'exec()'.  The child will call the daemon
  function.  The parent will wait for signal confirmation that the
  daemon is ready or an exit (see CCS for how this is done).

- There is no more client side lock file.

- Clients are serialized so they will not be simultaneous daemon
  launches or interleaved writes to the fifos.

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:25 +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:31:58 +0000 (22:31 +0000)]
Prototype for a device-mapper event-handling daemon.

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

19 years ago1.01.01 v1_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:45 +0000 (11:37 +0000)]
Drop-in devmap_name replacement.

19 years agoAdd option to compile without ioctl for testing.
Alasdair Kergon [Thu, 27 Jan 2005 16:16:50 +0000 (16:16 +0000)]
Add option to compile without ioctl for testing.

19 years agoFix DM_LIB_VERSION sed
Alasdair Kergon [Thu, 27 Jan 2005 15:53:28 +0000 (15:53 +0000)]
Fix DM_LIB_VERSION sed

19 years agopost-1.01.00
Alasdair Kergon [Mon, 17 Jan 2005 20:12:11 +0000 (20:12 +0000)]
post-1.01.00

19 years ago1.01.00 v1_01_00
Alasdair Kergon [Mon, 17 Jan 2005 20:00:28 +0000 (20:00 +0000)]
1.01.00

19 years agoAdd dm_task_no_open_count() to skip getting open_count.
Alasdair Kergon [Wed, 12 Jan 2005 22:10:10 +0000 (22:10 +0000)]
Add dm_task_no_open_count() to skip getting open_count.

19 years agopost-1.00.21
Alasdair Kergon [Fri, 7 Jan 2005 17:10:16 +0000 (17:10 +0000)]
post-1.00.21

19 years ago1.00.21 v1_00_21
Alasdair Kergon [Fri, 7 Jan 2005 15:53:37 +0000 (15:53 +0000)]
1.00.21

19 years agoFix /proc/devices parsing.
Alasdair Kergon [Fri, 7 Jan 2005 15:39:51 +0000 (15:39 +0000)]
Fix /proc/devices parsing.

19 years agopost-1.00.20
Alasdair Kergon [Thu, 6 Jan 2005 18:41:38 +0000 (18:41 +0000)]
post-1.00.20

19 years ago1.00.20 v1_00_20
Alasdair Kergon [Thu, 6 Jan 2005 18:30:17 +0000 (18:30 +0000)]
1.00.20

19 years agoAttempt to fix /dev/mapper/control transparently if it's wrong.
Alasdair Kergon [Thu, 6 Jan 2005 18:22:43 +0000 (18:22 +0000)]
Attempt to fix /dev/mapper/control transparently if it's wrong.

19 years agoConfiguration-time option for setting uid/gid/mode for /dev/mapper nodes.
Alasdair Kergon [Wed, 5 Jan 2005 22:00:39 +0000 (22:00 +0000)]
Configuration-time option for setting uid/gid/mode for /dev/mapper nodes.

20 years agoupdate
Alasdair Kergon [Fri, 15 Oct 2004 17:31:37 +0000 (17:31 +0000)]
update

20 years ago o patch refresh
AJ Lewis [Fri, 15 Oct 2004 16:56:36 +0000 (16:56 +0000)]
 o patch refresh
   - Adjust maintainership
   - fix vcalloc call in dm-table.c
     - Kevin Corry
   - fix error cleanup in dm-exception-store.c:dm_create_persistent()
     - Dave Olien
   - proper error handling when someone is trying to read from multiple
     regions.
     - Kevin Corry

20 years agoAdd --noheadings option to dmsetup -c for colon-separated output.
Alasdair Kergon [Tue, 12 Oct 2004 16:42:38 +0000 (16:42 +0000)]
Add --noheadings option to dmsetup -c for colon-separated output.

20 years agoSupport device referencing by uuid or major/minor.
Alasdair Kergon [Fri, 1 Oct 2004 19:11:37 +0000 (19:11 +0000)]
Support device referencing by uuid or major/minor.

20 years agoprintf->fprintf
Alasdair Kergon [Fri, 1 Oct 2004 19:07:41 +0000 (19:07 +0000)]
printf->fprintf

20 years agoupdate version
Alasdair Kergon [Sat, 3 Jul 2004 18:28:00 +0000 (18:28 +0000)]
update version

20 years agomisc autoconf fixes v1_00_19
Alasdair Kergon [Sat, 3 Jul 2004 18:17:32 +0000 (18:17 +0000)]
misc autoconf fixes

20 years agofix missing pogen link
Alasdair Kergon [Sat, 3 Jul 2004 18:15:38 +0000 (18:15 +0000)]
fix missing pogen link

20 years agofix a newline
Alasdair Kergon [Sat, 3 Jul 2004 18:15:14 +0000 (18:15 +0000)]
fix a newline

20 years agoset_selinux_context() return code fix
Alasdair Kergon [Sat, 3 Jul 2004 18:14:12 +0000 (18:14 +0000)]
set_selinux_context() return code fix

20 years agoFix device number handling for 2.6 kernels.
Alasdair Kergon [Thu, 1 Jul 2004 15:14:28 +0000 (15:14 +0000)]
Fix device number handling for 2.6 kernels.

20 years agoFix targets string size calc in driver. v1_00_18
Alasdair Kergon [Sun, 20 Jun 2004 13:50:42 +0000 (13:50 +0000)]
Fix targets string size calc in driver.
Fix a uuid free in libdm-iface. [Eric Taylor]
Update version.

20 years agoAdd dmsetup -C for column-based output.
Alasdair Kergon [Wed, 16 Jun 2004 16:44:11 +0000 (16:44 +0000)]
Add dmsetup -C for column-based output.

20 years agoClear message buffer before use.
Alasdair Kergon [Thu, 10 Jun 2004 16:14:16 +0000 (16:14 +0000)]
Clear message buffer before use.

20 years agoSupport new target message ioctl.
Alasdair Kergon [Tue, 8 Jun 2004 20:34:39 +0000 (20:34 +0000)]
Support new target message ioctl.

20 years agofix selinux library linking v1_00_17
Alasdair Kergon [Mon, 19 Apr 2004 14:01:23 +0000 (14:01 +0000)]
fix selinux library linking

20 years agoconfig option to avoid using install -o -g
Alasdair Kergon [Mon, 19 Apr 2004 13:10:05 +0000 (13:10 +0000)]
config option to avoid using install -o -g

20 years agoupdate v1_00_16
Alasdair Kergon [Fri, 16 Apr 2004 16:33:32 +0000 (16:33 +0000)]
update

20 years agoIgnore error setting selinux file context if fs doesn't support it.
Alasdair Kergon [Fri, 16 Apr 2004 12:24:46 +0000 (12:24 +0000)]
Ignore error setting selinux file context if fs doesn't support it.

20 years agoFix status overflow check in kernel patches. v1_00_15
Alasdair Kergon [Wed, 7 Apr 2004 12:39:59 +0000 (12:39 +0000)]
Fix status overflow check in kernel patches.

20 years agofix static selinux build v1_00_14
Alasdair Kergon [Tue, 6 Apr 2004 20:32:00 +0000 (20:32 +0000)]
fix static selinux build

20 years ago1.00.13 v1_00_13
Alasdair Kergon [Tue, 6 Apr 2004 18:57:12 +0000 (18:57 +0000)]
1.00.13

20 years agoadd some selinux support
Alasdair Kergon [Tue, 6 Apr 2004 18:53:56 +0000 (18:53 +0000)]
add some selinux support

20 years agoFix dmsetup.static install. v1_00_12
Alasdair Kergon [Tue, 6 Apr 2004 12:06:53 +0000 (12:06 +0000)]
Fix dmsetup.static install.

20 years agoVersion 1.00.11 v1_00_11
Alasdair Kergon [Mon, 5 Apr 2004 20:51:41 +0000 (20:51 +0000)]
Version 1.00.11

20 years agoCombine static/dynamic build.
Alasdair Kergon [Mon, 5 Apr 2004 20:48:07 +0000 (20:48 +0000)]
Combine static/dynamic build.

20 years agoMove library targets definition into template.
Alasdair Kergon [Mon, 5 Apr 2004 16:20:49 +0000 (16:20 +0000)]
Move library targets definition into template.

20 years agoupdate for 1.00.10 v1_00_10
Alasdair Kergon [Fri, 2 Apr 2004 16:47:43 +0000 (16:47 +0000)]
update for 1.00.10

20 years agovsn 1.00.10
Alasdair Kergon [Fri, 2 Apr 2004 16:17:54 +0000 (16:17 +0000)]
vsn 1.00.10

20 years agotest file
Alasdair Kergon [Fri, 2 Apr 2004 15:57:08 +0000 (15:57 +0000)]
test file

20 years agoBasic internationalisation support.
Alasdair Kergon [Fri, 2 Apr 2004 15:19:23 +0000 (15:19 +0000)]
Basic internationalisation support.

20 years agoBuild process fixes/tidy-ups.
Alasdair Kergon [Fri, 2 Apr 2004 15:18:36 +0000 (15:18 +0000)]
Build process fixes/tidy-ups.

20 years agoupdate text for release v1_00_09
Alasdair Kergon [Wed, 31 Mar 2004 20:09:56 +0000 (20:09 +0000)]
update text for release

20 years agoUpdate version
Alasdair Kergon [Wed, 31 Mar 2004 19:07:51 +0000 (19:07 +0000)]
Update version

20 years agoAdd 2.4 support for DM_LIST_VERSIONS (dmsetup targets).
Alasdair Kergon [Wed, 31 Mar 2004 18:54:16 +0000 (18:54 +0000)]
Add 2.4 support for DM_LIST_VERSIONS (dmsetup targets).
Rebaseline patches to 2.4.26-rc1.

20 years agoreorder files in patch
Alasdair Kergon [Wed, 31 Mar 2004 18:51:59 +0000 (18:51 +0000)]
reorder files in patch

20 years agoUpdate changelog.
Alasdair Kergon [Tue, 30 Mar 2004 19:12:42 +0000 (19:12 +0000)]
Update changelog.

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