Joe Thornber
912bc1d4e1
o more deferred io stuff
2001-08-28 14:05:22 +00:00
Joe Thornber
cacb1533a3
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
f0feaca9d7
o ACtual source code patch
2001-08-24 09:50:16 +00:00
Joe Thornber
b6656f171b
o a couple of patches we'll need for deviec-mapper
2001-08-24 09:39:32 +00:00
Joe Thornber
6206ab3931
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
c35fc58b1f
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
deed8abed7
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
7151ad23f0
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
0166d938af
o chagngesd alloc to return 0 on success
2001-08-22 15:59:56 +00:00
Joe Thornber
6194aeddb0
o fs_add and fs_remove actually create/remove the device now
2001-08-22 15:33:08 +00:00
Joe Thornber
903dbf2c30
o added brackets to make t->name = (char *) (t + 1) more explicit
2001-08-22 15:12:31 +00:00
Alasdair Kergon
9380f9ff57
Return 0 on success now.
2001-08-22 15:02:55 +00:00
Joe Thornber
259ed95486
o wu macro was doing a read unlock
...
o added dm_fs_add/remveove
2001-08-22 15:01:09 +00:00
Joe Thornber
2ebc92681e
o _tok_cpy was broken
2001-08-22 14:30:30 +00:00
Joe Thornber
195a1ffe13
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
a8c2978185
o _get_workd was always returning the end on iput
2001-08-22 13:52:26 +00:00
Alasdair Kergon
140f97a457
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
7f94445a1e
o set permissions on /proc/device-mapper/control to -w-w-w
2001-08-22 13:45:28 +00:00
Joe Thornber
82a89aec65
o call dm_init_fs
2001-08-22 13:41:00 +00:00
AJ Lewis
7e95110232
o Ok, this seems to be a much better method for caching valid
...
devices based on /proc/devices
+ The dev_mgr structure now has a 256 element char array that is
initially all 0s
+ When a match is found, the array element corresponding to the major
number of the match is set to a non-zero value
+ to check for a match, all one has to do is check that the array
element at the major number in question is non-zero.
o I'm wondering if we should do this with bitwise operators instead? Does
anyone expect the major numbers to grow larger than 8-bits?
2001-08-21 20:40:37 +00:00
AJ Lewis
ec4aaaad89
o Quick and dirty *UGLY* hack of a /proc/devices cache using a linked list
...
o I don't like it, but I'm committing it so I can go back and laugh at
myself later
o I have a (hopefully) better idea that i'll try to commit yet today.
2001-08-21 19:51:04 +00:00
AJ Lewis
1b790fde24
o Quick and dirty hack to get lvm_check_dev code into the dev-manager
...
o I'm working on caching the /proc/devices entries now, and should have
that in by the end of today or early tomorrow.
o There will be much cleanup involved with that...
2001-08-21 18:20:14 +00:00
Joe Thornber
aaccea731e
o quick hack to get the proc entry registering
2001-08-21 15:31:50 +00:00
Joe Thornber
29e31d7610
o dm-fs compiles, I've forgotten to register the device in /proc though
2001-08-21 15:24:02 +00:00
AJ Lewis
aa51f4a98f
o Added a basic makefile to build liblvm.a again
...
o Modified source files so that this works
2001-08-21 15:23:45 +00:00
AJ Lewis
e6ccd12f00
o Brought hash table code over from experimental
2001-08-21 15:22:59 +00:00
Joe Thornber
b134315df1
o wasn't including dm-fs.o in the build
2001-08-21 14:52:54 +00:00
Joe Thornber
7f34dffa13
o dm-target compiles
2001-08-21 14:51:41 +00:00
Joe Thornber
fa239e78c9
o dm-table compiles
2001-08-21 14:47:42 +00:00
AJ Lewis
707a6c4d6a
o Added _basic_ config file support to the device manager
2001-08-21 14:44:18 +00:00
Joe Thornber
e5da303b43
o make dm.c compile
2001-08-21 14:28:00 +00:00
Joe Thornber
84ccd66331
o 2.4.9 support
...
o new uml-lvm patch
2001-08-21 13:45:16 +00:00
AJ Lewis
ad8cc2baea
o Populating with stuff from experimental
2001-08-21 13:22:16 +00:00
Joe Thornber
7c4cf70309
o Populating with stuff from experimental
2001-08-21 12:56:08 +00:00
Joe Thornber
c3211e9b4f
o dm_activate/dm_close
2001-08-20 16:12:22 +00:00
steve
268d94c983
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
0bcacbba58
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
8cdc26add9
o changed _dev_lock to a rw_semaphore
2001-08-20 14:06:25 +00:00
Joe Thornber
e0b2238886
o proc interface is getting there.
2001-08-20 13:45:43 +00:00
Joe Thornber
369a2e4029
o missed one
2001-08-20 08:05:51 +00:00
Joe Thornber
c4089e3b51
Just syncing with the office.
...
o device-mapper.c has split
2001-08-20 08:03:02 +00:00
Joe Thornber
9e2e9bc5b8
o added a description
2001-08-16 15:14:07 +00:00
Joe Thornber
a9e44426ed
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
AJ Lewis
71f22dd926
o Basic README..
...
o Basic directory structure is in...use 'cvs -f update'
2001-08-15 15:59:38 +00:00
Ben Lutgens
14b3a50467
test add
2001-08-15 15:49:33 +00:00