]> sourceware.org Git - lvm2.git/log
lvm2.git
22 years agoreinstate a removed line
Alasdair Kergon [Mon, 22 Oct 2001 13:44:09 +0000 (13:44 +0000)]
reinstate a removed line

22 years agoo removed 00_latest since it never is.
Joe Thornber [Mon, 22 Oct 2001 10:03:05 +0000 (10:03 +0000)]
o removed 00_latest since it never is.

22 years agoo tidying
Joe Thornber [Sun, 21 Oct 2001 10:24:10 +0000 (10:24 +0000)]
o tidying

22 years agoo Filter for the dev cache that takes values from config file:
Joe Thornber [Fri, 19 Oct 2001 18:20:37 +0000 (18:20 +0000)]
o Filter for the dev cache that takes values from config file:

devices {

        # first match is final, eg.  /dev/ide/cdrom
        # get's rejected due to the first pattern

filter=["r/cdrom/",         # don't touch the music !
"a/hd[a-d][0-9]+/",
"a/ide/",
"a/sd/",
"a/md/",
"a|loop/[0-9]+|", # accept devfs style loop back
"r/loop/",        # and reject old style
"a/dasd/",
"a/dac960/",
"a/nbd/",
"a/ida/",
"a/cciss/",
"a/ubd/",
"r/.*/"] # reject all others
}

Alasdair this is ready to roll into the tools now.

22 years agoo First pass at the regex code. lib/regex/matcher takes an array of regex's
Joe Thornber [Fri, 19 Oct 2001 14:36:57 +0000 (14:36 +0000)]
o First pass at the regex code.  lib/regex/matcher takes an array of regex's
  and builds a *very* efficient engine that will tell you which regex a string
  matches with only a single pass through the string.  To be used in the config
  file when specifying devices.

o Anchor's aren't supported yet (^ and $) but that won't take long.

o Also when we get some realistic config files we may want to consider adding an
  extra level of indirection to the dfa state in order to compress the table.
  It all depends on how large typical tables get.

22 years agopvdisplay
Alasdair Kergon [Thu, 18 Oct 2001 16:55:19 +0000 (16:55 +0000)]
pvdisplay

22 years ago o Remove unused variable.
Steven Whitehouse [Thu, 18 Oct 2001 15:59:25 +0000 (15:59 +0000)]
 o Remove unused variable.

22 years agopvchange
Alasdair Kergon [Wed, 17 Oct 2001 15:29:31 +0000 (15:29 +0000)]
pvchange

22 years ago o Fix crash that Patrick reported
Steven Whitehouse [Wed, 17 Oct 2001 15:03:00 +0000 (15:03 +0000)]
 o Fix crash that Patrick reported

22 years ago o Fix a typo. This should fix devfs support.
Steven Whitehouse [Wed, 17 Oct 2001 14:34:53 +0000 (14:34 +0000)]
 o Fix a typo. This should fix devfs support.

22 years ago o Patches to go with earlier check in
Steven Whitehouse [Wed, 17 Oct 2001 13:13:25 +0000 (13:13 +0000)]
 o Patches to go with earlier check in

22 years agoOk. this is the big one.... the change to the new fs interface.
Steven Whitehouse [Wed, 17 Oct 2001 11:34:50 +0000 (11:34 +0000)]
Ok. this is the big one.... the change to the new fs interface.

Things to note:

 o Changes to the dm-*.c files have been kept as small as possible during
   the development of the new fs interface and there are a few places where
   the new code does odd things to give the original code what it wants. These
   places will gradually go away during the next few days once we are sure the
   new code is sound.
 o I've spent most of my testing time looking at the parser since thats where
   a lot of the changes are, I've not checked the actual I/O very much, but
   then that code hasn't changed at all.
 o The print operation in the target type operations is there to help in
   debugging and will go away eventually
 o There are some other printk's which will also go away once we are sure that
   things are working correctly.
 o I've tagged the old code with PRE_DMFS if you want to use that until this is
   stable.
 o There are no kernel patches for this yet (will fix after lunch... :-)
      o Makefile needs some changes
      o need to EXPORT_SYMBOL(deny_write_access); in ksyms.c

How to use the new interface ?

 mount -t dmfs dmfs /mnt/dm
 cd /mnt/dm
 mkdir fish fish/tank
 cd fish/tank
 cat ~/my.table > table
 cd ..
 ln -s tank ACTIVE

Creates a logical volume called fish and activates a table called tank, if
there is a problem doing the link, look in /mnt/dm/fish/tank/errors to see
what is wrong.

If you see any odd things happening, let me know right away as I'm sure there'll
be one or two things that slipped through my testing.

22 years ago o Update to parser
Steven Whitehouse [Wed, 17 Oct 2001 11:09:43 +0000 (11:09 +0000)]
 o Update to parser
 o Extra checks in symlink routines

22 years agopvscan
Alasdair Kergon [Tue, 16 Oct 2001 18:07:54 +0000 (18:07 +0000)]
pvscan

22 years ago o Fixed infinite loop in parser
Steven Whitehouse [Tue, 16 Oct 2001 17:09:27 +0000 (17:09 +0000)]
 o Fixed infinite loop in parser
 o Fixed error handling whilst creating volumes
 o General tidy up

22 years agovgchange
Alasdair Kergon [Tue, 16 Oct 2001 16:25:28 +0000 (16:25 +0000)]
vgchange

22 years ago o Get file size correct for table
Steven Whitehouse [Tue, 16 Oct 2001 12:17:54 +0000 (12:17 +0000)]
 o Get file size correct for table
 o Make parser look at the right object

22 years ago o Fixes to parsing code
Steven Whitehouse [Tue, 16 Oct 2001 11:56:55 +0000 (11:56 +0000)]
 o Fixes to parsing code

22 years ago o Tidy up, removing debugging printk's no longer needed
Steven Whitehouse [Tue, 16 Oct 2001 10:38:13 +0000 (10:38 +0000)]
 o Tidy up, removing debugging printk's no longer needed

22 years ago o More bug fixes
Steven Whitehouse [Mon, 15 Oct 2001 22:39:14 +0000 (22:39 +0000)]
 o More bug fixes

22 years agovgextend
Alasdair Kergon [Mon, 15 Oct 2001 22:04:27 +0000 (22:04 +0000)]
vgextend

22 years agovgcreate basic extent size validation
Alasdair Kergon [Mon, 15 Oct 2001 20:29:15 +0000 (20:29 +0000)]
vgcreate basic extent size validation

22 years agoMore vgcreate error trapping
Alasdair Kergon [Mon, 15 Oct 2001 18:39:40 +0000 (18:39 +0000)]
More vgcreate error trapping

22 years ago o More fixes
Steven Whitehouse [Mon, 15 Oct 2001 16:40:17 +0000 (16:40 +0000)]
 o More fixes

22 years agoo lvm readline error-case tidy-up
Alasdair Kergon [Mon, 15 Oct 2001 12:49:58 +0000 (12:49 +0000)]
o lvm readline error-case tidy-up
o more vgcreate error cases

22 years ago o Some bug fixes
Steven Whitehouse [Mon, 15 Oct 2001 11:31:00 +0000 (11:31 +0000)]
 o Some bug fixes
 o Added symlink ops
 o Some extra sanity checks

22 years agoo vgcreate
Joe Thornber [Fri, 12 Oct 2001 14:25:53 +0000 (14:25 +0000)]
o vgcreate

22 years agovgcreate
Alasdair Kergon [Fri, 12 Oct 2001 12:21:43 +0000 (12:21 +0000)]
vgcreate

22 years agoo make ios the first argument to pv_create
Joe Thornber [Fri, 12 Oct 2001 10:52:32 +0000 (10:52 +0000)]
o make ios the first argument to pv_create

22 years agoo lift call to check out of pvcreate_single
Joe Thornber [Fri, 12 Oct 2001 10:45:04 +0000 (10:45 +0000)]
o lift call to check out of pvcreate_single

22 years agoo rename _single pvcreate_signle
Joe Thornber [Fri, 12 Oct 2001 10:43:36 +0000 (10:43 +0000)]
o rename _single pvcreate_signle

22 years agoo made _single static
Joe Thornber [Fri, 12 Oct 2001 10:42:31 +0000 (10:42 +0000)]
o made _single static

22 years agoo pvcreate
Joe Thornber [Fri, 12 Oct 2001 10:32:06 +0000 (10:32 +0000)]
o pvcreate

o added uuid unit

o stubbed partition stuff

22 years ago o Further tidyups and fixes.
Steven Whitehouse [Fri, 12 Oct 2001 10:06:40 +0000 (10:06 +0000)]
 o Further tidyups and fixes.

22 years agosync
Alasdair Kergon [Fri, 12 Oct 2001 09:52:30 +0000 (09:52 +0000)]
sync

22 years agovgreduce, vgremove, vgrename & vgscan
Alasdair Kergon [Thu, 11 Oct 2001 21:35:55 +0000 (21:35 +0000)]
vgreduce, vgremove, vgrename & vgscan

22 years agoSome more sync ups
Steven Whitehouse [Thu, 11 Oct 2001 20:29:00 +0000 (20:29 +0000)]
Some more sync ups
 o Error file routines (initial idea)
 o Various fixes for bugs
 o Tidy a few things
 o Added a bit of debugging code ready for when this gets tested
 o get_exclusive_write_access() function which will get moved into namei.c
   I hope (and rewritten accordingly), should this become the final version
   used.

Still a few more areas need thinking about, but in general much closer now I
think. Last area to sort out before testing is the symlink code which is
pretty close now... just a few more checks needed and the actual calls to
the core code.

22 years agoo try incrementing pv_number from 1
Joe Thornber [Thu, 11 Oct 2001 16:31:09 +0000 (16:31 +0000)]
o try incrementing pv_number from 1

22 years agoo if contained &= instad of &
Joe Thornber [Thu, 11 Oct 2001 15:09:31 +0000 (15:09 +0000)]
o if contained &= instad of &

22 years agoo initalise list_heads, initialise list_heads, initi ..
Joe Thornber [Thu, 11 Oct 2001 14:21:38 +0000 (14:21 +0000)]
o initalise list_heads, initialise list_heads, initi ..

22 years agoo a very quick hack to get vg_number right
Joe Thornber [Thu, 11 Oct 2001 14:10:18 +0000 (14:10 +0000)]
o a very quick hack to get vg_number right

22 years agoo set PV_ALLOCATABLE flag correctly
Joe Thornber [Thu, 11 Oct 2001 13:34:17 +0000 (13:34 +0000)]
o set PV_ALLOCATABLE flag correctly

22 years agoo pv->system_id
Joe Thornber [Thu, 11 Oct 2001 13:22:51 +0000 (13:22 +0000)]
o pv->system_id

22 years agoo vg->pv_act
Joe Thornber [Thu, 11 Oct 2001 13:05:55 +0000 (13:05 +0000)]
o vg->pv_act

22 years agoo calculate pv_numbers and lv_numbers for LVM1 support
Joe Thornber [Thu, 11 Oct 2001 10:55:19 +0000 (10:55 +0000)]
o calculate pv_numbers and lv_numbers for LVM1 support

22 years agoo pe_start wasn't being set properly when exporting to disk
Joe Thornber [Thu, 11 Oct 2001 10:08:44 +0000 (10:08 +0000)]
o pe_start wasn't being set properly when exporting to disk

o added a check for lv's with null lv_name

o setup pv->lv_cur correctly

o test program for vg_write

22 years ago o Everybody needs dm.h
Steven Whitehouse [Wed, 10 Oct 2001 21:49:21 +0000 (21:49 +0000)]
 o Everybody needs dm.h
 o Fixed to work with highmem
 o Added dmfs private inode struct for lv and table directories
 o Fixed a number of errors/typos
 o Status file read returns 0 so we can leave this until we've actually got
   something to report in this now.
 o New locking on tables.... still some issues to be worked out here but
   closer now I think.
 o Now use mapping of table directory to hold pages rather than mapping of
   table file inode. Need to write a note to myself to fix issues with the
   file length at the same time....

Well thats enough for tonight I think. The error file will be part of
tomorrows work.

22 years agoo sync
Joe Thornber [Wed, 10 Oct 2001 17:11:31 +0000 (17:11 +0000)]
o sync

22 years agostandardise some log messages
Alasdair Kergon [Wed, 10 Oct 2001 16:36:32 +0000 (16:36 +0000)]
standardise some log messages

22 years agoo builds a very sub-optimal table
Joe Thornber [Wed, 10 Oct 2001 15:30:31 +0000 (15:30 +0000)]
o builds a very sub-optimal table

22 years agoo allocate and zero the extents before exporting the lv's
Joe Thornber [Wed, 10 Oct 2001 14:56:53 +0000 (14:56 +0000)]
o allocate and zero the extents before exporting the lv's

22 years agoo zero all of uuid
Joe Thornber [Wed, 10 Oct 2001 13:33:20 +0000 (13:33 +0000)]
o zero all of uuid

22 years agoo uuid_list->id should be NAME_LEN wide
Joe Thornber [Wed, 10 Oct 2001 13:30:58 +0000 (13:30 +0000)]
o uuid_list->id should be NAME_LEN wide

22 years agoo sizeof(NAME_LEN), don't do that
Joe Thornber [Wed, 10 Oct 2001 13:24:16 +0000 (13:24 +0000)]
o sizeof(NAME_LEN), don't do that

22 years agoo forgot to init a list head
Joe Thornber [Wed, 10 Oct 2001 13:09:40 +0000 (13:09 +0000)]
o forgot to init a list head

22 years agoo dev_write
Joe Thornber [Wed, 10 Oct 2001 13:03:10 +0000 (13:03 +0000)]
o dev_write

22 years agoTidy metadata diagnostic messages.
Alasdair Kergon [Wed, 10 Oct 2001 12:45:20 +0000 (12:45 +0000)]
Tidy metadata diagnostic messages.

22 years agoo return data not 1 in read_ov
Joe Thornber [Wed, 10 Oct 2001 12:42:03 +0000 (12:42 +0000)]
o return data not 1 in read_ov

22 years agoo check for orphaned pv's when reading
Joe Thornber [Wed, 10 Oct 2001 12:28:10 +0000 (12:28 +0000)]
o check for orphaned pv's when reading

22 years agoo pv_setup for format1, this is the last one !
Joe Thornber [Wed, 10 Oct 2001 10:55:55 +0000 (10:55 +0000)]
o pv_setup for format1, this is the last one !

22 years agoo AC_INIT was pointing to an old file
Joe Thornber [Wed, 10 Oct 2001 10:11:25 +0000 (10:11 +0000)]
o AC_INIT was pointing to an old file

22 years agoo metadata.h was in here twice
Joe Thornber [Wed, 10 Oct 2001 10:09:12 +0000 (10:09 +0000)]
o metadata.h was in here twice

22 years agoo pv_write for orphan pv's
Joe Thornber [Wed, 10 Oct 2001 10:05:29 +0000 (10:05 +0000)]
o pv_write for orphan pv's

22 years agoo add munging for format1 and 2
Joe Thornber [Wed, 10 Oct 2001 09:36:29 +0000 (09:36 +0000)]
o add munging for format1 and 2

22 years agoo Code to calculate the metadata layout.
Joe Thornber [Wed, 10 Oct 2001 09:25:04 +0000 (09:25 +0000)]
o Code to calculate the metadata layout.

22 years agoo stub pv_write to stop tools crashing
Joe Thornber [Tue, 9 Oct 2001 17:44:58 +0000 (17:44 +0000)]
o stub pv_write to stop tools crashing

22 years agoo fix seg fault while reading extents
Joe Thornber [Tue, 9 Oct 2001 17:36:48 +0000 (17:36 +0000)]
o fix seg fault while reading extents

22 years agoo remove another spurious error message
Joe Thornber [Tue, 9 Oct 2001 17:30:20 +0000 (17:30 +0000)]
o remove another spurious error message

22 years agoo vgremove.
Alasdair Kergon [Tue, 9 Oct 2001 17:20:02 +0000 (17:20 +0000)]
o vgremove.
o filter devices by major.

22 years agoo spot empty list in build_vg
Joe Thornber [Tue, 9 Oct 2001 17:09:46 +0000 (17:09 +0000)]
o spot empty list in build_vg

22 years agoo proposed interface to the kernel driver
Joe Thornber [Tue, 9 Oct 2001 16:44:30 +0000 (16:44 +0000)]
o proposed interface to the kernel driver

22 years agoo dev-mgr disappears
Joe Thornber [Tue, 9 Oct 2001 16:13:12 +0000 (16:13 +0000)]
o dev-mgr disappears

22 years agoo change pv_read to take a name rather than a device
Joe Thornber [Tue, 9 Oct 2001 16:05:34 +0000 (16:05 +0000)]
o change pv_read to take a name rather than a device

22 years agoo remove spurious log message
Joe Thornber [Tue, 9 Oct 2001 14:42:58 +0000 (14:42 +0000)]
o remove spurious log message

22 years agoo hack, hack, hack
Joe Thornber [Tue, 9 Oct 2001 14:26:45 +0000 (14:26 +0000)]
o hack, hack, hack

22 years agoo vg_write compiles
Joe Thornber [Tue, 9 Oct 2001 10:47:52 +0000 (10:47 +0000)]
o vg_write compiles

22 years agoo get_vgs works
Joe Thornber [Tue, 9 Oct 2001 09:22:50 +0000 (09:22 +0000)]
o get_vgs works

22 years agoo pv_Read works
Joe Thornber [Tue, 9 Oct 2001 08:58:52 +0000 (08:58 +0000)]
o pv_Read works

22 years agoo get_pvs now works for format 1
Joe Thornber [Tue, 9 Oct 2001 08:11:52 +0000 (08:11 +0000)]
o get_pvs now works for format 1

22 years agovgrename & vgck
Alasdair Kergon [Mon, 8 Oct 2001 18:44:22 +0000 (18:44 +0000)]
vgrename & vgck

22 years agoo test program for get_pvs
Joe Thornber [Mon, 8 Oct 2001 18:09:31 +0000 (18:09 +0000)]
o test program for get_pvs

22 years agoo get_pvs for format 1
Joe Thornber [Mon, 8 Oct 2001 17:53:43 +0000 (17:53 +0000)]
o get_pvs for format 1

o fix vg_read if vg doesn't exist

22 years agoo added pretty printing to read_vg_t, run this on your system
Joe Thornber [Mon, 8 Oct 2001 17:28:49 +0000 (17:28 +0000)]
o added pretty printing to read_vg_t, run this on your system
  to see what vg's you've got

S: ----------------------------------------------------------------------

22 years agoo read_vg works (or so it claims)
Joe Thornber [Mon, 8 Oct 2001 16:08:16 +0000 (16:08 +0000)]
o read_vg works (or so it claims)

22 years agoo dev_cache_t program works
Joe Thornber [Mon, 8 Oct 2001 13:58:52 +0000 (13:58 +0000)]
o dev_cache_t program works

22 years agoo sync
Joe Thornber [Mon, 8 Oct 2001 12:11:33 +0000 (12:11 +0000)]
o sync

22 years agoo we were stu\7fill building dev-mgr files
Joe Thornber [Mon, 8 Oct 2001 10:35:59 +0000 (10:35 +0000)]
o we were stu\7fill building dev-mgr files

22 years agoo read_vg_t compiles
Joe Thornber [Mon, 8 Oct 2001 10:20:25 +0000 (10:20 +0000)]
o read_vg_t compiles

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

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