Joe Thornber
40512beb47
o add fs.c to the Makefile
2001-11-12 13:02:06 +00:00
Joe Thornber
0d7f9b2c94
o add uplink from vg to cmd_context
2001-11-12 12:23:10 +00:00
Joe Thornber
52f42140a7
o Plug in fs_(add|del)_lv
2001-11-12 12:20:58 +00:00
Joe Thornber
3f6c50297f
o Split struct io_space into:
...
struct format_handler - format methods
struct format_instance - links instance data, methods, and cmd
struct cmd_context - dev_dir, memory allocator, device filter
2001-11-12 12:16:57 +00:00
Joe Thornber
f72d80afc5
o Compile errors
2001-11-12 11:48:31 +00:00
Joe Thornber
7c5cb13b22
o Ready for testing
2001-11-12 11:42:29 +00:00
Alasdair Kergon
02a70e5667
o Added lvextend
...
o Full signed arguments to lvreduce/lvextend
o Consistent lv_number/pe map use
o Populate pv->pe_allocated
o Fixes for allocation/writing of multiple LVs
2001-11-09 22:01:04 +00:00
Joe Thornber
44e51ea5fa
sync only, not ready yet
2001-11-09 08:48:22 +00:00
Alasdair Kergon
87e201460a
lvdisplay & lvreduce
2001-11-08 16:15:58 +00:00
Alasdair Kergon
e9e52d2b4b
o Always set LVM_READ.
...
o Avoid duplicate deallocation.
2001-11-07 22:47:43 +00:00
Joe Thornber
40fb6c998f
o Added lvs_in_vgs_opened
2001-11-07 15:02:07 +00:00
Joe Thornber
33f50a342d
o pool_empty was very wrong
2001-11-07 14:11:20 +00:00
Joe Thornber
2bf8cc62cf
o Another pass at the activation code
2001-11-07 11:51:42 +00:00
Alasdair Kergon
5ef32227ec
lvcreate
2001-11-06 19:02:26 +00:00
Joe Thornber
6456e773bd
o lv_extend
2001-11-06 12:01:46 +00:00
Joe Thornber
234fe53ca3
o Factor _allocate out for use by lv_extend
2001-11-06 11:31:29 +00:00
Joe Thornber
7c93e7a7b3
o lv_reduce
...
o pv_maps wasn't taking a list of acceptable pvs
2001-11-06 11:19:33 +00:00
Joe Thornber
8afc6c7f4b
o Contiguous allocation
2001-11-06 10:55:01 +00:00
Joe Thornber
4609d0fa3a
o lv_manip.c will contain the code for lv_create, lv_extend and lv_reduce.
2001-11-06 10:29:56 +00:00
Alasdair Kergon
d452c035c6
Reinstate size of lv
2001-11-05 18:07:44 +00:00
Joe Thornber
45113c8f5a
o code for building free area lists on a pv. Compiles but not run.
2001-11-05 16:41:38 +00:00
Joe Thornber
0acdd3c62b
o adjacent extents are now merged into a single target when activating.
2001-11-05 13:37:13 +00:00
Alasdair Kergon
96d7d0a33e
lvcreate prototype
2001-11-05 13:06:03 +00:00
Joe Thornber
b6b280267b
o build lv name from <vg>_<lv>
2001-11-02 16:45:44 +00:00
Alasdair Kergon
6e6d253b1a
Link in the activation library.
2001-11-02 16:28:04 +00:00
Joe Thornber
d92c105db2
o First pass at activation
2001-11-02 13:45:05 +00:00
Alasdair Kergon
906db728d6
o Changes to activation interface
...
o Add pointer lv->vg
o Some naming tweaks to improve clarity
2001-10-31 17:59:52 +00:00
Joe Thornber
c4b7411565
o LGPL list implementation
2001-10-31 12:47:01 +00:00
Joe Thornber
de06396046
o random little fixes
2001-10-30 17:53:21 +00:00
Joe Thornber
feefe49324
o Add read_ahead and stripes to struct logical_volume
2001-10-29 15:34:56 +00:00
Alasdair Kergon
187381a9a2
prefix & vgname in lvname
2001-10-29 15:28:00 +00:00
Alasdair Kergon
993dfa4368
lvremove
2001-10-29 13:52:23 +00:00
Joe Thornber
634e0db26d
o rfilter was no longer accepting by default
2001-10-25 18:12:44 +00:00
Joe Thornber
0b00f742e3
o was freeing memory from the wrong pool
2001-10-25 15:24:35 +00:00
Alasdair Kergon
b7ab3f673c
o fopen error message
...
o debug options in makefile
2001-10-25 15:07:26 +00:00
Joe Thornber
be04ea1e35
o pfilter stores results for all aliases.
2001-10-25 14:51:51 +00:00
Joe Thornber
1f8e695802
o It's a bit of a hack, but the regex filter now makes sure a device path
...
that passed the filter is at the front of the aliases list.
2001-10-25 14:41:28 +00:00
Joe Thornber
2d82b2c64f
o rfilter now checks all aliases for a match
2001-10-25 14:19:39 +00:00
Joe Thornber
d076caf473
o use dev_name(dev) to get the name of a device, this operation is cheap
...
since it just get's the first alias.
2001-10-25 14:04:18 +00:00
Joe Thornber
c7abdefa31
o Remove a couple of warnings, and one bug in ttree. Spotted by the optimiser
2001-10-25 13:08:29 +00:00
Joe Thornber
ba772c0bca
o Shuffle the keys to stop degeneracy.
2001-10-25 12:38:18 +00:00
Joe Thornber
5bad234119
o Trivial binary tree
2001-10-25 11:38:19 +00:00
Joe Thornber
c7e7baaf23
o added aliases list to struct device.
2001-10-25 11:34:55 +00:00
Joe Thornber
fb5a7db66d
o Merged common code between hash_destroy and hash_wipe.
2001-10-25 08:31:43 +00:00
Alasdair Kergon
ba7d33982e
persistent cache fully incorporated. Goodbye to scanning /dev/cdrom :-)
2001-10-24 17:53:50 +00:00
Alasdair Kergon
0b8c30c109
persistent filter & some log message changes
2001-10-23 18:20:27 +00:00
Joe Thornber
9ab0f463cc
o removed old files
2001-10-23 14:17:07 +00:00
Joe Thornber
6433dda7b8
o forgot to use the path passed into _read_array.
2001-10-23 13:12:05 +00:00
Alasdair Kergon
ba90e16505
deallocations
2001-10-23 12:33:57 +00:00
Joe Thornber
008f710203
o rethink of the persistent filter
2001-10-23 12:24:55 +00:00