]> sourceware.org Git - dm.git/log
dm.git
22 years agoo b_bdev_private patch for ext3
Alasdair Kergon [Mon, 4 Mar 2002 17:24:21 +0000 (17:24 +0000)]
o b_bdev_private patch for ext3
o makefiles include snapshot code etc.

22 years agotypo
Andres Salomon [Mon, 4 Mar 2002 09:54:08 +0000 (09:54 +0000)]
typo

22 years ago*** empty log message ***
Andres Salomon [Mon, 4 Mar 2002 09:42:55 +0000 (09:42 +0000)]
*** empty log message ***

22 years agorenaming libdevmapper to libdevmapper0
Andres Salomon [Mon, 4 Mar 2002 09:42:23 +0000 (09:42 +0000)]
renaming libdevmapper to libdevmapper0

22 years agoum, stuff that i don't remember
Andres Salomon [Mon, 4 Mar 2002 09:40:18 +0000 (09:40 +0000)]
um, stuff that i don't remember

22 years agosplit up the old docs file
Andres Salomon [Mon, 4 Mar 2002 09:39:57 +0000 (09:39 +0000)]
split up the old docs file

22 years agomoved to per-package docs
Andres Salomon [Mon, 4 Mar 2002 09:33:56 +0000 (09:33 +0000)]
moved to per-package docs

22 years agoNo point in waking up freelist waiters if we've not put anything new in it.
Patrick Caulfield [Fri, 1 Mar 2002 09:23:58 +0000 (09:23 +0000)]
No point in waking up freelist waiters if we've not put anything new in it.

22 years agoRemove MODULE_* macros
Patrick Caulfield [Thu, 28 Feb 2002 11:13:21 +0000 (11:13 +0000)]
Remove MODULE_* macros

22 years agoGet rid of task startup race.
Patrick Caulfield [Thu, 28 Feb 2002 11:01:49 +0000 (11:01 +0000)]
Get rid of task startup race.

22 years agoMake read_blocks & write_blocks into the same function as they are now almost
Patrick Caulfield [Wed, 27 Feb 2002 11:02:42 +0000 (11:02 +0000)]
Make read_blocks & write_blocks into the same function as they are now almost
identical.
Don't write a FULL header to a non-persistent snapshot.

22 years agoRunning out of filehandles? Close /dev/device-mapper/control then.
Alasdair Kergon [Tue, 26 Feb 2002 18:30:02 +0000 (18:30 +0000)]
Running out of filehandles?  Close /dev/device-mapper/control then.

22 years agoIndent.
Alasdair Kergon [Thu, 21 Feb 2002 13:11:06 +0000 (13:11 +0000)]
Indent.

22 years agoPass through indent.
Alasdair Kergon [Thu, 21 Feb 2002 12:48:25 +0000 (12:48 +0000)]
Pass through indent.

22 years agoAnnoying dpkg-buildpackage warning about source not having a section
Andres Salomon [Wed, 20 Feb 2002 08:45:07 +0000 (08:45 +0000)]
Annoying dpkg-buildpackage warning about source not having a section

22 years agoFirst try at packaging this beast for debian.. Comments most welcome.
Andres Salomon [Wed, 20 Feb 2002 07:17:35 +0000 (07:17 +0000)]
First try at packaging this beast for debian.. Comments most welcome.
Passes lintian checks; have not tried yet w/ lvm2, that'll be next.

22 years agoMake "extent size" only mandatory for persistent snapshots.
Patrick Caulfield [Tue, 19 Feb 2002 16:58:51 +0000 (16:58 +0000)]
Make "extent size" only mandatory for persistent snapshots.

22 years agoFix some comments
Patrick Caulfield [Wed, 13 Feb 2002 13:33:46 +0000 (13:33 +0000)]
Fix some comments

22 years agocall init/exit functions for snapshot/origin/mirror and kcopyd in dm.c
Patrick Caulfield [Wed, 13 Feb 2002 11:39:31 +0000 (11:39 +0000)]
call init/exit functions for snapshot/origin/mirror and kcopyd in dm.c

22 years agoFix OB1 error in arg parsing.
Patrick Caulfield [Fri, 8 Feb 2002 15:41:48 +0000 (15:41 +0000)]
Fix OB1 error in arg parsing.

22 years agoGet rid of \n at the end of DMERR & friends because they are already provided.
Patrick Caulfield [Fri, 8 Feb 2002 14:34:12 +0000 (14:34 +0000)]
Get rid of \n at the end of DMERR & friends because they are already provided.

22 years ago- Paranoid checks on COW metadata reading.
Patrick Caulfield [Fri, 8 Feb 2002 13:50:08 +0000 (13:50 +0000)]
- Paranoid checks on COW metadata reading.
- Set ondisk flag when reading metadata from disk!
- More efficient hash function (/ is now >>)
- Fix some duff bh defers

22 years agoAdd a priority parameter to kcopyd so that snapshots can butt-in to mirror
Patrick Caulfield [Thu, 7 Feb 2002 15:20:59 +0000 (15:20 +0000)]
Add a priority parameter to kcopyd so that snapshots can butt-in to mirror
operations.

Also keep the number of free-list allocated entries a fixed size and allocate
anuthing else from a slab.

22 years agoFix deadlock when snapshotting a snapshot and remove redundant chunk iobuf.
Patrick Caulfield [Wed, 6 Feb 2002 08:38:20 +0000 (08:38 +0000)]
Fix deadlock when snapshotting a snapshot and remove redundant chunk iobuf.

22 years agoThis is the first version of the snapshot driver that uses kcopyd to do its COW
Patrick Caulfield [Tue, 5 Feb 2002 14:36:27 +0000 (14:36 +0000)]
This is the first version of the snapshot driver that uses kcopyd to do its COW
IO. Treat it gently and make a note of the previous version number in case it
all goes horribly wrong :)

Oh, and don't try taking snapshots of snapshots, they currently
deadlock....sometimes.

22 years agoUse a freelist to keep work_item structures in.
Patrick Caulfield [Tue, 5 Feb 2002 11:35:51 +0000 (11:35 +0000)]
Use a freelist to keep work_item structures in.
Add a PROGRESS callback

22 years agoUpdate patches.
Alasdair Kergon [Mon, 4 Feb 2002 13:20:21 +0000 (13:20 +0000)]
Update patches.

22 years agoreturn r
Patrick Caulfield [Mon, 4 Feb 2002 11:45:26 +0000 (11:45 +0000)]
return r

22 years agoDon't expect the COW volume to be any particular size.
Patrick Caulfield [Mon, 4 Feb 2002 09:15:14 +0000 (09:15 +0000)]
Don't expect the COW volume to be any particular size.

22 years agodm_interface_{init,exit} prototypes get marked as __{init,exit} as well
Andres Salomon [Sun, 3 Feb 2002 11:36:37 +0000 (11:36 +0000)]
dm_interface_{init,exit} prototypes get marked as __{init,exit} as well

22 years ago__init/__exit for interface_{init,exit}. fs interface has 'em, kind of odd that...
Andres Salomon [Sun, 3 Feb 2002 11:21:48 +0000 (11:21 +0000)]
__init/__exit for interface_{init,exit}.  fs interface has 'em, kind of odd that ioctl doesn't.

22 years agoFailure signalled by -1 not 0; MAX_DEVICES 256 (was 64); change a '>' to '>='.
Alasdair Kergon [Fri, 1 Feb 2002 17:39:19 +0000 (17:39 +0000)]
Failure signalled by -1 not 0; MAX_DEVICES 256 (was 64); change a '>' to '>='.

22 years agoo Cleaner per-device locks replace the single global lock. (Joe)
Alasdair Kergon [Thu, 31 Jan 2002 21:30:24 +0000 (21:30 +0000)]
o Cleaner per-device locks replace the single global lock.  (Joe)
o Error target request loop fix.

22 years agoFirst stab at the mirror target.
Patrick Caulfield [Thu, 31 Jan 2002 15:19:49 +0000 (15:19 +0000)]
First stab at the mirror target.

22 years agoAdd prototypes for two rather dodgy functions:
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.

22 years agoChanged the last of the prinks to DMERRs
Patrick Caulfield [Thu, 31 Jan 2002 14:18:24 +0000 (14:18 +0000)]
Changed the last of the prinks to DMERRs

22 years agoFix locking.
Patrick Caulfield [Thu, 31 Jan 2002 10:52:34 +0000 (10:52 +0000)]
Fix locking.

22 years agoBeta1 beta1
Alasdair Kergon [Wed, 30 Jan 2002 17:48:14 +0000 (17:48 +0000)]
Beta1

22 years agoDon't assume read-only is not set when device is created.
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.

22 years agoOnly call callback if it's non-NULL.
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.

22 years agoCheap & cheerful kcopy daemon
Patrick Caulfield [Fri, 25 Jan 2002 14:47:57 +0000 (14:47 +0000)]
Cheap & cheerful kcopy daemon

22 years agoGet rid of the large vmalloc in read_metadata and use the pages in the kiobuf
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.

22 years agoUse same log levels as LVM2. beta1-pre1
Alasdair Kergon [Fri, 18 Jan 2002 19:37:25 +0000 (19:37 +0000)]
Use same log levels as LVM2.

22 years agoGet rid of more divisions where they weren't really needed.
Patrick Caulfield [Fri, 18 Jan 2002 08:54:29 +0000 (08:54 +0000)]
Get rid of more divisions where they weren't really needed.

22 years agobeta1-pre1 - Is this ready for release?
Alasdair Kergon [Thu, 17 Jan 2002 18:19:40 +0000 (18:19 +0000)]
beta1-pre1 - Is this ready for release?

22 years agoAdd function that returns the library version.
Alasdair Kergon [Thu, 17 Jan 2002 14:13:24 +0000 (14:13 +0000)]
Add function that returns the library version.

22 years agoAdd another level of symlink to library name (like LVM1) so people who find
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.

22 years agoUse additional version numbers.
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.

22 years agoKeep Joe happy.
Patrick Caulfield [Thu, 17 Jan 2002 12:02:23 +0000 (12:02 +0000)]
Keep Joe happy.

22 years agoMiscellaneous tidying of code and comments. Removed some double-increments of
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.

22 years agoRemove incorrect __exits.
Alasdair Kergon [Tue, 15 Jan 2002 19:59:18 +0000 (19:59 +0000)]
Remove incorrect __exits.

22 years agoUpdated patches.
Alasdair Kergon [Tue, 15 Jan 2002 16:19:07 +0000 (16:19 +0000)]
Updated patches.

22 years agoReduce memory requirements further by using the iobuf pages directly rather than
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.

22 years agoAnother ioctl interface update:
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

22 years agoSome ioctl interface changes. (Do we want these?)
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

22 years agodm_get ordering fix (joe).
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.

22 years agoUpdate patches.
Alasdair Kergon [Mon, 14 Jan 2002 14:38:35 +0000 (14:38 +0000)]
Update patches.

22 years agoAdditional bounds-checking.
Alasdair Kergon [Mon, 14 Jan 2002 13:51:32 +0000 (13:51 +0000)]
Additional bounds-checking.

22 years agoRemove some redundant code.
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

22 years agoo Add rename support to dmsetup.
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.

22 years agoSupport the renaming of active mapped devices (ioctl interface only).
Alasdair Kergon [Thu, 10 Jan 2002 23:29:14 +0000 (23:29 +0000)]
Support the renaming of active mapped devices (ioctl interface only).

22 years agoImprove (and fix) locking. use DMWARN/DMERR macros, make it slightly less
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.

22 years agoNow works with multiple snapshots of a single origin
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.

22 years agoExpand documentation about non-devfs module use.
Alasdair Kergon [Tue, 8 Jan 2002 18:42:44 +0000 (18:42 +0000)]
Expand documentation about non-devfs module use.

22 years agoFixes for compilation as module & without devfs.
Alasdair Kergon [Tue, 8 Jan 2002 18:02:35 +0000 (18:02 +0000)]
Fixes for compilation as module & without devfs.

22 years agoQuick, save it before I break it again.
Patrick Caulfield [Tue, 8 Jan 2002 10:17:02 +0000 (10:17 +0000)]
Quick, save it before I break it again.

22 years agoMore locking.
Alasdair Kergon [Mon, 7 Jan 2002 22:20:46 +0000 (22:20 +0000)]
More locking.

22 years agotidying
Alasdair Kergon [Mon, 7 Jan 2002 22:01:39 +0000 (22:01 +0000)]
tidying

22 years agoAdd a lock.
Alasdair Kergon [Sat, 5 Jan 2002 21:51:25 +0000 (21:51 +0000)]
Add a lock.

22 years agoAnother pointer hidden in an int & a redundant table_create crept in during
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.

22 years agoNon-devfs instructions to run mknod script.
Alasdair Kergon [Fri, 4 Jan 2002 16:58:24 +0000 (16:58 +0000)]
Non-devfs instructions to run mknod script.

22 years agoAdd locking and writable snapshots.
Patrick Caulfield [Fri, 4 Jan 2002 16:30:09 +0000 (16:30 +0000)]
Add locking and writable snapshots.

22 years agoUpdated patches.
Alasdair Kergon [Fri, 4 Jan 2002 15:34:50 +0000 (15:34 +0000)]
Updated patches.

22 years agoFix end of string detection in split_args. (Joe)
Alasdair Kergon [Fri, 4 Jan 2002 14:54:35 +0000 (14:54 +0000)]
Fix end of string detection in split_args.  (Joe)

22 years agoUpdate.
Alasdair Kergon [Fri, 4 Jan 2002 14:45:33 +0000 (14:45 +0000)]
Update.

22 years agoRemove hard-coded character device number for ioctl:
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.

22 years ago/etc/rc* script to create /dev/device-mapper/control on non-devfs system
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

22 years agoUpdated kernel patches generated (0.91.01).
Alasdair Kergon [Thu, 3 Jan 2002 20:01:25 +0000 (20:01 +0000)]
Updated kernel patches generated (0.91.01).

22 years agoo Make error messages more consistent.
Alasdair Kergon [Thu, 3 Jan 2002 19:13:04 +0000 (19:13 +0000)]
o Make error messages more consistent.
o Tidy some #includes.

22 years agoInstall into /sbin by default rather than /usr/sbin (for maintenance without
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).

22 years agoUse the "new" command-line interface.
Patrick Caulfield [Thu, 3 Jan 2002 15:35:48 +0000 (15:35 +0000)]
Use the "new" command-line interface.
First stab at persistent snapshots.

22 years agostub for read-only functions with fs interface
Alasdair Kergon [Thu, 3 Jan 2002 15:12:02 +0000 (15:12 +0000)]
stub for read-only functions with fs interface

22 years agoo Added -r, --read-only switch to dmsetup for use with create and reload.
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.

22 years agoSupport for 2.4.17
Alasdair Kergon [Wed, 2 Jan 2002 20:11:11 +0000 (20:11 +0000)]
Support for 2.4.17

22 years agoo Allow the definition of read-only devices (ioctl interface only) (Joe)
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

22 years agoTidy makefiles - $DESTDIR & shared library version (like LVM1)
Alasdair Kergon [Wed, 2 Jan 2002 13:40:47 +0000 (13:40 +0000)]
Tidy makefiles - $DESTDIR & shared library version (like LVM1)

22 years agoVersion 0.90.04
Alasdair Kergon [Fri, 21 Dec 2001 20:33:47 +0000 (20:33 +0000)]
Version 0.90.04

22 years agoCommon target argument parsing.
Alasdair Kergon [Fri, 21 Dec 2001 20:23:26 +0000 (20:23 +0000)]
Common target argument parsing.

22 years agoNow must unsuspend device after successful creation (fs interface only).
Alasdair Kergon [Fri, 21 Dec 2001 20:19:15 +0000 (20:19 +0000)]
Now must unsuspend device after successful creation (fs interface only).

22 years agoMore protection against corrupt offset.
Alasdair Kergon [Fri, 21 Dec 2001 18:30:44 +0000 (18:30 +0000)]
More protection against corrupt offset.

22 years agominor cleanups
Alasdair Kergon [Fri, 21 Dec 2001 18:07:11 +0000 (18:07 +0000)]
minor cleanups

22 years agoRevised ioctl/dmfs merge with fixes for bugs found in tests.
Alasdair Kergon [Thu, 20 Dec 2001 20:32:14 +0000 (20:32 +0000)]
Revised ioctl/dmfs merge with fixes for bugs found in tests.

22 years agoWork-in-progress snapshot driver. It basically can do snapshotting now but needs
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. :^)

22 years agoCorrect date in version string
Alasdair Kergon [Fri, 14 Dec 2001 13:42:07 +0000 (13:42 +0000)]
Correct date in version string

22 years agoo Include dmsetup man page in build
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

22 years agoo Man page for dmsetup
Joe Thornber [Thu, 13 Dec 2001 13:46:21 +0000 (13:46 +0000)]
o Man page for dmsetup

22 years agoAllocate the right amount of space for a linear_c
Patrick Caulfield [Thu, 13 Dec 2001 11:16:16 +0000 (11:16 +0000)]
Allocate the right amount of space for a linear_c

22 years agoMake version number internally consistent.
Alasdair Kergon [Wed, 12 Dec 2001 13:26:24 +0000 (13:26 +0000)]
Make version number internally consistent.

22 years agoMore tweaking.
Alasdair Kergon [Tue, 11 Dec 2001 18:35:18 +0000 (18:35 +0000)]
More tweaking.

22 years agoAuto-detect kernel version
Alasdair Kergon [Tue, 11 Dec 2001 17:35:26 +0000 (17:35 +0000)]
Auto-detect kernel version

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