Alasdair Kergon
f4bd12e8e9
register->monitor etc.
2007-01-19 22:21:45 +00:00
Alasdair Kergon
9d98c3278d
No longer necessary to specify alignment for report fields.
2007-01-18 17:48:29 +00:00
Alasdair Kergon
1106b7775a
Fix a segfault if an empty config file section encountered.
2007-01-17 16:22:59 +00:00
Alasdair Kergon
ae2852156d
merge _target_*register_events
...
introduce _create_dm_event_handler()
2007-01-17 15:00:57 +00:00
Alasdair Kergon
a81926503d
use updated dm_event_get_registered_device interface
2007-01-16 23:05:13 +00:00
Alasdair Kergon
d24d563ebc
Move basic reporting functions into libdevmapper.
2007-01-16 18:06:12 +00:00
Alasdair Kergon
edb9c3cc9f
Fix partition table processing after sparc changes (introduced in 2.02.16).
...
Fix cmdline PE range processing segfault (introduced in 2.02.13).
2007-01-15 21:55:11 +00:00
Alasdair Kergon
b4f9531475
Some libdevmapper-event interface changes.
2007-01-15 18:22:02 +00:00
Alasdair Kergon
c975a100b1
Report dmeventd mirror monitoring status.
2007-01-12 20:38:30 +00:00
Alasdair Kergon
2b48fad426
updated dmeventd interface
2007-01-11 22:24:32 +00:00
Alasdair Kergon
0b9cfc278b
dumpconfig accepts a list of configuration variables to display.
...
Change dumpconfig to use --file to redirect output to a file.
2007-01-09 23:22:31 +00:00
Alasdair Kergon
459023d171
Free memory in _raw_read_mda_header() error paths.
...
Fix ambiguous vgsplit error message for split LV.
Fix lvextend man page typo.
2007-01-09 21:12:41 +00:00
Alasdair Kergon
fd6570720a
Add configure --with-dmdir to compile against a device-mapper source tree.
...
Use no flush suspending for mirrors.
2007-01-09 20:31:08 +00:00
Milan Broz
faff865cfd
Fix create mirror with name longer than 22 chars.
2007-01-05 15:53:40 +00:00
Alasdair Kergon
742ab55a9a
Fix some activate.c prototypes when compiled without devmapper.
2006-12-20 16:19:01 +00:00
Alasdair Kergon
bc03f7bad3
When lvconvert allocates a mirror log, respect parallel area constraints.
...
Use loop to iterate through the now-ordered policy list in _allocate().
Check for failure to allocate just the mirror log.
Introduce calc_area_multiple().
Support mirror log allocation when there is only one PV: area_count now 0.
(See lvm-devel list archives for further details.)
2006-12-13 03:39:58 +00:00
Alasdair Kergon
a1c8bd3846
Fix detection of smallest area in _alloc_parallel_area() for cling policy.
2006-12-12 19:30:10 +00:00
Patrick Caulfield
9dee30ff0e
Fix gulm operation of clvmd. including a hang when attempting to
...
exclusively lock an LV that is already locked no another node.
2006-12-11 14:00:26 +00:00
Alasdair Kergon
b9ba9ffad2
clvmd ia64 alignment fixes etc. (pjc)
2006-12-01 23:10:26 +00:00
Alasdair Kergon
ee68d715bf
Adjust some alignments for ia64 and sparc.
...
(Some of the changes are probably unnecessary.)
2006-11-30 23:11:42 +00:00
Alasdair Kergon
224084f056
Fix mirror segment removal to use temporary error segment.
2006-11-30 17:52:47 +00:00
Alasdair Kergon
4e1342b641
fix _find_config_node: null parameter is permitted
2006-11-21 15:13:36 +00:00
Alasdair Kergon
8ab6d72519
Fix check for snapshot module when activating snapshot.
2006-11-20 16:45:45 +00:00
Alasdair Kergon
0933036366
Warn if certain duplicate config file entries are seen.
...
(not thoroughly tested)
2006-11-16 17:36:00 +00:00
Alasdair Kergon
9acdc2f6bf
Fix a label_verify error path.
2006-11-14 15:03:07 +00:00
Alasdair Kergon
23115f4116
fix cast
2006-11-10 20:15:10 +00:00
Alasdair Kergon
cf5f48e6cc
Fix adjusted_mirror_region_size() for 64-bit size.
2006-11-10 19:35:03 +00:00
Alasdair Kergon
997fa756ad
Add some missing bounds checks on 32 bit extent counters.
...
Add Petabyte and Exabyte support.
Fix lvcreate error message when 0 extents requested.
2006-11-10 18:24:11 +00:00
Alasdair Kergon
6531e88761
Protect .cache manipulations with fcntl locking.
...
Change .cache timestamp comparisons to use ctime.
2006-11-04 03:34:10 +00:00
Alasdair Kergon
45be8a836b
fix last check-in: lv->size is in sectors
2006-11-03 21:07:15 +00:00
Alasdair Kergon
df2577ace2
Fix high-level free space check for partial allocations.
2006-10-30 16:10:55 +00:00
Alasdair Kergon
5bb8efa41f
Perform high-level free space check before each allocation attempt.
2006-10-23 15:54:51 +00:00
Alasdair Kergon
85e6042941
Cope if same PV is included more than once in cmdline PE range list.
2006-10-21 23:18:43 +00:00
Alasdair Kergon
a5f282f156
Set PV size to current device size if it is found to be zero.
2006-10-19 12:53:47 +00:00
Alasdair Kergon
40e8631f63
Add segment parameter to target_present functions.
2006-10-18 18:01:53 +00:00
Alasdair Kergon
352a66f46f
Fall back to internal locking if external locking lib is missing or fails.
2006-10-14 16:37:54 +00:00
Alasdair Kergon
48e02f2086
remove unused variable
2006-10-12 17:18:40 +00:00
Alasdair Kergon
bb3605518d
add cling allocation policy
2006-10-08 12:01:13 +00:00
Alasdair Kergon
88e9f2f7f4
check_contiguous to use for_each_pv
2006-10-07 23:40:36 +00:00
Alasdair Kergon
704a447df9
More work towards pv->size always holding the same value in internal metadata.
...
Store it in external text metadata as dev_size, and estimate it if not
present when metadata is read back in.
2006-10-07 23:17:17 +00:00
Alasdair Kergon
a5fcb26a33
rely on pv_setup functions to fix up pe_count
2006-10-07 23:06:18 +00:00
Alasdair Kergon
91831d51ed
more refactoring
2006-10-07 16:00:28 +00:00
Alasdair Kergon
174f0c19f7
Extend _for_each_pv() to allow termination without error.
2006-10-07 12:41:06 +00:00
Alasdair Kergon
de6fadfb4f
abstract _is_contiguous()
2006-10-07 11:34:53 +00:00
Alasdair Kergon
f946db3e00
move _for_each_pv()
2006-10-07 11:23:22 +00:00
Alasdair Kergon
8d05e5bc31
Remove duplicated pv arg from _check_contiguous().
2006-10-07 11:00:09 +00:00
Alasdair Kergon
7bc6da326f
Add report columns with underscore before field names ending 'size'.
2006-10-07 10:42:27 +00:00
Alasdair Kergon
44fd345206
Fix format_text mda_setup pv->size and pv_setup pe_count calculations.
...
(This area of the code needs a lot more work.)
2006-10-05 22:02:52 +00:00
Alasdair Kergon
088e1c9db4
Fix _for_each_pv() for mirror with core log.
2006-10-05 21:24:48 +00:00
Alasdair Kergon
ff05e2e30d
Remove unused #defines from filter-md.c.
2006-10-04 16:03:17 +00:00