1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00
Commit Graph

50 Commits

Author SHA1 Message Date
Joe Thornber
e69ce84e34 o Added two new functions get_child [Andrew Clausen] and get_node. I think
this makes 'high()' a bit more understandable.
2001-09-04 10:17:28 +00:00
Joe Thornber
a612e52245 o added new constant CHILD_PER_NODE to make things clearer 2001-09-03 08:36:41 +00:00
Joe Thornber
5cdd74f2e9 o Various tidy ups [Andrew Clausen] 2001-09-02 10:49:20 +00:00
Joe Thornber
f058895e26 o added global dm_table_lookup_device(path)
o changed linear target to : <device_path> <start>
2001-08-31 18:26:27 +00:00
Joe Thornber
a46d94071b o added reference counting to the destination devices, make sure that the
destructor for any targets you write call dm_table_remove_device.
2001-08-31 16:36:56 +00:00
Joe Thornber
0f29dc2f2d o split struct mapped_device into mapped_device and dm_table
o seperated loading of a table from binding a table to the device

These should allow multiple tables to be managed by dm-fs
2001-08-31 15:13:33 +00:00
Joe Thornber
4183d3fe6c o tidy ups 2001-08-31 12:49:31 +00:00
Joe Thornber
78512ae004 o allocate io_hooks from a slab 2001-08-31 10:25:32 +00:00
Joe Thornber
7567dd82cb o stray return -ENXIO in reuqest [Jens Axboe] 2001-08-31 09:43:35 +00:00
Joe Thornber
61059614b7 o rebuilt 00_latest 2001-08-31 09:14:55 +00:00
Joe Thornber
0399f4cd61 o split uml part out 2001-08-29 14:23:40 +00:00
Joe Thornber
5410a899ef o various little tidy ups 2001-08-29 13:58:48 +00:00
Joe Thornber
a18deda24b o change format of table line to <start> <len> <target> ... 2001-08-28 14:56:47 +00:00
AJ Lewis
2e95662387 o Enable building dm modules (called dm-mod)
o split the patches into config and makefile specific.
2001-08-28 14:11:55 +00:00
Joe Thornber
ff8cfdb092 o more deferred io stuff 2001-08-28 14:05:22 +00:00
Joe Thornber
bfba809c79 o added proper suspend/resume support, it now waits for all 'in flight' io's
to complete.

  
  moved comment to dm.h
2001-08-28 13:04:44 +00:00
Joe Thornber
0d3e8e743a o ACtual source code patch 2001-08-24 09:50:16 +00:00
Joe Thornber
4ca4476320 o a couple of patches we'll need for deviec-mapper 2001-08-24 09:39:32 +00:00
Joe Thornber
d43ba2a775 o you can now load maps repeatedly without hanging
o tested multiple target map

Driver is now useable
2001-08-23 17:10:05 +00:00
Joe Thornber
95d3ba14eb o dm_add_target was returning 0 an error when it shouldn't
o reference count was being checked badly
2001-08-23 16:45:43 +00:00
Joe Thornber
3cf3ab579e o map loads ok now
o request function appears to work, but something is segfaulting when i
  mke2fs
2001-08-23 12:35:02 +00:00
Alasdair Kergon
0bdf99c171 Tweak permissions - currently root-only. (no support for non-root ownership
in procfs except for PIDs)
2001-08-22 20:10:06 +00:00
Joe Thornber
1a6f055682 o chagngesd alloc to return 0 on success 2001-08-22 15:59:56 +00:00
Joe Thornber
016cf45775 o fs_add and fs_remove actually create/remove the device now 2001-08-22 15:33:08 +00:00
Joe Thornber
4a6a800fd8 o added brackets to make t->name = (char *) (t + 1) more explicit 2001-08-22 15:12:31 +00:00
Alasdair Kergon
4dd99b7623 Return 0 on success now. 2001-08-22 15:02:55 +00:00
Joe Thornber
71d325549f o wu macro was doing a read unlock
o added dm_fs_add/remveove
2001-08-22 15:01:09 +00:00
Joe Thornber
75d6c8c9f6 o _tok_cpy was broken 2001-08-22 14:30:30 +00:00
Joe Thornber
a548e9cc40 o fix get_word
o capy name in when registering targets

o change _line_splitter so it expects the process functions to return zero
  on success
2001-08-22 14:13:26 +00:00
Joe Thornber
9d4aaf49c1 o _get_workd was always returning the end on iput 2001-08-22 13:52:26 +00:00
Alasdair Kergon
e753457e7d o Initialisation tweaks.
o Use different major number so it can co-exist with LVM 1.
2001-08-22 13:46:58 +00:00
Joe Thornber
8f8fbdc399 o set permissions on /proc/device-mapper/control to -w-w-w 2001-08-22 13:45:28 +00:00
Joe Thornber
5c45d98645 o call dm_init_fs 2001-08-22 13:41:00 +00:00
Joe Thornber
c0068bdd4f o quick hack to get the proc entry registering 2001-08-21 15:31:50 +00:00
Joe Thornber
e16c478a25 o dm-fs compiles, I've forgotten to register the device in /proc though 2001-08-21 15:24:02 +00:00
Joe Thornber
f924ff0059 o wasn't including dm-fs.o in the build 2001-08-21 14:52:54 +00:00
Joe Thornber
fbc4a8894f o dm-target compiles 2001-08-21 14:51:41 +00:00
Joe Thornber
8b0affe220 o dm-table compiles 2001-08-21 14:47:42 +00:00
Joe Thornber
12a8b590e0 o make dm.c compile 2001-08-21 14:28:00 +00:00
Joe Thornber
fb037af2b3 o 2.4.9 support
o new uml-lvm patch
2001-08-21 13:45:16 +00:00
Joe Thornber
537d817f8a o dm_activate/dm_close 2001-08-20 16:12:22 +00:00
Steven Whitehouse
9404455a07 dec use count on close. corrects a typo.
Really the use counts on these modules should be handled at a higher level,
otherwise there are races I think.
2001-08-20 15:59:22 +00:00
Joe Thornber
da44380f86 o implemeted dm_start_table/dm_add_entry/dm_complete_table as used by
the /proc interface.
2001-08-20 15:22:44 +00:00
Joe Thornber
bf235aa693 o changed _dev_lock to a rw_semaphore 2001-08-20 14:06:25 +00:00
Joe Thornber
d534900b91 o proc interface is getting there. 2001-08-20 13:45:43 +00:00
Joe Thornber
a2f6acada0 o missed one 2001-08-20 08:05:51 +00:00
Joe Thornber
05434129e0 Just syncing with the office.
o device-mapper.c has split
2001-08-20 08:03:02 +00:00
Joe Thornber
c34ef2dc3c o added a description 2001-08-16 15:14:07 +00:00
Joe Thornber
c34356ba58 o checked in the new driver, and the uml dir 2001-08-16 08:26:13 +00:00
AJ Lewis
b653404542 o initial subdir population 2001-08-15 16:20:46 +00:00