]>
sourceware.org Git - lvm2.git/log
Alasdair Kergon [Mon, 22 Oct 2001 13:44:09 +0000 (13:44 +0000)]
reinstate a removed line
Joe Thornber [Mon, 22 Oct 2001 10:03:05 +0000 (10:03 +0000)]
o removed 00_latest since it never is.
Joe Thornber [Sun, 21 Oct 2001 10:24:10 +0000 (10:24 +0000)]
o tidying
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.
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.
Alasdair Kergon [Thu, 18 Oct 2001 16:55:19 +0000 (16:55 +0000)]
pvdisplay
Steven Whitehouse [Thu, 18 Oct 2001 15:59:25 +0000 (15:59 +0000)]
o Remove unused variable.
Alasdair Kergon [Wed, 17 Oct 2001 15:29:31 +0000 (15:29 +0000)]
pvchange
Steven Whitehouse [Wed, 17 Oct 2001 15:03:00 +0000 (15:03 +0000)]
o Fix crash that Patrick reported
Steven Whitehouse [Wed, 17 Oct 2001 14:34:53 +0000 (14:34 +0000)]
o Fix a typo. This should fix devfs support.
Steven Whitehouse [Wed, 17 Oct 2001 13:13:25 +0000 (13:13 +0000)]
o Patches to go with earlier check in
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.
Steven Whitehouse [Wed, 17 Oct 2001 11:09:43 +0000 (11:09 +0000)]
o Update to parser
o Extra checks in symlink routines
Alasdair Kergon [Tue, 16 Oct 2001 18:07:54 +0000 (18:07 +0000)]
pvscan
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
Alasdair Kergon [Tue, 16 Oct 2001 16:25:28 +0000 (16:25 +0000)]
vgchange
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
Steven Whitehouse [Tue, 16 Oct 2001 11:56:55 +0000 (11:56 +0000)]
o Fixes to parsing code
Steven Whitehouse [Tue, 16 Oct 2001 10:38:13 +0000 (10:38 +0000)]
o Tidy up, removing debugging printk's no longer needed
Steven Whitehouse [Mon, 15 Oct 2001 22:39:14 +0000 (22:39 +0000)]
o More bug fixes
Alasdair Kergon [Mon, 15 Oct 2001 22:04:27 +0000 (22:04 +0000)]
vgextend
Alasdair Kergon [Mon, 15 Oct 2001 20:29:15 +0000 (20:29 +0000)]
vgcreate basic extent size validation
Alasdair Kergon [Mon, 15 Oct 2001 18:39:40 +0000 (18:39 +0000)]
More vgcreate error trapping
Steven Whitehouse [Mon, 15 Oct 2001 16:40:17 +0000 (16:40 +0000)]
o More fixes
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
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
Joe Thornber [Fri, 12 Oct 2001 14:25:53 +0000 (14:25 +0000)]
o vgcreate
Alasdair Kergon [Fri, 12 Oct 2001 12:21:43 +0000 (12:21 +0000)]
vgcreate
Joe Thornber [Fri, 12 Oct 2001 10:52:32 +0000 (10:52 +0000)]
o make ios the first argument to pv_create
Joe Thornber [Fri, 12 Oct 2001 10:45:04 +0000 (10:45 +0000)]
o lift call to check out of pvcreate_single
Joe Thornber [Fri, 12 Oct 2001 10:43:36 +0000 (10:43 +0000)]
o rename _single pvcreate_signle
Joe Thornber [Fri, 12 Oct 2001 10:42:31 +0000 (10:42 +0000)]
o made _single static
Joe Thornber [Fri, 12 Oct 2001 10:32:06 +0000 (10:32 +0000)]
o pvcreate
o added uuid unit
o stubbed partition stuff
Steven Whitehouse [Fri, 12 Oct 2001 10:06:40 +0000 (10:06 +0000)]
o Further tidyups and fixes.
Alasdair Kergon [Fri, 12 Oct 2001 09:52:30 +0000 (09:52 +0000)]
sync
Alasdair Kergon [Thu, 11 Oct 2001 21:35:55 +0000 (21:35 +0000)]
vgreduce, vgremove, vgrename & vgscan
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.
Joe Thornber [Thu, 11 Oct 2001 16:31:09 +0000 (16:31 +0000)]
o try incrementing pv_number from 1
Joe Thornber [Thu, 11 Oct 2001 15:09:31 +0000 (15:09 +0000)]
o if contained &= instad of &
Joe Thornber [Thu, 11 Oct 2001 14:21:38 +0000 (14:21 +0000)]
o initalise list_heads, initialise list_heads, initi ..
Joe Thornber [Thu, 11 Oct 2001 14:10:18 +0000 (14:10 +0000)]
o a very quick hack to get vg_number right
Joe Thornber [Thu, 11 Oct 2001 13:34:17 +0000 (13:34 +0000)]
o set PV_ALLOCATABLE flag correctly
Joe Thornber [Thu, 11 Oct 2001 13:22:51 +0000 (13:22 +0000)]
o pv->system_id
Joe Thornber [Thu, 11 Oct 2001 13:05:55 +0000 (13:05 +0000)]
o vg->pv_act
Joe Thornber [Thu, 11 Oct 2001 10:55:19 +0000 (10:55 +0000)]
o calculate pv_numbers and lv_numbers for LVM1 support
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
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.
Joe Thornber [Wed, 10 Oct 2001 17:11:31 +0000 (17:11 +0000)]
o sync
Alasdair Kergon [Wed, 10 Oct 2001 16:36:32 +0000 (16:36 +0000)]
standardise some log messages
Joe Thornber [Wed, 10 Oct 2001 15:30:31 +0000 (15:30 +0000)]
o builds a very sub-optimal table
Joe Thornber [Wed, 10 Oct 2001 14:56:53 +0000 (14:56 +0000)]
o allocate and zero the extents before exporting the lv's
Joe Thornber [Wed, 10 Oct 2001 13:33:20 +0000 (13:33 +0000)]
o zero all of uuid
Joe Thornber [Wed, 10 Oct 2001 13:30:58 +0000 (13:30 +0000)]
o uuid_list->id should be NAME_LEN wide
Joe Thornber [Wed, 10 Oct 2001 13:24:16 +0000 (13:24 +0000)]
o sizeof(NAME_LEN), don't do that
Joe Thornber [Wed, 10 Oct 2001 13:09:40 +0000 (13:09 +0000)]
o forgot to init a list head
Joe Thornber [Wed, 10 Oct 2001 13:03:10 +0000 (13:03 +0000)]
o dev_write
Alasdair Kergon [Wed, 10 Oct 2001 12:45:20 +0000 (12:45 +0000)]
Tidy metadata diagnostic messages.
Joe Thornber [Wed, 10 Oct 2001 12:42:03 +0000 (12:42 +0000)]
o return data not 1 in read_ov
Joe Thornber [Wed, 10 Oct 2001 12:28:10 +0000 (12:28 +0000)]
o check for orphaned pv's when reading
Joe Thornber [Wed, 10 Oct 2001 10:55:55 +0000 (10:55 +0000)]
o pv_setup for format1, this is the last one !
Joe Thornber [Wed, 10 Oct 2001 10:11:25 +0000 (10:11 +0000)]
o AC_INIT was pointing to an old file
Joe Thornber [Wed, 10 Oct 2001 10:09:12 +0000 (10:09 +0000)]
o metadata.h was in here twice
Joe Thornber [Wed, 10 Oct 2001 10:05:29 +0000 (10:05 +0000)]
o pv_write for orphan pv's
Joe Thornber [Wed, 10 Oct 2001 09:36:29 +0000 (09:36 +0000)]
o add munging for format1 and 2
Joe Thornber [Wed, 10 Oct 2001 09:25:04 +0000 (09:25 +0000)]
o Code to calculate the metadata layout.
Joe Thornber [Tue, 9 Oct 2001 17:44:58 +0000 (17:44 +0000)]
o stub pv_write to stop tools crashing
Joe Thornber [Tue, 9 Oct 2001 17:36:48 +0000 (17:36 +0000)]
o fix seg fault while reading extents
Joe Thornber [Tue, 9 Oct 2001 17:30:20 +0000 (17:30 +0000)]
o remove another spurious error message
Alasdair Kergon [Tue, 9 Oct 2001 17:20:02 +0000 (17:20 +0000)]
o vgremove.
o filter devices by major.
Joe Thornber [Tue, 9 Oct 2001 17:09:46 +0000 (17:09 +0000)]
o spot empty list in build_vg
Joe Thornber [Tue, 9 Oct 2001 16:44:30 +0000 (16:44 +0000)]
o proposed interface to the kernel driver
Joe Thornber [Tue, 9 Oct 2001 16:13:12 +0000 (16:13 +0000)]
o dev-mgr disappears
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
Joe Thornber [Tue, 9 Oct 2001 14:42:58 +0000 (14:42 +0000)]
o remove spurious log message
Joe Thornber [Tue, 9 Oct 2001 14:26:45 +0000 (14:26 +0000)]
o hack, hack, hack
Joe Thornber [Tue, 9 Oct 2001 10:47:52 +0000 (10:47 +0000)]
o vg_write compiles
Joe Thornber [Tue, 9 Oct 2001 09:22:50 +0000 (09:22 +0000)]
o get_vgs works
Joe Thornber [Tue, 9 Oct 2001 08:58:52 +0000 (08:58 +0000)]
o pv_Read works
Joe Thornber [Tue, 9 Oct 2001 08:11:52 +0000 (08:11 +0000)]
o get_pvs now works for format 1
Alasdair Kergon [Mon, 8 Oct 2001 18:44:22 +0000 (18:44 +0000)]
vgrename & vgck
Joe Thornber [Mon, 8 Oct 2001 18:09:31 +0000 (18:09 +0000)]
o test program for get_pvs
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
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: ----------------------------------------------------------------------
Joe Thornber [Mon, 8 Oct 2001 16:08:16 +0000 (16:08 +0000)]
o read_vg works (or so it claims)
Joe Thornber [Mon, 8 Oct 2001 13:58:52 +0000 (13:58 +0000)]
o dev_cache_t program works
Joe Thornber [Mon, 8 Oct 2001 12:11:33 +0000 (12:11 +0000)]
o sync
Joe Thornber [Mon, 8 Oct 2001 10:35:59 +0000 (10:35 +0000)]
o we were stu\7f ill building dev-mgr files
Joe Thornber [Mon, 8 Oct 2001 10:20:25 +0000 (10:20 +0000)]
o read_vg_t compiles
Joe Thornber [Mon, 8 Oct 2001 09:50:00 +0000 (09:50 +0000)]
o makefile for read_vg_t
Joe Thornber [Mon, 8 Oct 2001 09:45:16 +0000 (09:45 +0000)]
o get things compiling
Joe Thornber [Mon, 8 Oct 2001 08:47:27 +0000 (08:47 +0000)]
o test program for reading a vg
Alasdair Kergon [Fri, 5 Oct 2001 21:39:30 +0000 (21:39 +0000)]
Sync include file changes.
Joe Thornber [Fri, 5 Oct 2001 16:36:53 +0000 (16:36 +0000)]
o end of day sync
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).
Joe Thornber [Fri, 5 Oct 2001 15:20:40 +0000 (15:20 +0000)]
o low level write path
Joe Thornber [Fri, 5 Oct 2001 13:59:44 +0000 (13:59 +0000)]
o finished writing extent reading code
Alasdair Kergon [Fri, 5 Oct 2001 13:03:03 +0000 (13:03 +0000)]
revised flags and comments
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
Alasdair Kergon [Thu, 4 Oct 2001 22:53:37 +0000 (22:53 +0000)]
metadata status flags regrouping & comments; misc tool changes
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.