1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
Commit Graph

7084 Commits

Author SHA1 Message Date
Joe Thornber
b8e4e502d3 o code sync for dev-cache.c
o made copyright headers the same

o added __attribute ((format ... to print_log so we'll get better compile errors

o added iterator to the hash table
2001-10-03 11:06:31 +00:00
Alasdair Kergon
9e300c8427 pvscan framework 2001-10-02 17:09:05 +00:00
Alasdair Kergon
1f6db21f32 Another step towards consistency & compilation. 2001-10-01 22:12:10 +00:00
Alasdair Kergon
28f5d16b4f Misc structural changes. 2001-10-01 19:36:06 +00:00
Alasdair Kergon
552c2479aa Misc structural changes. 2001-10-01 19:29:52 +00:00
Joe Thornber
74a54dc297 o changed dev-manager to a dev_filter 2001-10-01 16:21:21 +00:00
Joe Thornber
2f15b18f93 o get block size moved to dev-io.c 2001-10-01 16:07:29 +00:00
Alasdair Kergon
58f5fa84f3 merge partition code 2001-10-01 15:59:40 +00:00
Joe Thornber
91933eb69b o drop the reference counting in the devices. 2001-10-01 15:43:51 +00:00
Joe Thornber
9263388a70 o missing * 2001-10-01 15:28:28 +00:00
Joe Thornber
a5072db62a o added filter type. 2001-10-01 15:27:16 +00:00
Alasdair Kergon
b8ef655fb7 Tidy include files 2001-10-01 15:14:39 +00:00
Joe Thornber
d41d4056ca o I'm splitting dev-manager in two. dev-cache is the bottom layer that
handles devices.  Dev-manager will sit on this filtering the view.
2001-09-28 15:42:25 +00:00
Joe Thornber
03aee97527 o list.h from kernel for userland tools to use. 2001-09-28 13:19:17 +00:00
Joe Thornber
84ad4dabe2 o logical data structures 2001-09-28 13:15:30 +00:00
Joe Thornber
dc1acd03f8 o generic hash table to store void *'s, not efficient, but adequate for LVM. 2001-09-28 13:08:44 +00:00
Patrick Caulfield
30a9f48024 Fix prototype for malloc_aux 2001-09-27 10:01:17 +00:00
Patrick Caulfield
7bf5c85a05 Don't include asm/* files 2001-09-27 10:00:47 +00:00
Alasdair Kergon
269930c0da lvactivate checkpoint commit 2001-09-25 12:49:28 +00:00
Alasdair Kergon
795ca3e5b8 Makefiles & autoconf. 2001-09-21 12:37:43 +00:00
Alasdair Kergon
b5ab48be2a Initialise root node pointer. 2001-09-21 12:32:37 +00:00
Alasdair Kergon
961c946a6d Unused variables. 2001-09-21 12:31:57 +00:00
Patrick Caulfield
e8cd263509 Fix includes so that string functions get prototyped 2001-09-13 12:38:31 +00:00
Patrick Caulfield
7c045c523b Fix includes so that string functions get prototyped.
Fix cast - repeat after me Joe: "I must not cast pointers to ints"!
2001-09-13 12:38:08 +00:00
Patrick Caulfield
758af97c3b Set DEFAULT_ALIGNMENT to 8 for Alpha.
If you think this is wasteful on other arches then stick some ifdefs in.
2001-09-13 09:03:42 +00:00
AJ Lewis
a53d451f30 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
83b2c0d30a 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
7af02225cc 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
AJ Lewis
bb6ddc2de7 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
a88c46c2d8 o Brought hash table code over from experimental 2001-08-21 15:22:59 +00:00
AJ Lewis
1993c0acc2 o Added _basic_ config file support to the device manager 2001-08-21 14:44:18 +00:00
AJ Lewis
d43feea5fa o Populating with stuff from experimental 2001-08-21 13:22:16 +00:00
Joe Thornber
df88dece8b o Populating with stuff from experimental 2001-08-21 12:56:08 +00:00
AJ Lewis
b653404542 o initial subdir population 2001-08-15 16:20:46 +00:00