]> sourceware.org Git - lvm2.git/log
lvm2.git
22 years agoo makefile for read_vg_t
Joe Thornber [Mon, 8 Oct 2001 09:50:00 +0000 (09:50 +0000)]
o makefile for read_vg_t

22 years agoo get things compiling
Joe Thornber [Mon, 8 Oct 2001 09:45:16 +0000 (09:45 +0000)]
o get things compiling

22 years agoo test program for reading a vg
Joe Thornber [Mon, 8 Oct 2001 08:47:27 +0000 (08:47 +0000)]
o test program for reading a vg

22 years agoSync include file changes.
Alasdair Kergon [Fri, 5 Oct 2001 21:39:30 +0000 (21:39 +0000)]
Sync include file changes.

22 years agoo end of day sync
Joe Thornber [Fri, 5 Oct 2001 16:36:53 +0000 (16:36 +0000)]
o end of day sync

22 years agoo replace {stack; return 0;}'s with a macro (just for this file).
Joe Thornber [Fri, 5 Oct 2001 15:48:05 +0000 (15:48 +0000)]
o replace {stack; return 0;}'s with a macro (just for this file).

22 years agoo low level write path
Joe Thornber [Fri, 5 Oct 2001 15:20:40 +0000 (15:20 +0000)]
o low level write path

22 years agoo finished writing extent reading code
Joe Thornber [Fri, 5 Oct 2001 13:59:44 +0000 (13:59 +0000)]
o finished writing extent reading code

22 years agorevised flags and comments
Alasdair Kergon [Fri, 5 Oct 2001 13:03:03 +0000 (13:03 +0000)]
revised flags and comments

22 years agoJust a small sync of pending changes before I start looking at this again
Steven Whitehouse [Fri, 5 Oct 2001 10:00:13 +0000 (10:00 +0000)]
Just a small sync of pending changes before I start looking at this again
more seriously.

 o Odds and ends

22 years agometadata status flags regrouping & comments; misc tool changes
Alasdair Kergon [Thu, 4 Oct 2001 22:53:37 +0000 (22:53 +0000)]
metadata status flags regrouping & comments;  misc tool changes

22 years agoo vg_read for format1
Joe Thornber [Thu, 4 Oct 2001 17:48:55 +0000 (17:48 +0000)]
o vg_read for format1

22 years agomakefile support for tests
Alasdair Kergon [Thu, 4 Oct 2001 12:07:29 +0000 (12:07 +0000)]
makefile support for tests

22 years agoo define the uintN_t types
Joe Thornber [Thu, 4 Oct 2001 11:40:13 +0000 (11:40 +0000)]
o define the uintN_t types

22 years agoo forgot to add this before
Joe Thornber [Thu, 4 Oct 2001 10:25:34 +0000 (10:25 +0000)]
o forgot to add this before

22 years agoo got dbg_malloc_t working, Alasdair could you look at the Makefile.in it
Joe Thornber [Thu, 4 Oct 2001 10:13:07 +0000 (10:13 +0000)]
o got dbg_malloc_t working, Alasdair could you look at the Makefile.in it
  seems to be having trouble with the dependencies.

o removed some files from the lib makefile that don't compile yet.

22 years agoo Use the __alignof__ extension to set DEFAULT_ALIGNMENT to that required
Joe Thornber [Thu, 4 Oct 2001 09:10:11 +0000 (09:10 +0000)]
o Use the __alignof__ extension to set DEFAULT_ALIGNMENT to that required
  for a 'double'.

22 years agovgcreate & lvmchange outlines
Alasdair Kergon [Wed, 3 Oct 2001 20:38:07 +0000 (20:38 +0000)]
vgcreate & lvmchange outlines

22 years agovgrename & pvchange outlines
Alasdair Kergon [Wed, 3 Oct 2001 17:03:25 +0000 (17:03 +0000)]
vgrename & pvchange outlines

22 years agoo added dev-cache.c, dev-io and sorted source files alphabetically
Joe Thornber [Wed, 3 Oct 2001 12:46:17 +0000 (12:46 +0000)]
o added dev-cache.c, dev-io and sorted source files alphabetically

22 years agoo moved dev-cache to device dir
Joe Thornber [Wed, 3 Oct 2001 12:43:29 +0000 (12:43 +0000)]
o moved dev-cache to device dir

22 years agoo I've moved the dev-cache and dev-io into here since this directory has a
Joe Thornber [Wed, 3 Oct 2001 12:41:29 +0000 (12:41 +0000)]
o I've moved the dev-cache and dev-io into here since this directory has a
  better name.  dev-mgr will be removed at some point.

22 years agolvremove outline
Alasdair Kergon [Wed, 3 Oct 2001 12:34:08 +0000 (12:34 +0000)]
lvremove outline

22 years agoo code sync for dev-cache.c
Joe Thornber [Wed, 3 Oct 2001 11:06:31 +0000 (11:06 +0000)]
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

22 years agopvscan framework
Alasdair Kergon [Tue, 2 Oct 2001 17:09:05 +0000 (17:09 +0000)]
pvscan framework

22 years agoo test program for the device cache
Joe Thornber [Tue, 2 Oct 2001 13:44:44 +0000 (13:44 +0000)]
o test program for the device cache

22 years agoo test program for the hash table.
Joe Thornber [Tue, 2 Oct 2001 12:46:04 +0000 (12:46 +0000)]
o test program for the hash table.

22 years agoo Test program for dbg_malloc unit.
Joe Thornber [Tue, 2 Oct 2001 12:27:55 +0000 (12:27 +0000)]
o Test program for dbg_malloc unit.

  I'm postfixing test programs with _t, and benchmarks with _b

22 years agoAnother step towards consistency & compilation.
Alasdair Kergon [Mon, 1 Oct 2001 22:12:10 +0000 (22:12 +0000)]
Another step towards consistency & compilation.

22 years agoMisc structural changes.
Alasdair Kergon [Mon, 1 Oct 2001 19:36:06 +0000 (19:36 +0000)]
Misc structural changes.

22 years agoMisc structural changes.
Alasdair Kergon [Mon, 1 Oct 2001 19:29:52 +0000 (19:29 +0000)]
Misc structural changes.

22 years agoo changed dev-manager to a dev_filter
Joe Thornber [Mon, 1 Oct 2001 16:21:21 +0000 (16:21 +0000)]
o changed dev-manager to a dev_filter

22 years agoo get block size moved to dev-io.c
Joe Thornber [Mon, 1 Oct 2001 16:07:29 +0000 (16:07 +0000)]
o get block size moved to dev-io.c

22 years agomerge partition code
Alasdair Kergon [Mon, 1 Oct 2001 15:59:40 +0000 (15:59 +0000)]
merge partition code

22 years agoTidy includes
Alasdair Kergon [Mon, 1 Oct 2001 15:53:21 +0000 (15:53 +0000)]
Tidy includes

22 years agoo drop the reference counting in the devices.
Joe Thornber [Mon, 1 Oct 2001 15:43:51 +0000 (15:43 +0000)]
o drop the reference counting in the devices.

22 years agoMerge fixes
Alasdair Kergon [Mon, 1 Oct 2001 15:29:39 +0000 (15:29 +0000)]
Merge fixes

22 years agoo missing *
Joe Thornber [Mon, 1 Oct 2001 15:28:28 +0000 (15:28 +0000)]
o missing *

22 years agoo added filter type.
Joe Thornber [Mon, 1 Oct 2001 15:27:16 +0000 (15:27 +0000)]
o added filter type.

22 years agoTidy include files
Alasdair Kergon [Mon, 1 Oct 2001 15:14:39 +0000 (15:14 +0000)]
Tidy include files

22 years agoCreate symlinks to .h files in an include directory
Alasdair Kergon [Mon, 1 Oct 2001 13:36:54 +0000 (13:36 +0000)]
Create symlinks to .h files in an include directory

22 years agoo I'm splitting dev-manager in two. dev-cache is the bottom layer that
Joe Thornber [Fri, 28 Sep 2001 15:42:25 +0000 (15:42 +0000)]
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.

22 years agoo list.h from kernel for userland tools to use.
Joe Thornber [Fri, 28 Sep 2001 13:19:17 +0000 (13:19 +0000)]
o list.h from kernel for userland tools to use.

22 years agoo logical data structures
Joe Thornber [Fri, 28 Sep 2001 13:15:30 +0000 (13:15 +0000)]
o logical data structures

22 years agoo generic hash table to store void *'s, not efficient, but adequate for LVM.
Joe Thornber [Fri, 28 Sep 2001 13:08:44 +0000 (13:08 +0000)]
o generic hash table to store void *'s, not efficient, but adequate for LVM.

22 years agoo rewrite of dm_user_bmap, not tested though.
Joe Thornber [Thu, 27 Sep 2001 10:15:02 +0000 (10:15 +0000)]
o rewrite of dm_user_bmap, not tested though.

22 years agoFix prototype for malloc_aux
Patrick Caulfield [Thu, 27 Sep 2001 10:01:17 +0000 (10:01 +0000)]
Fix prototype for malloc_aux

22 years agoDon't include asm/* files
Patrick Caulfield [Thu, 27 Sep 2001 10:00:47 +0000 (10:00 +0000)]
Don't include asm/* files

22 years ago o Kill write funcs for error/status files
Steven Whitehouse [Wed, 26 Sep 2001 20:24:39 +0000 (20:24 +0000)]
 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.

22 years agoo table creation works again.
Joe Thornber [Wed, 26 Sep 2001 19:48:20 +0000 (19:48 +0000)]
o table creation works again.

22 years agoo It should build now
Joe Thornber [Wed, 26 Sep 2001 17:32:57 +0000 (17:32 +0000)]
o It should build now

22 years agoo typos
Joe Thornber [Wed, 26 Sep 2001 17:07:10 +0000 (17:07 +0000)]
o typos

22 years agoo remove steve's insane ramblings from my code.
Joe Thornber [Wed, 26 Sep 2001 14:32:07 +0000 (14:32 +0000)]
o remove steve's insane ramblings from my code.

22 years ago o Lunchtime.
Steven Whitehouse [Wed, 26 Sep 2001 11:47:02 +0000 (11:47 +0000)]
 o Lunchtime.

22 years ago o More updates
Steven Whitehouse [Wed, 26 Sep 2001 09:26:10 +0000 (09:26 +0000)]
 o More updates

22 years ago o Beginnings of new interface.
Steven Whitehouse [Wed, 26 Sep 2001 08:06:46 +0000 (08:06 +0000)]
 o Beginnings of new interface.

22 years agofix memory leak
Alasdair Kergon [Tue, 25 Sep 2001 16:26:38 +0000 (16:26 +0000)]
fix memory leak

22 years agoo quick tidy up
Joe Thornber [Tue, 25 Sep 2001 15:23:20 +0000 (15:23 +0000)]
o quick tidy up

22 years agolvactivate checkpoint commit
Alasdair Kergon [Tue, 25 Sep 2001 12:49:28 +0000 (12:49 +0000)]
lvactivate checkpoint commit

22 years agoAnother missing dependency.
Alasdair Kergon [Mon, 24 Sep 2001 22:44:06 +0000 (22:44 +0000)]
Another missing dependency.

22 years ago o Check in case of setting up volumes before root is mounted.
Steven Whitehouse [Mon, 24 Sep 2001 15:18:45 +0000 (15:18 +0000)]
 o Check in case of setting up volumes before root is mounted.

22 years agoWell when things start looking so complicated that future direction becomes
Steven Whitehouse [Mon, 24 Sep 2001 15:10:33 +0000 (15:10 +0000)]
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...

22 years agoFix dependencies.
Alasdair Kergon [Mon, 24 Sep 2001 12:05:04 +0000 (12:05 +0000)]
Fix dependencies.

22 years agoMakefiles & autoconf.
Alasdair Kergon [Fri, 21 Sep 2001 12:37:43 +0000 (12:37 +0000)]
Makefiles & autoconf.

22 years agoInitialise root node pointer.
Alasdair Kergon [Fri, 21 Sep 2001 12:32:37 +0000 (12:32 +0000)]
Initialise root node pointer.

22 years agoUnused variables.
Alasdair Kergon [Fri, 21 Sep 2001 12:31:57 +0000 (12:31 +0000)]
Unused variables.

22 years ago o Sync up of todays changes .... nothing very important
Steven Whitehouse [Thu, 20 Sep 2001 22:58:06 +0000 (22:58 +0000)]
 o Sync up of todays changes .... nothing very important

22 years ago o Bug fix in error path
Steven Whitehouse [Thu, 20 Sep 2001 20:22:15 +0000 (20:22 +0000)]
 o Bug fix in error path

22 years ago o Use ERR_PTR and PTR_ERR rather than an extra argument.
Steven Whitehouse [Thu, 20 Sep 2001 19:25:58 +0000 (19:25 +0000)]
 o Use ERR_PTR and PTR_ERR rather than an extra argument.

22 years ago o Changed to use table->err_msg rather than passing functions around
Steven Whitehouse [Thu, 20 Sep 2001 18:22:35 +0000 (18:22 +0000)]
 o Changed to use table->err_msg rather than passing functions around

22 years ago o Some new files (also part of new fs interface)
Steven Whitehouse [Wed, 19 Sep 2001 21:28:25 +0000 (21:28 +0000)]
 o Some new files (also part of new fs interface)

22 years ago o Further changes to new file system interface
Steven Whitehouse [Wed, 19 Sep 2001 21:27:46 +0000 (21:27 +0000)]
 o Further changes to new file system interface

22 years ago o Removed the error reporting function from the target constructor function
Steven Whitehouse [Wed, 19 Sep 2001 21:27:15 +0000 (21:27 +0000)]
 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.

22 years agohardsect/blksize handling
Alasdair Kergon [Wed, 19 Sep 2001 17:46:27 +0000 (17:46 +0000)]
hardsect/blksize handling

22 years ago o Added ref counting to tables
Steven Whitehouse [Wed, 19 Sep 2001 16:01:27 +0000 (16:01 +0000)]
 o Added ref counting to tables
 o Further changes to new fs interface

22 years ago o Fixed a bug where we were not holding a reference of the block devices
Steven Whitehouse [Wed, 19 Sep 2001 14:54:44 +0000 (14:54 +0000)]
 o Fixed a bug where we were not holding a reference of the block devices
   used by the targets correctly.

22 years ago o Change the deallocation of tables to match the vmalloc changes in my
Steven Whitehouse [Wed, 19 Sep 2001 11:02:02 +0000 (11:02 +0000)]
 o Change the deallocation of tables to match the vmalloc changes in my
   previous commit

22 years ago o Cut down number of vmallocs to increase speed and efficiency
Steven Whitehouse [Wed, 19 Sep 2001 10:59:10 +0000 (10:59 +0000)]
 o Cut down number of vmallocs to increase speed and efficiency

22 years ago o More fs fiddling. Another check point commit.
Steven Whitehouse [Wed, 19 Sep 2001 10:32:51 +0000 (10:32 +0000)]
 o More fs fiddling. Another check point commit.

22 years ago o Bug fix to LV_BMAP ioctl()
Steven Whitehouse [Wed, 19 Sep 2001 10:32:09 +0000 (10:32 +0000)]
 o Bug fix to LV_BMAP ioctl()
 o Account for I/O against tables rather than logical volume devices

22 years agoFix allocation & list-handling.
Alasdair Kergon [Tue, 18 Sep 2001 20:03:00 +0000 (20:03 +0000)]
Fix allocation & list-handling.

22 years agoThese files are now a bit closer towards what I'm aiming at. Still a lot
Steven Whitehouse [Tue, 18 Sep 2001 16:54:14 +0000 (16:54 +0000)]
These files are now a bit closer towards what I'm aiming at. Still a lot
more to do though.

22 years agoShould have been included in the previous commit.
Steven Whitehouse [Tue, 18 Sep 2001 16:53:18 +0000 (16:53 +0000)]
Should have been included in the previous commit.

22 years ago o Changed dm_create() to return a struct mapped_device rather than an int
Steven Whitehouse [Tue, 18 Sep 2001 16:52:50 +0000 (16:52 +0000)]
 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.

22 years ago o New file dmfs-super.c
Steven Whitehouse [Tue, 18 Sep 2001 15:38:54 +0000 (15:38 +0000)]
 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.

22 years agoError checking: only allow block devices & test for 'nodev'.
Alasdair Kergon [Mon, 17 Sep 2001 21:17:30 +0000 (21:17 +0000)]
Error checking: only allow block devices & test for 'nodev'.

22 years ago o Again, please ignore this for the time being.
Steven Whitehouse [Mon, 17 Sep 2001 19:05:49 +0000 (19:05 +0000)]
 o Again, please ignore this for the time being.

22 years agoo Arbitrary mount path.
Alasdair Kergon [Mon, 17 Sep 2001 16:55:31 +0000 (16:55 +0000)]
o Arbitrary mount path.
o Name length 128.

22 years ago o Work in progress, please ignore these files for a day or two whilst I
Steven Whitehouse [Mon, 17 Sep 2001 15:42:59 +0000 (15:42 +0000)]
 o Work in progress, please ignore these files for a day or two whilst I
   get everything going.

22 years ago o Fixed code where return value of vmalloc wasn't checked
Steven Whitehouse [Mon, 17 Sep 2001 11:23:13 +0000 (11:23 +0000)]
 o Fixed code where return value of vmalloc wasn't checked

22 years ago o Use count should be an atomic_t
Steven Whitehouse [Mon, 17 Sep 2001 09:01:23 +0000 (09:01 +0000)]
 o Use count should be an atomic_t

22 years ago o Targets now get rw passed through so they can do COW for example
Steven Whitehouse [Fri, 14 Sep 2001 16:22:02 +0000 (16:22 +0000)]
 o Targets now get rw passed through so they can do COW for example
 o Added error handler (not sure that this is the "correct" way to do
   this at the moment, so its a bit exprimental for now)

22 years ago o Support /sbin/hotplug
Steven Whitehouse [Fri, 14 Sep 2001 15:35:06 +0000 (15:35 +0000)]
 o Support /sbin/hotplug

22 years ago o Made pending I/O wait uninterruptible
Steven Whitehouse [Fri, 14 Sep 2001 14:03:02 +0000 (14:03 +0000)]
 o Made pending I/O wait uninterruptible

22 years ago o New ioctl(): LV_BMAP which is compatible with LVM so that hopefully LILO
Steven Whitehouse [Fri, 14 Sep 2001 13:45:40 +0000 (13:45 +0000)]
 o New ioctl(): LV_BMAP which is compatible with LVM so that hopefully LILO
   will work. I haven't actually tested that, but this support at least will
   be required.

22 years agoUse dmfs_ function name prefix (in line with other file systems).
Alasdair Kergon [Fri, 14 Sep 2001 13:27:58 +0000 (13:27 +0000)]
Use dmfs_ function name prefix (in line with other file systems).

22 years agolc->in->f_op->read expects its buffer to be in userspace so surround it in
Patrick Caulfield [Fri, 14 Sep 2001 12:27:57 +0000 (12:27 +0000)]
lc->in->f_op->read expects its buffer to be in userspace so surround it in
set_fs() etc calls

22 years ago o As promised earlier, the device registration is now hashed and the
Steven Whitehouse [Fri, 14 Sep 2001 11:25:51 +0000 (11:25 +0000)]
 o As promised earlier, the device registration is now hashed and the
   lists are private to dm-blkdev.c

22 years agoAlways truncate error file.
Alasdair Kergon [Fri, 14 Sep 2001 11:15:54 +0000 (11:15 +0000)]
Always truncate error file.

22 years agoDon't store things in _devs[-1] - it's not nice.
Patrick Caulfield [Fri, 14 Sep 2001 10:54:08 +0000 (10:54 +0000)]
Don't store things in _devs[-1] - it's not nice.

This page took 0.06751 seconds and 5 git commands to generate.