Jonathan Earl Brassow
39dc7ec2ab
- 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
2005-05-04 01:57:31 +00:00
AJ Lewis
2fedabd3b9
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
2005-05-03 21:29:13 +00:00
Alasdair Kergon
6d719e9480
2.01.10
2005-05-03 17:43:47 +00:00
Alasdair Kergon
05e278afda
Don't create backup and archive dirs till needed.
2005-05-03 17:31:56 +00:00
Alasdair Kergon
87dbf462cb
Reinstate full PV size when removing from VG.
...
Support loopfiles for testing.
Complete the pv_segment support.
2005-05-03 17:28:23 +00:00
Heinz Mauelshagen
40e896bc5b
working dm_get_registered_device(). dmevent.c update to use it.
2005-05-03 16:15:20 +00:00
Heinz Mauelshagen
3e940f80c7
more dm_get_registered_device() code
2005-05-03 13:50:42 +00:00
Benjamin Marzinski
dbf2888d43
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
2005-05-02 19:34:25 +00:00
Benjamin Marzinski
d412355324
stopped printing a string after we erased the pointer to it.
2005-05-02 18:43:23 +00:00
Benjamin Marzinski
178732217f
removed the -lmultilog for now.
2005-05-02 18:42:07 +00:00
Benjamin Marzinski
de17b95c3d
get the makefile to clean up the .o's
2005-05-02 17:41:54 +00:00
Heinz Mauelshagen
d14e774525
Introduce exit() in main() and cleanup signal settings for parent/child
2005-05-02 11:02:19 +00:00
Benjamin Marzinski
ca5402a7fa
more variable initialization.
2005-04-29 22:12:09 +00:00
Benjamin Marzinski
7a6fa7c5b4
changed client_path and sever_path from 'char *' to 'const char *' to stop
...
compiler warning messages.
2005-04-29 21:52:46 +00:00
Heinz Mauelshagen
da36c286a6
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())
2005-04-29 14:56:35 +00:00
Heinz Mauelshagen
d3901bcf2e
first changes to get comms back to work after flock changes
2005-04-29 13:41:25 +00:00
Heinz Mauelshagen
94c8d4fdfb
minor cleanup
2005-04-29 10:58:34 +00:00
AJ Lewis
ab8bdc18bb
o Build dmeventd against multilog
2005-04-28 22:47:52 +00:00
Alasdair Kergon
c9dcd7442a
build libdmeventnoop.so for testing
2005-04-28 17:32:27 +00:00
Alasdair Kergon
34c8f13346
test.c->dmevent.c
2005-04-28 14:49:41 +00:00
Alasdair Kergon
7a8ccda95c
o adds dm_get_next_registered_device() (not functional yet)
...
to retrieve which devices got registered with the daemon;
needs locking changes as well
2005-04-28 14:02:30 +00:00
Alasdair Kergon
44a1448542
Prototype for a device-mapper event-handling daemon.
2005-04-27 22:32:00 +00:00
Alasdair Kergon
c87d89ffaf
extend alloc_lv_segment
2005-04-22 15:44:00 +00:00
Alasdair Kergon
0868749d42
set_lv_segment_area_pv/lv
2005-04-22 15:43:02 +00:00
Alasdair Kergon
1d40ee23f0
Initial pv_segment code.
2005-04-19 20:58:25 +00:00
Alasdair Kergon
8893f32603
initial pv_segment defns
2005-04-19 20:52:35 +00:00
Alasdair Kergon
adcf7e8dc3
_copy_pv -> int
2005-04-19 20:44:21 +00:00
Patrick Caulfield
901f7c5c36
Tidy clvmd's SIGHUP handler so it doesn't do all that work.
2005-04-19 10:36:42 +00:00
Alasdair Kergon
775bb413b3
vgchange --physicalextentsize (but only if it's an exact fit - may need to
...
use pvmove first)
2005-04-18 14:56:42 +00:00
Alasdair Kergon
64cd5b5a46
extract compose_log_line
2005-04-17 23:59:04 +00:00
Alasdair Kergon
ae356609b1
get_pv_from_vg_by_id
2005-04-17 23:57:44 +00:00
Patrick Caulfield
6102a5d2b0
Make clvmd work around some "limitations" in gulm's node state notifications.
...
Also make clvmd debuglog timestamps a little more helpful.
2005-04-13 13:50:07 +00:00
Alasdair Kergon
f8782ee2d7
Internal snapshot code restructuring.
2005-04-07 12:39:44 +00:00
Alasdair Kergon
6181ec4c77
add lvid to lv_create_empty
2005-04-07 12:29:46 +00:00
Alasdair Kergon
e0e7a685ef
Remove unused internal non-persistent snapshot option.
2005-04-07 12:27:57 +00:00
Alasdair Kergon
ae1f8cdad2
fix unused o_direct label
2005-04-07 12:25:33 +00:00
Alasdair Kergon
a4cf792e6d
store snapshot id as lvid internally
2005-04-07 12:24:48 +00:00
Alasdair Kergon
89109ded53
Allow offline extension of snapshot volumes.
...
NB Requires kernel patch that is not upstream.
2005-04-07 12:17:46 +00:00
Alasdair Kergon
e20e52a4b2
Move from 2-step to 3-step on-disk metadata commit.
2005-04-06 18:59:55 +00:00
Alasdair Kergon
20c4b1cbec
Add ramdisk.
2005-04-06 16:43:59 +00:00
Alasdair Kergon
5238b0241d
_vg_posn -> _find_vg_rlocn
2005-04-06 16:35:33 +00:00
Alasdair Kergon
9cdf6c203d
more refinements
2005-04-06 15:21:28 +00:00
Alasdair Kergon
839335cae6
Annotate, tidy and extend list.h.
2005-04-06 14:50:37 +00:00
Alasdair Kergon
a99b2ce167
Alignment tidying.
2005-04-06 13:47:41 +00:00
Alasdair Kergon
b695141d87
post-release
2005-04-04 15:46:14 +00:00
Alasdair Kergon
92d5c9f866
2.01.09
2005-04-04 15:41:51 +00:00
Alasdair Kergon
7f18a1ffe0
Add --ignorelockingfailure to vgmknodes.
2005-04-04 14:44:49 +00:00
Patrick Caulfield
8c3fdaaa62
set SO_KEEPALIVE on sockets
2005-04-01 16:03:00 +00:00
Patrick Caulfield
5ac1c69710
Don't allow user operations to start until the lvm thread is fully up.
...
Hopefully finally nails bz#146056
2005-04-01 13:01:01 +00:00
Alasdair Kergon
de2d5fba63
post-release
2005-03-29 18:10:57 +00:00