]> sourceware.org Git - lvm2.git/log
lvm2.git
23 years agoo _emit_target wasn't spotting contiguous targets properly.
Joe Thornber [Mon, 19 Nov 2001 15:44:06 +0000 (15:44 +0000)]
o  _emit_target wasn't spotting contiguous targets properly.

23 years agoo Use new info interface to dm.
Joe Thornber [Mon, 19 Nov 2001 15:38:39 +0000 (15:38 +0000)]
o  Use new info interface to dm.

23 years agovgdisplay
Alasdair Kergon [Mon, 19 Nov 2001 15:20:50 +0000 (15:20 +0000)]
vgdisplay

23 years agofile cmgr.h was initially added on branch CLUSTER_TAG.
Patrick Caulfield [Mon, 19 Nov 2001 14:40:32 +0000 (14:40 +0000)]
file cmgr.h was initially added on branch CLUSTER_TAG.

23 years agofile cmgr.c was initially added on branch CLUSTER_TAG.
Patrick Caulfield [Mon, 19 Nov 2001 14:40:32 +0000 (14:40 +0000)]
file cmgr.c was initially added on branch CLUSTER_TAG.

23 years agofile clvm.h was initially added on branch CLUSTER_TAG.
Patrick Caulfield [Mon, 19 Nov 2001 14:40:32 +0000 (14:40 +0000)]
file clvm.h was initially added on branch CLUSTER_TAG.

23 years agoZero first 4k of new LVs.
Alasdair Kergon [Fri, 16 Nov 2001 15:38:52 +0000 (15:38 +0000)]
Zero first 4k of new LVs.

23 years agoDon't need EXTRA_LIBS as autoconf fills in LIBS for us with all that is needed.
Patrick Caulfield [Fri, 16 Nov 2001 11:39:13 +0000 (11:39 +0000)]
Don't need EXTRA_LIBS as autoconf fills in LIBS for us with all that is needed.

BTW if there are any *real* autoconf experts out there please feel free to flame
me.

23 years agosize_ts aren't really pointers but there are no format specifiers for them,
Patrick Caulfield [Fri, 16 Nov 2001 11:37:45 +0000 (11:37 +0000)]
size_ts aren't really pointers but there are no format specifiers for them,
so this will just have to do.

23 years agoFix format characters for printing size_ts
Patrick Caulfield [Fri, 16 Nov 2001 10:56:11 +0000 (10:56 +0000)]
Fix format characters for printing size_ts

23 years agoDo substitution on LIBS so that those platforms that need -lncurses as well as
Patrick Caulfield [Fri, 16 Nov 2001 10:40:16 +0000 (10:40 +0000)]
Do substitution on LIBS so that those platforms that need -lncurses as well as
lreadline will work.

23 years agolvrename (without reactivation)
Alasdair Kergon [Thu, 15 Nov 2001 17:27:45 +0000 (17:27 +0000)]
lvrename (without reactivation)

23 years agoUse POSIX defined PRIu64 for formatting 64 bit unsigned integer types
Patrick Caulfield [Thu, 15 Nov 2001 15:18:53 +0000 (15:18 +0000)]
Use POSIX defined PRIu64 for formatting 64 bit unsigned integer types

23 years agoUse FMT_64 to format 64bit types
Patrick Caulfield [Thu, 15 Nov 2001 14:27:51 +0000 (14:27 +0000)]
Use FMT_64 to format 64bit types

23 years agodefine FMT_64 to be the right format string for 64-bit types a la GFS
Patrick Caulfield [Thu, 15 Nov 2001 14:27:34 +0000 (14:27 +0000)]
define FMT_64 to be the right format string for 64-bit types a la GFS

23 years agoUse inttypes.h
Alasdair Kergon [Thu, 15 Nov 2001 14:14:03 +0000 (14:14 +0000)]
Use inttypes.h

23 years ago#include <string.h> for memset
Patrick Caulfield [Thu, 15 Nov 2001 11:46:00 +0000 (11:46 +0000)]
#include <string.h> for memset

23 years agoMore LV-related tidying. lvdisplay without args now shows all LVs.
Alasdair Kergon [Wed, 14 Nov 2001 18:38:07 +0000 (18:38 +0000)]
More LV-related tidying.  lvdisplay without args now shows all LVs.

23 years agoAvoid generating duplicate lv names
Alasdair Kergon [Wed, 14 Nov 2001 14:12:01 +0000 (14:12 +0000)]
Avoid generating duplicate lv names

23 years agoMiscellaneous tidying
Alasdair Kergon [Wed, 14 Nov 2001 13:52:38 +0000 (13:52 +0000)]
Miscellaneous tidying

23 years agoo lvcreate no longer needs the explicit -n flag
Joe Thornber [Wed, 14 Nov 2001 12:07:37 +0000 (12:07 +0000)]
o  lvcreate no longer needs the explicit -n flag

o  disabled zeroing of lv until bug's worked out

23 years agoo Prefix static var with '_'
Joe Thornber [Wed, 14 Nov 2001 10:44:14 +0000 (10:44 +0000)]
o  Prefix static var with '_'

23 years agoo Added dev_open and dev_close functions
Joe Thornber [Wed, 14 Nov 2001 10:01:52 +0000 (10:01 +0000)]
o  Added dev_open and dev_close functions

o  Changed disk-rep to use these

o  if NDEBUG is not defined the dev_cache will check for open devices on
   teardown.

I was hoping this would speed things up.  But I'm still getting:

reti:/home/joe/sistina/LVM2/tools# time ./lvm vgchange -a n
  Volume group vg0 successfully changed

real    0m5.751s
user    0m0.060s
sys     0m0.070s

even though I have only 1 device with the vg on it passing the filters.

23 years agoo Deal with sparse lv arrays (on disk)
Joe Thornber [Tue, 13 Nov 2001 18:52:52 +0000 (18:52 +0000)]
o  Deal with sparse lv arrays (on disk)

o  new fn. dev_zero which zero's an area of a device

23 years agoo lvdisplay now shows LE / PV map
Alasdair Kergon [Tue, 13 Nov 2001 17:53:06 +0000 (17:53 +0000)]
o lvdisplay now shows LE / PV map
o fix LE allocation when first PV is full
o reduce VG free_count when removing PVs from VG

23 years agoo Put underscore between vg and lv name.
Joe Thornber [Tue, 13 Nov 2001 16:14:54 +0000 (16:14 +0000)]
o  Put underscore between vg and lv name.

23 years agoMerge lvreduce & lvextend into lvresize.
Alasdair Kergon [Tue, 13 Nov 2001 14:17:50 +0000 (14:17 +0000)]
Merge lvreduce & lvextend into lvresize.

23 years agoo Stuff
Joe Thornber [Mon, 12 Nov 2001 19:28:50 +0000 (19:28 +0000)]
o  Stuff

23 years agoo Add ALLOC_SIMPLE
Joe Thornber [Mon, 12 Nov 2001 17:55:05 +0000 (17:55 +0000)]
o  Add ALLOC_SIMPLE

23 years agoRemove hard-coding and create device-mapper directory if required
Alasdair Kergon [Mon, 12 Nov 2001 17:21:25 +0000 (17:21 +0000)]
Remove hard-coding and create device-mapper directory if required

23 years agoo if any pattern rejects a device, and there were no accepts then reject !
Joe Thornber [Mon, 12 Nov 2001 17:06:33 +0000 (17:06 +0000)]
o  if any pattern rejects a device, and there were no accepts then reject !

23 years agoo check result of an allocation
Joe Thornber [Mon, 12 Nov 2001 16:00:52 +0000 (16:00 +0000)]
o  check result of an allocation

23 years agoiospace restructured
Alasdair Kergon [Mon, 12 Nov 2001 15:10:01 +0000 (15:10 +0000)]
iospace restructured

23 years agoo add fs.c to the Makefile
Joe Thornber [Mon, 12 Nov 2001 13:02:06 +0000 (13:02 +0000)]
o  add fs.c to the Makefile

23 years agoo add uplink from vg to cmd_context
Joe Thornber [Mon, 12 Nov 2001 12:23:10 +0000 (12:23 +0000)]
o  add uplink from vg to cmd_context

23 years agoo Plug in fs_(add|del)_lv
Joe Thornber [Mon, 12 Nov 2001 12:20:58 +0000 (12:20 +0000)]
o  Plug in fs_(add|del)_lv

23 years agoo Split struct io_space into:
Joe Thornber [Mon, 12 Nov 2001 12:16:57 +0000 (12:16 +0000)]
o  Split struct io_space into:

   struct format_handler - format methods
   struct format_instance - links instance data, methods, and cmd
   struct cmd_context - dev_dir, memory allocator, device filter

23 years agoo Compile errors
Joe Thornber [Mon, 12 Nov 2001 11:48:31 +0000 (11:48 +0000)]
o  Compile errors

23 years agoo Ready for testing
Joe Thornber [Mon, 12 Nov 2001 11:42:29 +0000 (11:42 +0000)]
o  Ready for testing

23 years ago o Fix module ref counts so that you can actually unload dm-mod
Steven Whitehouse [Sat, 10 Nov 2001 17:11:36 +0000 (17:11 +0000)]
 o Fix module ref counts so that you can actually unload dm-mod
   N.B. This means that you have to take very great care in the event that
   you want to access the dcache tree from in kernel

 o Added extra field to allow out of memory conditions to result in the
   correct error code. (This hasn't received a lot of testing...)

I've ditched the final project (which would have cleared my whole list)
since its got other complications which I don't have time to fix right
now. Still as Meatloaf says, two out of three ain't bad!

23 years agoo Added lvextend
Alasdair Kergon [Fri, 9 Nov 2001 22:01:04 +0000 (22:01 +0000)]
o Added lvextend
o Full signed arguments to lvreduce/lvextend
o Consistent lv_number/pe map use
o Populate pv->pe_allocated
o Fixes for allocation/writing of multiple LVs

23 years agosync only, not ready yet
Joe Thornber [Fri, 9 Nov 2001 08:48:22 +0000 (08:48 +0000)]
sync only, not ready yet

23 years agolvdisplay & lvreduce
Alasdair Kergon [Thu, 8 Nov 2001 16:15:58 +0000 (16:15 +0000)]
lvdisplay & lvreduce

23 years agomore todo
Heinz Mauelshagen [Thu, 8 Nov 2001 08:19:06 +0000 (08:19 +0000)]
more todo

23 years agoo Always set LVM_READ.
Alasdair Kergon [Wed, 7 Nov 2001 22:47:43 +0000 (22:47 +0000)]
o Always set LVM_READ.
o Avoid duplicate deallocation.

23 years agoOops. Forgot to check this in earlier. Changes as per previous check in
Steven Whitehouse [Wed, 7 Nov 2001 19:27:17 +0000 (19:27 +0000)]
Oops. Forgot to check this in earlier. Changes as per previous check in
comments.

23 years agoo more todo
Joe Thornber [Wed, 7 Nov 2001 17:38:25 +0000 (17:38 +0000)]
o  more todo

23 years agoo Lot's to do
Joe Thornber [Wed, 7 Nov 2001 17:25:17 +0000 (17:25 +0000)]
o  Lot's to do

23 years agoo Added lvs_in_vgs_opened
Joe Thornber [Wed, 7 Nov 2001 15:02:07 +0000 (15:02 +0000)]
o  Added lvs_in_vgs_opened

23 years agoo pool_empty was very wrong
Joe Thornber [Wed, 7 Nov 2001 14:11:20 +0000 (14:11 +0000)]
o  pool_empty was very wrong

23 years agoTidy and changes to make code smaller.
Steven Whitehouse [Wed, 7 Nov 2001 12:12:56 +0000 (12:12 +0000)]
Tidy and changes to make code smaller.

 o Created dmfs.h as a private header for the filesystem code
 o Using seq_file.[ch] written by Al Viro as a generic mechanism for /proc
   style files which have one record per line. We use a slight modification
   here, so if you are using a recent -ac kernel you'll need to replace the
   existing seq_file.[ch] with  the ones here and do a bit of editing to make
   it work. I'll submit the changes to Al Viro shortly as they are very
   small and I think make sense generally.
 o Using fail_writepage()
 o Init code for filesystem now all in dmfs-super.c
 o Some common code reduction amoung the dmfs-*.c files
 o Auto allocation of major device number (default). You can specify a
   particular major by using a module argument. If built in then you don't
   get this option at the moment but it could be added if required.
 o Hotplug support
 o General tidying
 o Updated projects.txt file
 o Patches updated to 2.4.14

23 years agoo Another pass at the activation code
Joe Thornber [Wed, 7 Nov 2001 11:51:42 +0000 (11:51 +0000)]
o  Another pass at the activation code

23 years agoAdded GPL disclaimer
Heinz Mauelshagen [Wed, 7 Nov 2001 08:50:07 +0000 (08:50 +0000)]
Added GPL disclaimer

23 years agolvcreate
Alasdair Kergon [Tue, 6 Nov 2001 19:02:26 +0000 (19:02 +0000)]
lvcreate

23 years agoo lv_extend
Joe Thornber [Tue, 6 Nov 2001 12:01:46 +0000 (12:01 +0000)]
o  lv_extend

23 years agoo Factor _allocate out for use by lv_extend
Joe Thornber [Tue, 6 Nov 2001 11:31:29 +0000 (11:31 +0000)]
o  Factor _allocate out for use by lv_extend

23 years agoo lv_reduce
Joe Thornber [Tue, 6 Nov 2001 11:19:33 +0000 (11:19 +0000)]
o  lv_reduce

o  pv_maps wasn't taking a list of acceptable pvs

23 years agoo Contiguous allocation
Joe Thornber [Tue, 6 Nov 2001 10:55:01 +0000 (10:55 +0000)]
o  Contiguous allocation

23 years agoo lv_manip.c will contain the code for lv_create, lv_extend and lv_reduce.
Joe Thornber [Tue, 6 Nov 2001 10:29:56 +0000 (10:29 +0000)]
o  lv_manip.c will contain the code for lv_create, lv_extend and lv_reduce.

23 years agoReinstate size of lv
Alasdair Kergon [Mon, 5 Nov 2001 18:07:44 +0000 (18:07 +0000)]
Reinstate size of lv

23 years agoo code for building free area lists on a pv. Compiles but not run.
Joe Thornber [Mon, 5 Nov 2001 16:41:38 +0000 (16:41 +0000)]
o  code for building free area lists on a pv.  Compiles but not run.

23 years agoo adjacent extents are now merged into a single target when activating.
Joe Thornber [Mon, 5 Nov 2001 13:37:13 +0000 (13:37 +0000)]
o  adjacent extents are now merged into a single target when activating.

23 years agolvcreate prototype
Alasdair Kergon [Mon, 5 Nov 2001 13:06:03 +0000 (13:06 +0000)]
lvcreate prototype

23 years agoo build lv name from <vg>_<lv>
Joe Thornber [Fri, 2 Nov 2001 16:45:44 +0000 (16:45 +0000)]
o build lv name from <vg>_<lv>

23 years agoLink in the activation library.
Alasdair Kergon [Fri, 2 Nov 2001 16:28:04 +0000 (16:28 +0000)]
Link in the activation library.

23 years agoo First pass at activation
Joe Thornber [Fri, 2 Nov 2001 13:45:05 +0000 (13:45 +0000)]
o  First pass at activation

23 years agoo Changes to activation interface
Alasdair Kergon [Wed, 31 Oct 2001 17:59:52 +0000 (17:59 +0000)]
o Changes to activation interface
o Add pointer lv->vg
o Some naming tweaks to improve clarity

23 years agoo LGPL list implementation
Joe Thornber [Wed, 31 Oct 2001 12:47:01 +0000 (12:47 +0000)]
o  LGPL list implementation

23 years agoo random little fixes
Joe Thornber [Tue, 30 Oct 2001 17:53:21 +0000 (17:53 +0000)]
o  random little fixes

23 years agolvchange
Alasdair Kergon [Tue, 30 Oct 2001 14:32:48 +0000 (14:32 +0000)]
lvchange

23 years agobasic lvscan
Alasdair Kergon [Mon, 29 Oct 2001 18:23:35 +0000 (18:23 +0000)]
basic lvscan

23 years agoo Add read_ahead and stripes to struct logical_volume
Joe Thornber [Mon, 29 Oct 2001 15:34:56 +0000 (15:34 +0000)]
o  Add read_ahead and stripes to struct logical_volume

23 years agoprefix & vgname in lvname
Alasdair Kergon [Mon, 29 Oct 2001 15:28:00 +0000 (15:28 +0000)]
prefix & vgname in lvname

23 years agolvremove
Alasdair Kergon [Mon, 29 Oct 2001 13:52:23 +0000 (13:52 +0000)]
lvremove

23 years ago o Added two items which ought to be done when we update to 2.4.14-pre3 or
Steven Whitehouse [Mon, 29 Oct 2001 11:06:46 +0000 (11:06 +0000)]
 o Added two items which ought to be done when we update to 2.4.14-pre3 or
   above.

23 years ago o Added a file containing a TODO list.
Steven Whitehouse [Mon, 29 Oct 2001 10:03:05 +0000 (10:03 +0000)]
 o Added a file containing a TODO list.

Please add to/edit this file as you think of new ideas or discover bugs. The
items in it are in no particular order. They are also only ideas and hence may
never get implemented depending on whether they turn out to be good ideas or
not.

23 years agoo rfilter was no longer accepting by default
Joe Thornber [Thu, 25 Oct 2001 18:12:44 +0000 (18:12 +0000)]
o  rfilter was no longer accepting by default

23 years agoo log/overwrite=1 in config file to overwrite instead of append to log
Alasdair Kergon [Thu, 25 Oct 2001 17:25:48 +0000 (17:25 +0000)]
o log/overwrite=1 in config file to overwrite instead of append to log

23 years agoo was freeing memory from the wrong pool
Joe Thornber [Thu, 25 Oct 2001 15:24:35 +0000 (15:24 +0000)]
o was freeing memory from the wrong pool

23 years agoo fopen error message
Alasdair Kergon [Thu, 25 Oct 2001 15:07:26 +0000 (15:07 +0000)]
o fopen error message
o debug options in makefile

23 years agoo pfilter stores results for all aliases.
Joe Thornber [Thu, 25 Oct 2001 14:51:51 +0000 (14:51 +0000)]
o  pfilter stores results for all aliases.

23 years agoo It's a bit of a hack, but the regex filter now makes sure a device path
Joe Thornber [Thu, 25 Oct 2001 14:41:28 +0000 (14:41 +0000)]
o  It's a bit of a hack, but the regex filter now makes sure a device path
   that passed the filter is at the front of the aliases list.

23 years agoo rfilter now checks all aliases for a match
Joe Thornber [Thu, 25 Oct 2001 14:19:39 +0000 (14:19 +0000)]
o  rfilter now checks all aliases for a match

23 years agoo use dev_name(dev) to get the name of a device, this operation is cheap
Joe Thornber [Thu, 25 Oct 2001 14:04:18 +0000 (14:04 +0000)]
o use dev_name(dev) to get the name of a device, this operation is cheap
  since it just get's the first alias.

23 years agoo Remove a couple of warnings, and one bug in ttree. Spotted by the optimiser
Joe Thornber [Thu, 25 Oct 2001 13:08:29 +0000 (13:08 +0000)]
o  Remove a couple of warnings, and one bug in ttree.  Spotted by the optimiser

23 years agoo Shuffle the keys to stop degeneracy.
Joe Thornber [Thu, 25 Oct 2001 12:38:18 +0000 (12:38 +0000)]
o  Shuffle the keys to stop degeneracy.

23 years agoo Trivial binary tree
Joe Thornber [Thu, 25 Oct 2001 11:38:19 +0000 (11:38 +0000)]
o  Trivial binary tree

23 years agoo added aliases list to struct device.
Joe Thornber [Thu, 25 Oct 2001 11:34:55 +0000 (11:34 +0000)]
o added aliases list to struct device.

23 years ago o Correction in logic for write access to tables
Steven Whitehouse [Thu, 25 Oct 2001 11:05:29 +0000 (11:05 +0000)]
 o Correction in logic for write access to tables

23 years ago o Fix typos from yesterday
Steven Whitehouse [Thu, 25 Oct 2001 10:37:05 +0000 (10:37 +0000)]
 o Fix typos from yesterday

23 years agoo Merged common code between hash_destroy and hash_wipe.
Joe Thornber [Thu, 25 Oct 2001 08:31:43 +0000 (08:31 +0000)]
o Merged common code between hash_destroy and hash_wipe.

23 years agopersistent cache fully incorporated. Goodbye to scanning /dev/cdrom :-)
Alasdair Kergon [Wed, 24 Oct 2001 17:53:50 +0000 (17:53 +0000)]
persistent cache fully incorporated.  Goodbye to scanning /dev/cdrom :-)

23 years agoo Updated 00_makefile
Joe Thornber [Wed, 24 Oct 2001 10:52:10 +0000 (10:52 +0000)]
o Updated 00_makefile

o 00_bh-async-3 has been merge with vanilla

23 years ago o Error list handling now part of fs rather than part of table.
Steven Whitehouse [Wed, 24 Oct 2001 08:26:10 +0000 (08:26 +0000)]
 o Error list handling now part of fs rather than part of table.

23 years ago o Fix bug in dmfs-error.c where it could return too many bytes under some
Steven Whitehouse [Wed, 24 Oct 2001 07:51:42 +0000 (07:51 +0000)]
 o Fix bug in dmfs-error.c where it could return too many bytes under some
   circumstances.
 o Use sscanf() in dmfs-table.c
 o Use do_generic_file_read() instead of original hand made loop in dmfs-table.c

23 years agopersistent filter & some log message changes
Alasdair Kergon [Tue, 23 Oct 2001 18:20:27 +0000 (18:20 +0000)]
persistent filter & some log message changes

23 years agoo removed old files
Joe Thornber [Tue, 23 Oct 2001 14:17:07 +0000 (14:17 +0000)]
o removed old files

23 years agoo forgot to use the path passed into _read_array.
Joe Thornber [Tue, 23 Oct 2001 13:12:05 +0000 (13:12 +0000)]
o forgot to use the path passed into _read_array.

23 years agoo test program for the new persistent filter.
Joe Thornber [Tue, 23 Oct 2001 13:11:28 +0000 (13:11 +0000)]
o test program for the new persistent filter.

23 years agodeallocations
Alasdair Kergon [Tue, 23 Oct 2001 12:33:57 +0000 (12:33 +0000)]
deallocations

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