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

140 Commits

Author SHA1 Message Date
Steven Whitehouse
952152fd96 o Added two items which ought to be done when we update to 2.4.14-pre3 or
above.
2001-10-29 11:06:46 +00:00
Steven Whitehouse
03aedda156 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.
2001-10-29 10:03:05 +00:00
Steven Whitehouse
d360f957c0 o Correction in logic for write access to tables 2001-10-25 11:05:29 +00:00
Steven Whitehouse
ab367a0678 o Fix typos from yesterday 2001-10-25 10:37:05 +00:00
Joe Thornber
cc2124ce7d o Updated 00_makefile
o 00_bh-async-3 has been merge with vanilla
2001-10-24 10:52:10 +00:00
Steven Whitehouse
64b6e4e4b3 o Error list handling now part of fs rather than part of table. 2001-10-24 08:26:10 +00:00
Steven Whitehouse
6215194e2b 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
2001-10-24 07:51:42 +00:00
Joe Thornber
9a48f4b6a3 o removed 00_latest since it never is. 2001-10-22 10:03:05 +00:00
Steven Whitehouse
e7af89f900 o Remove unused variable. 2001-10-18 15:59:25 +00:00
Steven Whitehouse
0bc4573221 o Fix crash that Patrick reported 2001-10-17 15:03:00 +00:00
Steven Whitehouse
646b19ce77 o Fix a typo. This should fix devfs support. 2001-10-17 14:34:53 +00:00
Steven Whitehouse
ef938d5aad o Patches to go with earlier check in 2001-10-17 13:13:25 +00:00
Steven Whitehouse
14ce9d49f1 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.
2001-10-17 11:34:50 +00:00
Steven Whitehouse
33f5321c39 o Update to parser
o Extra checks in symlink routines
2001-10-17 11:09:43 +00:00
Steven Whitehouse
fc4a099514 o Fixed infinite loop in parser
o Fixed error handling whilst creating volumes
 o General tidy up
2001-10-16 17:09:27 +00:00
Steven Whitehouse
d36240499b o Get file size correct for table
o Make parser look at the right object
2001-10-16 12:17:54 +00:00
Steven Whitehouse
e58cb41e7e o Fixes to parsing code 2001-10-16 11:56:55 +00:00
Steven Whitehouse
dfe0a65d93 o Tidy up, removing debugging printk's no longer needed 2001-10-16 10:38:13 +00:00
Steven Whitehouse
60b134b53c o More bug fixes 2001-10-15 22:39:14 +00:00
Steven Whitehouse
550380f9c8 o More fixes 2001-10-15 16:40:17 +00:00
Steven Whitehouse
0c947f7619 o Some bug fixes
o Added symlink ops
 o Some extra sanity checks
2001-10-15 11:31:00 +00:00
Steven Whitehouse
03505a0f58 o Further tidyups and fixes. 2001-10-12 10:06:40 +00:00
Steven Whitehouse
c4bf9638e3 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.
2001-10-11 20:29:00 +00:00
Steven Whitehouse
161720b500 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.
2001-10-10 21:49:21 +00:00
Steven Whitehouse
b82172a98a Just a small sync of pending changes before I start looking at this again
more seriously.

 o Odds and ends
2001-10-05 10:00:13 +00:00
Alasdair Kergon
28f5d16b4f Misc structural changes. 2001-10-01 19:36:06 +00:00
Joe Thornber
2099052b83 o rewrite of dm_user_bmap, not tested though. 2001-09-27 10:15:02 +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
Joe Thornber
2eca35b6d6 o quick tidy up 2001-09-25 15:23:20 +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
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