Alasdair Kergon
93bbb79569
_find_parallel_space -> _find_segment_space
2005-11-24 18:00:47 +00:00
Alasdair Kergon
9cb4dde3fa
Extend allocation areas to avoid overflow with contiguous with other PVs.
...
Another pvmove fix.
2005-11-10 14:45:39 +00:00
Alasdair Kergon
64ba878eda
more mirror library functions
2005-10-28 12:48:50 +00:00
Alasdair Kergon
9d819b52d3
Fix contiguous allocation without preceding segments.
2005-10-27 22:20:33 +00:00
Alasdair Kergon
37bac5cdc9
Fix new mirror_seg pointer.
2005-10-27 21:51:28 +00:00
Alasdair Kergon
78c718c591
Add mirror_seg pointer to lv_segment struct. (incomplete & untested)
2005-10-27 19:58:22 +00:00
Alasdair Kergon
bcc400dafa
Use dm_is_dm_major instead of local copy.
...
Allow mapped devices to be used as PVs safely.
2005-10-25 19:08:21 +00:00
Alasdair Kergon
b32bf72b5f
Split lv_segment_area from lv_segment to permit extension.
2005-10-18 13:43:40 +00:00
Alasdair Kergon
67eb7723d6
Use hash, bitset, malloc, pool from libdevmapper.
2005-10-16 23:03:59 +00:00
Alasdair Kergon
ebf6071d77
Only make one attempt at contiguous allocation.
2005-07-12 14:50:45 +00:00
Alasdair Kergon
39fbb844f9
Various allocation-related pvmove fixes.
2005-06-14 17:54:48 +00:00
Alasdair Kergon
cc4d9676c5
Remove hard-coded 64k text metadata writing restriction.
2005-06-07 11:00:07 +00:00
Alasdair Kergon
014e764758
Allow mirror images to be resized.
2005-06-03 19:48:19 +00:00
Alasdair Kergon
d1fc28432b
Allow mirror images to have more than one segment.
2005-06-03 18:07:13 +00:00
Alasdair Kergon
879576f0a2
lvremove mirror images
2005-06-03 15:44:12 +00:00
Alasdair Kergon
69098210be
Always insert an intermediate layer for mirrors.
...
Suppress hidden LVs from reports unless --all is given.
Use square brackets for hidden LVs in reports.
Centralise restrictions on LV names.
2005-06-03 14:49:51 +00:00
Alasdair Kergon
99df4f892d
Basic support for mirrors.
2005-06-01 16:51:55 +00:00
Alasdair Kergon
b2971edd7d
Start merging cloned allocation functions.
2005-05-17 13:49:45 +00:00
Alasdair Kergon
6b4f3d63b8
Fix contiguous allocations with linear.
2005-05-11 16:46:59 +00:00
Alasdair Kergon
2cd42a6866
Remove lists of free PV segments.
...
Simplify pv_maps code and remove slow bitset algorithm.
2005-05-11 15:02:49 +00:00
Alasdair Kergon
bed2740ffd
lv_reduce tidying.
...
Remove some unnecessary parameters.
Introduce seg_is macros.
2005-05-09 16:59:01 +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
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
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
16521a6feb
pool debugging
2004-11-23 18:23:23 +00:00
Alasdair Kergon
12e5b0681b
Rename old segtypes files to segtype.
2004-09-16 18:40:56 +00:00
Alasdair Kergon
77100b2365
Test for incompatible format/segtype combinations in lv_extend.
2004-09-14 13:56:18 +00:00
Alasdair Kergon
becba8157b
Set area_count within alloc_lv_segment
2004-05-24 17:30:00 +00:00
Alasdair Kergon
fdf15caaff
Rename allocation policies; add --alloc to cmdline; LV inherits from VG.
2004-05-18 22:12:53 +00:00
Alasdair Kergon
793ad1f2d4
Add --type to lvcreate/resize.
...
Add virtual segment types, zero and error.
A large sparse device can be constructed as a writeable snapshot of a large
zero device.
2004-05-11 16:01:58 +00:00
Alasdair Kergon
9bc733b76c
Push lv_create & alloc policy up to tool level.
2004-05-05 18:49:21 +00:00
Alasdair Kergon
4cf8960c0c
Separate out polldaemon.
2004-05-05 17:56:20 +00:00
Alasdair Kergon
fc5c61cc8b
Begin to separate out segment types.
2004-05-04 21:25:57 +00:00
Alasdair Kergon
66ed5f82c4
Update copyright notices.
2004-03-30 19:35:44 +00:00
Alasdair Kergon
e06b39f882
move lock_lvs; add lock memlock code
2004-03-26 20:49:35 +00:00
Alasdair Kergon
2602b1493e
LV allocation variable renaming
2004-03-26 20:35:14 +00:00
Alasdair Kergon
38b33a4a5e
Fix lvreduce pv extents calculations.
2004-03-19 16:19:41 +00:00
Alasdair Kergon
b89c4e9002
tagging
2004-03-08 17:19:15 +00:00
Alasdair Kergon
e15846bf79
Default to unlimited number of LVs/PVs in lvm2 format.
2003-11-06 20:33:34 +00:00
Alasdair Kergon
b0b4def983
Cope better with LVM1 minor numbers & LV numbers.
2003-11-06 16:58:38 +00:00
Alasdair Kergon
8582ec724e
Improve segment merge/split code.
2003-09-15 18:22:50 +00:00
Alasdair Kergon
c36e09664f
move fields
2003-05-06 12:06:02 +00:00
Alasdair Kergon
238c7f982e
basic pvmove support
2003-04-30 15:23:43 +00:00
Alasdair Kergon
2a1eae5d6f
o Metadata area struct change.
...
o Support physical extent restrictions on PV lists for allocations
e.g. lvcreate -l 200 vg1 /dev/sda1:100-199:300-399
2003-04-24 22:23:24 +00:00
Alasdair Kergon
b9a019a08b
Allow for specification of major number as well as minor.
2003-04-02 19:14:43 +00:00
Alasdair Kergon
4d7813e57c
vgreduce --removemissing to remove missing PVs & deps & make VG consistent
2003-01-17 21:04:26 +00:00
Alasdair Kergon
dd2157534b
Default stripesize 64k & config file setting for it;
...
Clear many compiler warnings (i386) & associated bugs - hopefully without
introducing too many new bugs:-) (Same exercise required for other archs.)
Default compilation has optimisation - or else use ./configure --enable-debug
2002-12-19 23:25:55 +00:00
Alasdair Kergon
34dd8d0a91
Some new features.
2002-11-18 14:04:08 +00:00