1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-28 20:25:52 +03:00
Commit Graph

246 Commits

Author SHA1 Message Date
Joe Thornber
91933eb69b o drop the reference counting in the devices. 2001-10-01 15:43:51 +00:00
Alasdair Kergon
6c796c3903 Merge fixes 2001-10-01 15:29:39 +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
Alasdair Kergon
fa42e6493d Create symlinks to .h files in an include directory 2001-10-01 13:36:54 +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
Joe Thornber
2099052b83 o rewrite of dm_user_bmap, not tested though. 2001-09-27 10:15:02 +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
Steven Whitehouse
ac4fc0b84d o Kill write funcs for error/status files
o Redo write logic for table file
 o Relax rules for symlink content by removing the rewriting function

Well I probably won't get a chance to work on this tomorrow, so this is my
changeset to date.
2001-09-26 20:24:39 +00:00
Joe Thornber
2f1a7a61fc o table creation works again. 2001-09-26 19:48:20 +00:00
Joe Thornber
2b83ef25c5 o It should build now 2001-09-26 17:32:57 +00:00
Joe Thornber
1655d99716 o typos 2001-09-26 17:07:10 +00:00
Joe Thornber
f9e8171a44 o remove steve's insane ramblings from my code. 2001-09-26 14:32:07 +00:00
Steven Whitehouse
cd624d3a4f o Lunchtime. 2001-09-26 11:47:02 +00:00
Steven Whitehouse
dd19ef9dd0 o More updates 2001-09-26 09:26:10 +00:00
Steven Whitehouse
d91ed719e9 o Beginnings of new interface. 2001-09-26 08:06:46 +00:00
Alasdair Kergon
0153e94a50 fix memory leak 2001-09-25 16:26:38 +00:00
Joe Thornber
2eca35b6d6 o quick tidy up 2001-09-25 15:23:20 +00:00
Alasdair Kergon
269930c0da lvactivate checkpoint commit 2001-09-25 12:49:28 +00:00
Alasdair Kergon
27829d8063 Another missing dependency. 2001-09-24 22:44:06 +00:00
Steven Whitehouse
5d910431cf o Check in case of setting up volumes before root is mounted. 2001-09-24 15:18:45 +00:00
Steven Whitehouse
c5ecb802fc Well when things start looking so complicated that future direction becomes
non-obvious, its time to simplify :-)

 o Moving towards a simpler and more obviously correct interface
 o Removed some fs operations in directories representing volumes
 o Changed some file names
 o Made things cleaner

more changes to follow...
2001-09-24 15:10:33 +00:00
Alasdair Kergon
1589a7a4f8 Fix dependencies. 2001-09-24 12:05:04 +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
Steven Whitehouse
257ef2ba58 o Sync up of todays changes .... nothing very important 2001-09-20 22:58:06 +00:00
Steven Whitehouse
8402493a28 o Bug fix in error path 2001-09-20 20:22:15 +00:00
Steven Whitehouse
04c89ae74c o Use ERR_PTR and PTR_ERR rather than an extra argument. 2001-09-20 19:25:58 +00:00
Steven Whitehouse
70c9968eaf o Changed to use table->err_msg rather than passing functions around 2001-09-20 18:22:35 +00:00
Steven Whitehouse
5fe98688bb o Some new files (also part of new fs interface) 2001-09-19 21:28:25 +00:00
Steven Whitehouse
6371de51da o Further changes to new file system interface 2001-09-19 21:27:46 +00:00
Steven Whitehouse
6c15d652d4 o Removed the error reporting function from the target constructor function
arguments. Errors are now reported by setting a pointer in the table to
   point to an error message.
2001-09-19 21:27:15 +00:00
Alasdair Kergon
c1a727359e hardsect/blksize handling 2001-09-19 17:46:27 +00:00
Steven Whitehouse
abe3914e87 o Added ref counting to tables
o Further changes to new fs interface
2001-09-19 16:01:27 +00:00
Steven Whitehouse
b28dfc0655 o Fixed a bug where we were not holding a reference of the block devices
used by the targets correctly.
2001-09-19 14:54:44 +00:00
Steven Whitehouse
ec3c205f2d o Change the deallocation of tables to match the vmalloc changes in my
previous commit
2001-09-19 11:02:02 +00:00
Steven Whitehouse
e33e89637c o Cut down number of vmallocs to increase speed and efficiency 2001-09-19 10:59:10 +00:00
Steven Whitehouse
44206f5e75 o More fs fiddling. Another check point commit. 2001-09-19 10:32:51 +00:00
Steven Whitehouse
7439f2e6c0 o Bug fix to LV_BMAP ioctl()
o Account for I/O against tables rather than logical volume devices
2001-09-19 10:32:09 +00:00
Alasdair Kergon
25f2335b7d Fix allocation & list-handling. 2001-09-18 20:03:00 +00:00
Steven Whitehouse
a71f36113c These files are now a bit closer towards what I'm aiming at. Still a lot
more to do though.
2001-09-18 16:54:14 +00:00
Steven Whitehouse
ab05a11ef5 Should have been included in the previous commit. 2001-09-18 16:53:18 +00:00
Steven Whitehouse
397f76ad31 o Changed dm_create() to return a struct mapped_device rather than an int
o Changed dm_remove() to accept a struct mapped_device argument rather than
   a name
 o We no longer have to look up devices by name, the dcache handles that
   nicely for us
 o Fixed a bug where we were freeing a structure before we'd finished with
   it.
 o The name field in struct mapped_device is now only used in a very few
   places in dm.c and will be replaced in future with a back reference to
   the dentry rather than keeping the name in two places.
2001-09-18 16:52:50 +00:00
Steven Whitehouse
710bb6996d o New file dmfs-super.c
o dmfs-dir.c becomes dmfs-lv.c
 o dmfs-file.c becomes dmfs-table.c
 o A few tweeks and updates

The main reason for the slow progress on these files (which are not yet used
by the device mapper) is that we are working out what this interface should
look like as we go along.

Once this has evolved a bit further and in a state where it can be used we'll
announce it on the lists for further comment.
2001-09-18 15:38:54 +00:00