Alasdair Kergon
d5c9024335
Avoid deptree attempting to suspend a device that's already suspended.
2006-10-13 14:03:35 +00:00
Alasdair Kergon
1fd5f562d3
noflush code fixes: missing debug log; non-standard variable name
2006-10-12 17:29:05 +00:00
Alasdair Kergon
45abade7fc
Add suspend noflush support.
...
Add basic dmsetup loop support.
2006-10-12 15:42:25 +00:00
Alasdair Kergon
863484bb65
Reorder mm bounds_check code to reduce window for a dmeventd race. (dm_free_aux)
2006-09-19 17:30:04 +00:00
Alasdair Kergon
8d98b02ba2
Add dm_snprintf
2006-08-21 12:52:39 +00:00
Alasdair Kergon
a93fe79bc4
Add dm_split_words() and dm_split_lvm_name() to libdevmapper.
2006-08-21 12:07:03 +00:00
Alasdair Kergon
a945f1fde2
reorder bounds check code
2006-08-18 21:38:58 +00:00
Alasdair Kergon
54fb2ebbe0
Add lockfs indicator to debug output.
2006-08-08 21:22:31 +00:00
Alasdair Kergon
b4fb7af1df
Don't suppress identical table reloads if permission changes.
2006-06-14 22:00:03 +00:00
Alasdair Kergon
a564ca82be
Fix corelog segment line.
...
Suppress some compiler warnings.
2006-05-16 16:20:29 +00:00
Alasdair Kergon
d3f2f00c25
Add DM_CORELOG flag to dm_tree_node_add_mirror_target().
2006-05-11 19:10:55 +00:00
Alasdair Kergon
b8d32a0d33
coverity fixes
2006-05-10 16:23:41 +00:00
Alasdair Kergon
8b4b6945f8
remove inlines
2006-04-19 18:12:33 +00:00
Alasdair Kergon
f95dbff71f
fix makefile
2006-04-19 17:32:05 +00:00
Alasdair Kergon
dcca7638e0
make pkgconfig installation step optional, and clean up generated files
2006-04-19 16:38:56 +00:00
Alasdair Kergon
70e45ad37b
Check for libsepol.
...
Add some cflow & scope support.
Separate out DEFS from CFLAGS.
Remove inlines and use unique function names.
2006-04-19 15:33:07 +00:00
Alasdair Kergon
db88210289
configure/makefile tidying + pkg-config support.
2006-04-19 15:23:10 +00:00
Alasdair Kergon
abed57cb53
Use name-based device refs if kernel doesn't support device number refs.
...
Fix memory leak (struct dm_ioctl) when struct dm_task is reused.
2006-04-03 15:56:02 +00:00
Alasdair Kergon
c01a800a6b
If _create_and_load_v4 fails part way through, revert the creation.
2006-03-30 15:15:47 +00:00
Alasdair Kergon
42635c3938
Add file & line to dm_strdup_aux().
2006-02-23 19:11:51 +00:00
Alasdair Kergon
ed43dc842b
A setgeometry implementation. [untested]
2006-02-20 23:55:58 +00:00
Alasdair Kergon
382e808b8d
fix mirror log parm count
2006-02-08 14:14:13 +00:00
Alasdair Kergon
74dd29f843
add clustered log uuid
2006-02-06 20:18:10 +00:00
Alasdair Kergon
24dd9ab1a7
Change prefix for clustered log from "clustered " to "clustered_"
2006-02-06 19:32:18 +00:00
Alasdair Kergon
ed036598a9
Add exported functions to set uid, gid and mode. [Bastian Blank]
2006-02-03 14:23:22 +00:00
Alasdair Kergon
18218467f3
remove unnecessary 0 in format string
2006-02-02 17:23:04 +00:00
Alasdair Kergon
d031a374f9
Rename _log to dm_log and export.
...
Fix misc compile-time warnings.
2006-01-31 14:50:38 +00:00
Alasdair Kergon
55f69c98cb
Add dm_tree_skip_lockfs.
2006-01-30 23:36:04 +00:00
Alasdair Kergon
34a1f14a17
Fix dm_strdup debug definition.
2006-01-11 15:40:54 +00:00
Alasdair Kergon
efe1c8a070
Fix dm_strdup debug definition.
2006-01-10 22:19:41 +00:00
Alasdair Kergon
1575844344
Fix hash function to avoid using a negative array offset.
2006-01-09 20:35:24 +00:00
Alasdair Kergon
57442db759
Don't inline _find in hash.c and tidy signed/unsigned etc.
2006-01-04 16:07:27 +00:00
Alasdair Kergon
5fdb3e7cd6
Fix libdevmapper.h #endif
2006-01-04 16:05:44 +00:00
Alasdair Kergon
8825157fbb
Change dm_tree_node_add_mirror_target_log parm order
2005-12-19 21:03:17 +00:00
Alasdair Kergon
a82775f544
Add sync, nosync and block_on_error mirror log parameters.
...
Add hweight32.
2005-12-13 15:49:27 +00:00
Alasdair Kergon
ab931b177d
dmeventd updates
2005-12-02 15:39:16 +00:00
Alasdair Kergon
9aa3465513
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
05fa105855
Resume snapshot-origins last.
2005-11-22 20:00:35 +00:00
Alasdair Kergon
b049ab31eb
Suppress unnecessary resumes.
2005-11-22 19:31:20 +00:00
Alasdair Kergon
6db4dcff7a
Drop leading zeros from dm_format_dev.
...
Suppress attempt to reload identical table.
2005-11-22 18:43:12 +00:00
Alasdair Kergon
3eeaef00ec
Additional LVM- prefix matching for transitional period.
2005-11-12 22:46:48 +00:00
Alasdair Kergon
6315982752
more debug fixes
2005-11-11 16:16:37 +00:00
Alasdair Kergon
374a171e82
Fix selinux compile.
2005-11-10 18:31:17 +00:00
Alasdair Kergon
fc5d801f91
fix debug linking
2005-11-10 16:33:04 +00:00
Alasdair Kergon
e5895500a2
remove a debugging line
2005-11-10 15:17:54 +00:00
Alasdair Kergon
e7a360dd6f
revert - alternative pvmove fix, disabling preloading completely for now
2005-11-09 23:57:40 +00:00
Alasdair Kergon
fefa7fe262
more mirror fixing
2005-11-09 18:13:10 +00:00
Alasdair Kergon
26f01a29d1
some fixes for mirrors
2005-11-09 17:32:31 +00:00
Alasdair Kergon
169d4090ab
fix last checkin
2005-11-09 15:41:42 +00:00
Alasdair Kergon
0b43754d60
rename deptree
2005-11-09 14:10:50 +00:00