]>
sourceware.org Git - dm.git/log
Patrick Caulfield [Thu, 31 Jan 2002 14:41:04 +0000 (14:41 +0000)]
Add prototypes for two rather dodgy functions:
dm_notify(this is wrong, surely)
dm_blockcopy(interface to kcopyd)
and a stub for the former.
Patrick Caulfield [Thu, 31 Jan 2002 14:18:24 +0000 (14:18 +0000)]
Changed the last of the prinks to DMERRs
Patrick Caulfield [Thu, 31 Jan 2002 10:52:34 +0000 (10:52 +0000)]
Fix locking.
Alasdair Kergon [Wed, 30 Jan 2002 17:48:14 +0000 (17:48 +0000)]
Beta1
Alasdair Kergon [Wed, 30 Jan 2002 17:09:50 +0000 (17:09 +0000)]
Don't assume read-only is not set when device is created.
Patrick Caulfield [Wed, 30 Jan 2002 11:44:43 +0000 (11:44 +0000)]
Only call callback if it's non-NULL.
wait for thread to exit when kcopyd_exit() is called.
Patrick Caulfield [Fri, 25 Jan 2002 14:47:57 +0000 (14:47 +0000)]
Cheap & cheerful kcopy daemon
Patrick Caulfield [Thu, 24 Jan 2002 13:26:28 +0000 (13:26 +0000)]
Get rid of the large vmalloc in read_metadata and use the pages in the kiobuf
directly.
Alasdair Kergon [Fri, 18 Jan 2002 19:37:25 +0000 (19:37 +0000)]
Use same log levels as LVM2.
Patrick Caulfield [Fri, 18 Jan 2002 08:54:29 +0000 (08:54 +0000)]
Get rid of more divisions where they weren't really needed.
Alasdair Kergon [Thu, 17 Jan 2002 18:19:40 +0000 (18:19 +0000)]
beta1-pre1 - Is this ready for release?
Alasdair Kergon [Thu, 17 Jan 2002 14:13:24 +0000 (14:13 +0000)]
Add function that returns the library version.
Alasdair Kergon [Thu, 17 Jan 2002 13:37:09 +0000 (13:37 +0000)]
Add another level of symlink to library name (like LVM1) so people who find
themselves running multiple incompatible kernel versions will just need
to swap symlinks at boot.
Alasdair Kergon [Thu, 17 Jan 2002 13:19:52 +0000 (13:19 +0000)]
Use additional version numbers.
Kernel driver has a version number (stored in kernel/VERSION).
The first two components of this (0.94) give the version number of the
ioctl interface. This number must be changed whenever a change is
made to the ioctl interface that breaks backwards compatibility.
The library has a version number (stored in VERSION) which is
used for linking.
The first and/or second component of this must be changed whenever
a change is made to the library API that breaks backwards
compatibility.
Patrick Caulfield [Thu, 17 Jan 2002 12:02:23 +0000 (12:02 +0000)]
Keep Joe happy.
Patrick Caulfield [Wed, 16 Jan 2002 09:56:50 +0000 (09:56 +0000)]
Miscellaneous tidying of code and comments. Removed some double-increments of
next_free_sector that crept in and (finally) make write_header use it's own
iobuf so that multiple snapshots don't get corrupted when one gets full.
Alasdair Kergon [Tue, 15 Jan 2002 19:59:18 +0000 (19:59 +0000)]
Remove incorrect __exits.
Alasdair Kergon [Tue, 15 Jan 2002 16:19:07 +0000 (16:19 +0000)]
Updated patches.
Patrick Caulfield [Tue, 15 Jan 2002 16:00:22 +0000 (16:00 +0000)]
Reduce memory requirements further by using the iobuf pages directly rather than
copying to them (less memory copying too of course).
Fix lots more bugs.
Alasdair Kergon [Tue, 15 Jan 2002 15:21:54 +0000 (15:21 +0000)]
Another ioctl interface update:
Supply offset to start of variable data area (so struct size can change
without breaking backward compatibility)
Add command that just returns the driver version
Alasdair Kergon [Mon, 14 Jan 2002 23:07:31 +0000 (23:07 +0000)]
Some ioctl interface changes. (Do we want these?)
- use status bits (so we can add flags without changing the struct size)
- use dev_t
Alasdair Kergon [Mon, 14 Jan 2002 18:15:27 +0000 (18:15 +0000)]
dm_get ordering fix (joe).
Once the LVM2 beta is released, we'll rework this locking/reference counting.
Alasdair Kergon [Mon, 14 Jan 2002 14:38:35 +0000 (14:38 +0000)]
Update patches.
Alasdair Kergon [Mon, 14 Jan 2002 13:51:32 +0000 (13:51 +0000)]
Additional bounds-checking.
Patrick Caulfield [Fri, 11 Jan 2002 14:19:04 +0000 (14:19 +0000)]
Remove some redundant code.
Move prototype for dm_do_snapshot into dm.h
Alasdair Kergon [Fri, 11 Jan 2002 12:12:44 +0000 (12:12 +0000)]
o Add rename support to dmsetup.
o Add support to use specified minor number to library and dmsetup.
Alasdair Kergon [Thu, 10 Jan 2002 23:29:14 +0000 (23:29 +0000)]
Support the renaming of active mapped devices (ioctl interface only).
Patrick Caulfield [Thu, 10 Jan 2002 13:52:57 +0000 (13:52 +0000)]
Improve (and fix) locking. use DMWARN/DMERR macros, make it slightly less
verbose.
Patrick Caulfield [Wed, 9 Jan 2002 13:14:24 +0000 (13:14 +0000)]
Now works with multiple snapshots of a single origin
Much reduced memory footprint (particularly compared with LVM1)
Use a hash-table rather than a list for origin table.
Mucho bug fixes.
Alasdair Kergon [Tue, 8 Jan 2002 18:42:44 +0000 (18:42 +0000)]
Expand documentation about non-devfs module use.
Alasdair Kergon [Tue, 8 Jan 2002 18:02:35 +0000 (18:02 +0000)]
Fixes for compilation as module & without devfs.
Patrick Caulfield [Tue, 8 Jan 2002 10:17:02 +0000 (10:17 +0000)]
Quick, save it before I break it again.
Alasdair Kergon [Mon, 7 Jan 2002 22:20:46 +0000 (22:20 +0000)]
More locking.
Alasdair Kergon [Mon, 7 Jan 2002 22:01:39 +0000 (22:01 +0000)]
tidying
Alasdair Kergon [Sat, 5 Jan 2002 21:51:25 +0000 (21:51 +0000)]
Add a lock.
Alasdair Kergon [Sat, 5 Jan 2002 21:36:51 +0000 (21:36 +0000)]
Another pointer hidden in an int & a redundant table_create crept in during
editing.
Alasdair Kergon [Fri, 4 Jan 2002 16:58:24 +0000 (16:58 +0000)]
Non-devfs instructions to run mknod script.
Patrick Caulfield [Fri, 4 Jan 2002 16:30:09 +0000 (16:30 +0000)]
Add locking and writable snapshots.
Alasdair Kergon [Fri, 4 Jan 2002 15:34:50 +0000 (15:34 +0000)]
Updated patches.
Alasdair Kergon [Fri, 4 Jan 2002 14:54:35 +0000 (14:54 +0000)]
Fix end of string detection in split_args. (Joe)
Alasdair Kergon [Fri, 4 Jan 2002 14:45:33 +0000 (14:45 +0000)]
Update.
Alasdair Kergon [Fri, 4 Jan 2002 14:41:46 +0000 (14:41 +0000)]
Remove hard-coded character device number for ioctl:
grab a misc device minor number dynamically instead.
Alasdair Kergon [Fri, 4 Jan 2002 14:40:29 +0000 (14:40 +0000)]
/etc/rc* script to create /dev/device-mapper/control on non-devfs system
Alasdair Kergon [Thu, 3 Jan 2002 20:01:25 +0000 (20:01 +0000)]
Updated kernel patches generated (0.91.01).
Alasdair Kergon [Thu, 3 Jan 2002 19:13:04 +0000 (19:13 +0000)]
o Make error messages more consistent.
o Tidy some #includes.
Alasdair Kergon [Thu, 3 Jan 2002 15:54:29 +0000 (15:54 +0000)]
Install into /sbin by default rather than /usr/sbin (for maintenance without
/usr).
Patrick Caulfield [Thu, 3 Jan 2002 15:35:48 +0000 (15:35 +0000)]
Use the "new" command-line interface.
First stab at persistent snapshots.
Alasdair Kergon [Thu, 3 Jan 2002 15:12:02 +0000 (15:12 +0000)]
stub for read-only functions with fs interface
Joe Thornber [Thu, 3 Jan 2002 10:39:20 +0000 (10:39 +0000)]
o Added -r, --read-only switch to dmsetup for use with create and reload.
Alasdair Kergon [Wed, 2 Jan 2002 20:11:11 +0000 (20:11 +0000)]
Support for 2.4.17
Alasdair Kergon [Wed, 2 Jan 2002 19:01:06 +0000 (19:01 +0000)]
o Allow the definition of read-only devices (ioctl interface only) (Joe)
o Add version number to ioctl structure with error on kernel/library mismatch
Alasdair Kergon [Wed, 2 Jan 2002 13:40:47 +0000 (13:40 +0000)]
Tidy makefiles - $DESTDIR & shared library version (like LVM1)
Alasdair Kergon [Fri, 21 Dec 2001 20:33:47 +0000 (20:33 +0000)]
Version 0.90.04
Alasdair Kergon [Fri, 21 Dec 2001 20:23:26 +0000 (20:23 +0000)]
Common target argument parsing.
Alasdair Kergon [Fri, 21 Dec 2001 20:19:15 +0000 (20:19 +0000)]
Now must unsuspend device after successful creation (fs interface only).
Alasdair Kergon [Fri, 21 Dec 2001 18:30:44 +0000 (18:30 +0000)]
More protection against corrupt offset.
Alasdair Kergon [Fri, 21 Dec 2001 18:07:11 +0000 (18:07 +0000)]
minor cleanups
Alasdair Kergon [Thu, 20 Dec 2001 20:32:14 +0000 (20:32 +0000)]
Revised ioctl/dmfs merge with fixes for bugs found in tests.
Patrick Caulfield [Tue, 18 Dec 2001 16:10:54 +0000 (16:10 +0000)]
Work-in-progress snapshot driver. It basically can do snapshotting now but needs
a fair bit more work - see the comments at the top of the file for TODO list.
BTW there's a prize for anyone who can set this up without talking to Joe or me
first. :^)
Alasdair Kergon [Fri, 14 Dec 2001 13:42:07 +0000 (13:42 +0000)]
Correct date in version string
Alasdair Kergon [Fri, 14 Dec 2001 13:30:02 +0000 (13:30 +0000)]
o Include dmsetup man page in build
o Allow pathname in dmsetup device arg
o Generated patches for 0.90.02
Joe Thornber [Thu, 13 Dec 2001 13:46:21 +0000 (13:46 +0000)]
o Man page for dmsetup
Patrick Caulfield [Thu, 13 Dec 2001 11:16:16 +0000 (11:16 +0000)]
Allocate the right amount of space for a linear_c
Alasdair Kergon [Wed, 12 Dec 2001 13:26:24 +0000 (13:26 +0000)]
Make version number internally consistent.
Alasdair Kergon [Tue, 11 Dec 2001 18:35:18 +0000 (18:35 +0000)]
More tweaking.
Alasdair Kergon [Tue, 11 Dec 2001 17:35:26 +0000 (17:35 +0000)]
Auto-detect kernel version
Alasdair Kergon [Tue, 11 Dec 2001 16:00:25 +0000 (16:00 +0000)]
make distclean to include kernel subdir too.
Alasdair Kergon [Tue, 11 Dec 2001 15:53:38 +0000 (15:53 +0000)]
configure parameters
steve [Tue, 11 Dec 2001 11:49:25 +0000 (11:49 +0000)]
o Removed bug reminder which wasn't actually a bug
Alasdair Kergon [Mon, 10 Dec 2001 18:19:09 +0000 (18:19 +0000)]
Various tidying.
Alasdair Kergon [Fri, 7 Dec 2001 21:15:31 +0000 (21:15 +0000)]
Fixes for library compilation.
Alasdair Kergon [Thu, 6 Dec 2001 22:08:57 +0000 (22:08 +0000)]
Fixes for compilation.
Alasdair Kergon [Thu, 6 Dec 2001 19:58:31 +0000 (19:58 +0000)]
Updated the technical introduction.
Alasdair Kergon [Thu, 6 Dec 2001 18:58:00 +0000 (18:58 +0000)]
Further tidying & patch generation (see 'INSTALL' file) as this
approaches release.
Alasdair Kergon [Thu, 6 Dec 2001 14:42:01 +0000 (14:42 +0000)]
Incomplete installation doc.
steve [Thu, 6 Dec 2001 14:41:23 +0000 (14:41 +0000)]
o updated after investigation of an item
Alasdair Kergon [Thu, 6 Dec 2001 14:22:11 +0000 (14:22 +0000)]
Moved across from LVM2 repository.
Alasdair Kergon [Wed, 5 Dec 2001 23:21:03 +0000 (23:21 +0000)]
Merged fs/ioctl file structure (files from LVM2/driver/device-mapper).
Alasdair Kergon [Wed, 5 Dec 2001 21:14:44 +0000 (21:14 +0000)]
Don't fail if mkdir fails if it already exists.
Alasdair Kergon [Wed, 5 Dec 2001 16:41:50 +0000 (16:41 +0000)]
Various fixes & restructure to extract common code.
Alasdair Kergon [Tue, 4 Dec 2001 23:19:04 +0000 (23:19 +0000)]
Added error handling and changed some parts to behave same as ioctl version.
steve [Tue, 4 Dec 2001 10:34:54 +0000 (10:34 +0000)]
o Initial version
Joe Thornber [Thu, 29 Nov 2001 11:47:12 +0000 (11:47 +0000)]
o Ownership of the dm_table's now passes into the mapped_device, we can do this
since there is now a one<->one mapping between the two.
Joe Thornber [Thu, 29 Nov 2001 10:15:56 +0000 (10:15 +0000)]
o remove bdput's
Alasdair Kergon [Wed, 28 Nov 2001 21:03:48 +0000 (21:03 +0000)]
configure --with-interface=ioctl (default) or =fs to choose kernel interface
Alasdair Kergon [Wed, 28 Nov 2001 20:08:08 +0000 (20:08 +0000)]
Add autoconf & makefile structure like LVM2.
Joe Thornber [Wed, 28 Nov 2001 17:41:16 +0000 (17:41 +0000)]
o Target to let device-mapper stripe across volumes.
Alasdair Kergon [Wed, 21 Nov 2001 19:20:41 +0000 (19:20 +0000)]
dmdir path
Joe Thornber [Wed, 21 Nov 2001 18:24:22 +0000 (18:24 +0000)]
o Remove an old debug statement
Joe Thornber [Wed, 21 Nov 2001 18:12:41 +0000 (18:12 +0000)]
o Display major number
Joe Thornber [Wed, 21 Nov 2001 17:57:57 +0000 (17:57 +0000)]
o use the major number returned from dm_ioctl.
Joe Thornber [Wed, 21 Nov 2001 17:50:43 +0000 (17:50 +0000)]
o Add the major number of the lv to the dm_ioctl struct.
Joe Thornber [Wed, 21 Nov 2001 17:08:37 +0000 (17:08 +0000)]
o You can now specify the dev directory for libdm
o dm_dir() returns the full path to the device-mapper dir (eg, /dev/device-mapper).
o put stat in on _rm_node
Joe Thornber [Wed, 21 Nov 2001 16:47:10 +0000 (16:47 +0000)]
o Removed _check_devfs
o We now do a stat to see if the device node is there
Joe Thornber [Wed, 21 Nov 2001 16:14:18 +0000 (16:14 +0000)]
o Decided Patrick was right about that OB1 error :)
Joe Thornber [Wed, 21 Nov 2001 15:49:45 +0000 (15:49 +0000)]
o Remove hard coded path to /dev/device-mapper/control
Alasdair Kergon [Wed, 21 Nov 2001 15:41:14 +0000 (15:41 +0000)]
Tidy makefiles
Joe Thornber [Wed, 21 Nov 2001 15:28:32 +0000 (15:28 +0000)]
o This was breaking things on non-devfs systems.
Joe Thornber [Wed, 21 Nov 2001 15:15:37 +0000 (15:15 +0000)]
o Change name of libdm.h
Joe Thornber [Wed, 21 Nov 2001 15:14:35 +0000 (15:14 +0000)]
o Use MKDEV to build the dev_t for mknod
This page took 0.057984 seconds and 5 git commands to generate.