Alasdair Kergon
5e3bd86778
Rename _log to dm_log and export.
...
Fix misc compile-time warnings.
2006-01-31 14:50:38 +00:00
Alasdair Kergon
c55b141005
Add dm_tree_skip_lockfs.
2006-01-30 23:36:04 +00:00
Alasdair Kergon
c507b684ce
Fix dm_strdup debug definition.
2006-01-11 15:40:54 +00:00
Alasdair Kergon
fe94f9f170
Fix dm_strdup debug definition.
2006-01-10 22:19:41 +00:00
Alasdair Kergon
b6b0c621f6
Fix hash function to avoid using a negative array offset.
2006-01-09 20:35:24 +00:00
Alasdair Kergon
e7ab6006c5
Don't inline _find in hash.c and tidy signed/unsigned etc.
2006-01-04 16:07:27 +00:00
Alasdair Kergon
1c9b9a5ecf
Fix libdevmapper.h #endif
2006-01-04 16:05:44 +00:00
Alasdair Kergon
ce7ed2c0a9
Change dm_tree_node_add_mirror_target_log parm order
2005-12-19 21:03:17 +00:00
Alasdair Kergon
dbcb64b80f
Add sync, nosync and block_on_error mirror log parameters.
...
Add hweight32.
2005-12-13 15:49:27 +00:00
Alasdair Kergon
dd3ec4e87a
dmeventd updates
2005-12-02 15:39:16 +00:00
Alasdair Kergon
774ed5fc39
Export dm_task_update_nodes.
...
Use names instead of numbers in messages when ioctls fail.
2005-12-01 23:11:41 +00:00
Alasdair Kergon
56c282920c
Resume snapshot-origins last.
2005-11-22 20:00:35 +00:00
Alasdair Kergon
7707ea90f4
Suppress unnecessary resumes.
2005-11-22 19:31:20 +00:00
Alasdair Kergon
ec289b64b9
Drop leading zeros from dm_format_dev.
...
Suppress attempt to reload identical table.
2005-11-22 18:43:12 +00:00
Alasdair Kergon
87f98002b5
Additional LVM- prefix matching for transitional period.
2005-11-12 22:46:48 +00:00
Alasdair Kergon
5dd9b4656f
more debug fixes
2005-11-11 16:16:37 +00:00
Alasdair Kergon
bf9c60feb5
Fix selinux compile.
2005-11-10 18:31:17 +00:00
Alasdair Kergon
91a7cf559d
fix debug linking
2005-11-10 16:33:04 +00:00
Alasdair Kergon
e422819389
remove a debugging line
2005-11-10 15:17:54 +00:00
Alasdair Kergon
e6a6954ef1
revert - alternative pvmove fix, disabling preloading completely for now
2005-11-09 23:57:40 +00:00
Alasdair Kergon
abbca21248
more mirror fixing
2005-11-09 18:13:10 +00:00
Alasdair Kergon
24b026e333
some fixes for mirrors
2005-11-09 17:32:31 +00:00
Alasdair Kergon
908db0785f
fix last checkin
2005-11-09 15:41:42 +00:00
Alasdair Kergon
b4f1578fc2
rename deptree
2005-11-09 14:10:50 +00:00
Alasdair Kergon
165e4a112b
New activation code. [Not ready to be used yet.]
2005-11-08 22:50:11 +00:00
Alasdair Kergon
872dea0401
fix strncmps
2005-10-26 18:33:47 +00:00
Alasdair Kergon
268e8dd406
Fix incorrect checkin
2005-10-26 18:32:57 +00:00
Alasdair Kergon
1a44c009b0
Fix strncmps.
2005-10-26 18:17:36 +00:00
Alasdair Kergon
19f792df43
Also suppress error if device doesn't exist with DM_DEVICE_STATUS.
2005-10-26 17:51:10 +00:00
Alasdair Kergon
2b69db1f25
attempt to cope with uuid transition
2005-10-26 15:21:13 +00:00
Alasdair Kergon
690a5da2e7
check parents suspended
2005-10-26 14:08:24 +00:00
Alasdair Kergon
db208f51fd
unfinished suspend functions
2005-10-25 19:09:41 +00:00
Alasdair Kergon
3aeb569036
Export dm_set_selinux_context.
2005-10-25 17:30:00 +00:00
Alasdair Kergon
bc70fb17c0
zero suppress
2005-10-20 20:38:18 +00:00
Alasdair Kergon
3618f6eba7
fix dev no printf
2005-10-20 20:29:58 +00:00
Alasdair Kergon
a6d97ede7b
cope with null uuid_prefix
2005-10-18 13:57:11 +00:00
Alasdair Kergon
a38bf76bab
Tidy some log mesgs.
2005-10-18 13:07:41 +00:00
Alasdair Kergon
3e8c6b731a
Add deactivation functions
2005-10-18 12:37:53 +00:00
Alasdair Kergon
ffc88f2eeb
dm_driver_version
2005-10-17 18:05:39 +00:00
Alasdair Kergon
2262b32057
Use hash, bitset, malloc, pool from libdevmapper.
2005-10-16 23:03:59 +00:00
Alasdair Kergon
a3f6b2ce79
export bitset, pool, hash, malloc
2005-10-16 22:57:20 +00:00
Alasdair Kergon
3d0480ed27
Code to build and display device dependency tree.
2005-10-16 14:33:22 +00:00
Alasdair Kergon
72a444276f
Add dmsetup --nolockfs support for suspend/reload.
...
Requires kernel patches to have any effect.
Library version incremented.
2005-10-04 20:12:32 +00:00
Alasdair Kergon
59a2bf62f0
Remember increased buffer size and use for subsequent calls.
2005-09-20 18:04:28 +00:00
Alasdair Kergon
d54d93ab2e
Explicitly initialise no_open_count
2005-09-20 16:39:12 +00:00
Alasdair Kergon
4e16b1e7ad
On 'buffer full' condition, double buffer size and repeat ioctl. [Untested]
2005-09-19 14:29:17 +00:00
Alasdair Kergon
e817a0b35c
Report 'buffer full' condition with v4 ioctl as well as with v1.
2005-08-08 18:40:17 +00:00
Alasdair Kergon
c8c07bbedc
Use matchpathcon mode parameter
2005-06-13 13:11:48 +00:00
AJ Lewis
c71d140252
o print the context along with the path when setting selinux context
2005-06-10 21:30:21 +00:00
Benjamin Marzinski
5469414bf8
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.
2005-06-09 18:40:49 +00:00