]> sourceware.org Git - dm.git/log
dm.git
19 years agoUse matchpathcon mode parameter v1_01_03
Alasdair Kergon [Mon, 13 Jun 2005 13:11:47 +0000 (13:11 +0000)]
Use matchpathcon mode parameter

19 years agoMake timeouts work again.
Benjamin Marzinski [Fri, 10 Jun 2005 22:47:44 +0000 (22:47 +0000)]
Make timeouts work again.

19 years agoadd stack macro
Alasdair Kergon [Fri, 10 Jun 2005 22:08:51 +0000 (22:08 +0000)]
add stack macro

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 agoo streamlined timeout code
Heinz Mauelshagen [Fri, 10 Jun 2005 14:17:56 +0000 (14:17 +0000)]
o streamlined timeout code
o put request handler functions onto a list because of the growing number
o avoided doing exit_timeout() work twice in timeout_thread()

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 ago o 80 column space adjustments
AJ Lewis [Wed, 8 Jun 2005 15:11:21 +0000 (15:11 +0000)]
 o 80 column space adjustments

19 years agocleaned up and pretty print
Heinz Mauelshagen [Tue, 7 Jun 2005 13:24:42 +0000 (13:24 +0000)]
cleaned up and pretty print

19 years agocomments
Heinz Mauelshagen [Mon, 6 Jun 2005 15:17:23 +0000 (15:17 +0000)]
comments

19 years agoChanged daemonize(), lock_pidfile(), init_fifos() and open_fifos() to return negative...
Heinz Mauelshagen [Mon, 6 Jun 2005 11:51:17 +0000 (11:51 +0000)]
Changed daemonize(), lock_pidfile(), init_fifos() and open_fifos() to return negative error codes. Minor comment changes.

19 years agooops - forgot to cvs add this
AJ Lewis [Thu, 26 May 2005 21:31:17 +0000 (21:31 +0000)]
oops - forgot to cvs add this

19 years ago o remove extraneous prints
AJ Lewis [Wed, 25 May 2005 21:10:18 +0000 (21:10 +0000)]
 o remove extraneous prints

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 ago o Enable standard syslog and file logging
AJ Lewis [Tue, 24 May 2005 16:03:44 +0000 (16:03 +0000)]
 o Enable standard syslog and file logging
 o Still need to adjust things so one can "toggle" the async logging for
   all logging types

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 ago1.01.02 v1_01_02
Alasdair Kergon [Tue, 17 May 2005 15:50:25 +0000 (15:50 +0000)]
1.01.02

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

19 years agoAdd --target to dmsetup ls.
Alasdair Kergon [Mon, 16 May 2005 16:04:30 +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:32 +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:21 +0000 (14:53 +0000)]
Add --target <target_type> filter to dmsetup table/status.
Fix dmsetup getopt_long usage.

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.

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

19 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

19 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.

19 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.

19 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.

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