]> sourceware.org Git - dm.git/log
dm.git
21 years agoSync - ioctl support for some other architectures.
Alasdair Kergon [Tue, 24 Sep 2002 14:02:28 +0000 (14:02 +0000)]
Sync - ioctl support for some other architectures.

21 years agosynch w/ what's in debian; no longer 6 months out of date
Andres Salomon [Sun, 1 Sep 2002 23:17:47 +0000 (23:17 +0000)]
synch w/ what's in debian; no longer 6 months out of date

21 years agoinclude <linux/types.h> instead of "types.h".
Andres Salomon [Thu, 15 Aug 2002 06:40:38 +0000 (06:40 +0000)]
include <linux/types.h> instead of "types.h".

21 years agoFix offsets for final 2.4.19. beta5
Alasdair Kergon [Wed, 14 Aug 2002 18:23:34 +0000 (18:23 +0000)]
Fix offsets for final 2.4.19.

21 years agoapply-patches also applies VFS lock patch.
Alasdair Kergon [Wed, 14 Aug 2002 18:12:25 +0000 (18:12 +0000)]
apply-patches also applies VFS lock patch.

21 years agoRemove old patches
Alasdair Kergon [Wed, 14 Aug 2002 18:10:06 +0000 (18:10 +0000)]
Remove old patches

21 years agoupdate docs
Alasdair Kergon [Wed, 14 Aug 2002 17:34:05 +0000 (17:34 +0000)]
update docs

21 years agoUpdated patches for 2.4.19
Alasdair Kergon [Wed, 14 Aug 2002 17:17:39 +0000 (17:17 +0000)]
Updated patches for 2.4.19

21 years agoDon't include mirror target by default - it's not ready yet.
Alasdair Kergon [Wed, 14 Aug 2002 13:30:06 +0000 (13:30 +0000)]
Don't include mirror target by default - it's not ready yet.

21 years agoSync some fixes with bitkeeper repository.
Alasdair Kergon [Wed, 14 Aug 2002 13:24:27 +0000 (13:24 +0000)]
Sync some fixes with bitkeeper repository.

22 years agoRename /dev/device-mapper to /dev/mapper
Alasdair Kergon [Tue, 23 Jul 2002 12:49:48 +0000 (12:49 +0000)]
Rename /dev/device-mapper to /dev/mapper

22 years agoUpdate version.
Alasdair Kergon [Wed, 17 Jul 2002 17:28:18 +0000 (17:28 +0000)]
Update version.

22 years agoRemove snapshot extent_size parameter
Alasdair Kergon [Wed, 17 Jul 2002 17:24:43 +0000 (17:24 +0000)]
Remove snapshot extent_size parameter
Ensure chunk size >= page size

22 years agoSkip parameter validation for remove_all.
Alasdair Kergon [Wed, 17 Jul 2002 17:23:42 +0000 (17:23 +0000)]
Skip parameter validation for remove_all.

22 years agoAlso display device-mapper initialisation message if not using devfs.
Alasdair Kergon [Wed, 10 Jul 2002 12:15:30 +0000 (12:15 +0000)]
Also display device-mapper initialisation message if not using devfs.

22 years agoupdate beta4_1
Alasdair Kergon [Thu, 27 Jun 2002 14:01:53 +0000 (14:01 +0000)]
update

22 years agovcalloc export missing from combined patch
Alasdair Kergon [Thu, 27 Jun 2002 14:00:29 +0000 (14:00 +0000)]
vcalloc export missing from combined patch

22 years agoTidy up for another release: updated documentation; removed old files; beta4
Alasdair Kergon [Wed, 26 Jun 2002 21:50:51 +0000 (21:50 +0000)]
Tidy up for another release: updated documentation; removed old files;
module build fix.

22 years agoExport vcalloc.
Alasdair Kergon [Wed, 26 Jun 2002 17:47:49 +0000 (17:47 +0000)]
Export vcalloc.

22 years agoVFS Lock patch for Linux 2.4.19-rc1
Patrick Caulfield [Wed, 26 Jun 2002 09:09:41 +0000 (09:09 +0000)]
VFS Lock patch for Linux 2.4.19-rc1

22 years agoPatches tidied and split and regenerated against 2.4.19-rc1.
Alasdair Kergon [Tue, 25 Jun 2002 22:46:22 +0000 (22:46 +0000)]
Patches tidied and split and regenerated against 2.4.19-rc1.

Apply either the combined patch:
  linux-2.4.19-rc1-devmapper-ioctl.patch

Or apply separately:
  common/linux-2.4.19-rc1*
    *-config.patch             - add device-mapper option (tagged experimental)
    *-mempool.patch            - sct's backport
    *-mempool_slab.patch       - a couple more functions
    *-vcalloc.patch            - a calloc implementation (with overflow check)
    *-b_bdev_private.patch     - add a private b_private (avoids ext3 conflict)

    *-devmapper_1_core.patch   - the core driver
    *-devmapper_2_ioctl.patch  - ioctl interface to driver
    *-devmapper_3_basic_mappings.patch   - linear and striped mappings

    *-devmapper_4_snapshots.patch        - snapshot implementation
    *-devmapper_5_mirror.patch           - mirror implementation (for pvmove)

22 years agoo Long-awaited ioctl interface clean-up. *** Not backwardly compatible ***
Alasdair Kergon [Wed, 19 Jun 2002 13:07:00 +0000 (13:07 +0000)]
o Long-awaited ioctl interface clean-up.  *** Not backwardly compatible ***
o Various other kernel side tidy-ups.
o Version number changes so we have the option of adding new ioctl commands
  in future without affecting the use of existing ones should you later
  revert to an older kernel but not revert the userspace library/tools.
o Better separation of kernel/userspace elements in the build process to
  prepare for independent distribution of the kernel driver.

22 years agoo Knock the version check out of the makefile, Alasdair will no doubt put it back :)
Joe Thornber [Mon, 17 Jun 2002 15:50:16 +0000 (15:50 +0000)]
o  Knock the version check out of the makefile, Alasdair will no doubt put it back :)

o  Change to new ioctl names.

22 years agotidy
Alasdair Kergon [Thu, 13 Jun 2002 16:58:15 +0000 (16:58 +0000)]
tidy

22 years agoReplace awk (in /usr/bin) with sed (in /bin) in case /usr is unmounted.
Alasdair Kergon [Thu, 13 Jun 2002 16:47:58 +0000 (16:47 +0000)]
Replace awk (in /usr/bin) with sed (in /bin) in case /usr is unmounted.

22 years agoAnother bk merge:
Alasdair Kergon [Thu, 13 Jun 2002 16:26:56 +0000 (16:26 +0000)]
Another bk merge:
  - add block ioctls
  - use ENOTTY for unrecognised ioctl requests
  - sanity checks for oversized or misaligned block requests
  - use vcalloc
  - remove store_fn macros
  - waitqueue changes
  - update version / revise patches

22 years agoupdated for .11
Andres Salomon [Thu, 23 May 2002 07:42:37 +0000 (07:42 +0000)]
updated for .11

22 years agoversion increment for 0.95.11?
Andres Salomon [Thu, 23 May 2002 07:29:32 +0000 (07:29 +0000)]
version increment for 0.95.11?

22 years agoFix configure to cope with kernel EXTRAVERSION beta3
Alasdair Kergon [Mon, 20 May 2002 18:46:41 +0000 (18:46 +0000)]
Fix configure to cope with kernel EXTRAVERSION

22 years agoRemove old patch
Alasdair Kergon [Mon, 20 May 2002 18:10:10 +0000 (18:10 +0000)]
Remove old patch

22 years agoPatches for 2.4.19-pre8
Alasdair Kergon [Mon, 20 May 2002 16:28:25 +0000 (16:28 +0000)]
Patches for 2.4.19-pre8

22 years agoSnapshot fixes (sync with bk).
Alasdair Kergon [Mon, 20 May 2002 14:11:34 +0000 (14:11 +0000)]
Snapshot fixes (sync with bk).

22 years agoremove kernel source when done
Andres Salomon [Sun, 19 May 2002 04:22:58 +0000 (04:22 +0000)]
remove kernel source when done

22 years agofix incorrect relative dir; remove headers before patching, otherwise patch
Andres Salomon [Sun, 19 May 2002 04:18:29 +0000 (04:18 +0000)]
fix incorrect relative dir; remove headers before patching, otherwise patch
fails

22 years agofix incorrect package description
Andres Salomon [Sun, 19 May 2002 01:59:00 +0000 (01:59 +0000)]
fix incorrect package description

22 years agomissed a few
Andres Salomon [Tue, 14 May 2002 04:02:17 +0000 (04:02 +0000)]
missed a few

22 years agosynch w/ -3 "oh shit" release
Andres Salomon [Tue, 14 May 2002 03:59:42 +0000 (03:59 +0000)]
synch w/ -3 "oh shit" release

22 years agoImport snapshot status & persistence + indent etc.
Alasdair Kergon [Fri, 10 May 2002 15:25:35 +0000 (15:25 +0000)]
Import snapshot status & persistence + indent etc.

22 years agoReinstate exit status.
Alasdair Kergon [Fri, 10 May 2002 15:21:16 +0000 (15:21 +0000)]
Reinstate exit status.

22 years agoAdd features to get table/status & wait for next event.
Patrick Caulfield [Fri, 3 May 2002 11:55:56 +0000 (11:55 +0000)]
Add features to get table/status & wait for next event.

22 years agoupdated
Andres Salomon [Sun, 28 Apr 2002 19:47:45 +0000 (19:47 +0000)]
updated

22 years agofPIC fix; see http://buildd.debian.org/fetch.php?&pkg=devmapper&ver=0.95.07-1&arch...
Andres Salomon [Sun, 28 Apr 2002 19:46:40 +0000 (19:46 +0000)]
fPIC fix; see http://buildd.debian.org/fetch.php?&pkg=devmapper&ver=0.95.07-1&arch=hppa&stamp=1019951845&file=log&as=raw

22 years agoThis should be a bit more robust; see http://bugs.debian.org/144889
Andres Salomon [Sun, 28 Apr 2002 19:01:39 +0000 (19:01 +0000)]
This should be a bit more robust; see http://bugs.debian.org/144889

22 years agoupdated dependencies
Andres Salomon [Sun, 28 Apr 2002 18:35:14 +0000 (18:35 +0000)]
updated dependencies

22 years agoUpdate for new release, as well as a rework of the build system (should
Andres Salomon [Thu, 25 Apr 2002 06:18:15 +0000 (06:18 +0000)]
Update for new release, as well as a rework of the build system (should
be much faster now).

22 years agoRemove old patches.
Alasdair Kergon [Tue, 23 Apr 2002 22:03:02 +0000 (22:03 +0000)]
Remove old patches.

22 years agoCommit snapshot-related changes preparing for the next beta release. beta2
Alasdair Kergon [Tue, 23 Apr 2002 21:47:45 +0000 (21:47 +0000)]
Commit snapshot-related changes preparing for the next beta release.

22 years agoMore memory leak plugging.
Patrick Caulfield [Mon, 15 Apr 2002 13:24:14 +0000 (13:24 +0000)]
More memory leak plugging.

22 years agoRename device node during a DM_RENAME command.
Patrick Caulfield [Thu, 11 Apr 2002 12:45:17 +0000 (12:45 +0000)]
Rename device node during a DM_RENAME command.

22 years agoversion update
Andres Salomon [Wed, 3 Apr 2002 05:03:08 +0000 (05:03 +0000)]
version update

22 years agoRevert vfree commenting out (which is a workaround for a UML problem).
Alasdair Kergon [Mon, 25 Mar 2002 19:33:39 +0000 (19:33 +0000)]
Revert vfree commenting out (which is a workaround for a UML problem).

22 years agoo reload() also fills info structure before returning
Alasdair Kergon [Mon, 25 Mar 2002 19:28:00 +0000 (19:28 +0000)]
o reload() also fills info structure before returning
o dm_create now handles readonly parameter internally
o sync_buffers replacing fsync_dev
o get the pending_exceptions from a mempool
o dm_put* now take struct mapped_device
o remove dm-origin.c
o dm_destroy_all() repeats its destroy loop until no more can be destroyed
o correct s->chunk_shift calc.
o multiple buffer_head lists

22 years agoRemove old constituent patches.
Alasdair Kergon [Mon, 25 Mar 2002 19:12:50 +0000 (19:12 +0000)]
Remove old constituent patches.

22 years agoTidy the way we call init/exit functions.
Alasdair Kergon [Wed, 20 Mar 2002 23:45:47 +0000 (23:45 +0000)]
Tidy the way we call init/exit functions.

22 years agoImprove log messages.
Alasdair Kergon [Wed, 20 Mar 2002 14:34:14 +0000 (14:34 +0000)]
Improve log messages.

22 years agoSupport device queries by uuid as well as by name. (Used by lvrename.)
Alasdair Kergon [Mon, 18 Mar 2002 23:39:41 +0000 (23:39 +0000)]
Support device queries by uuid as well as by name.  (Used by lvrename.)

22 years agoFix uuid kmalloc.
Alasdair Kergon [Mon, 18 Mar 2002 18:40:35 +0000 (18:40 +0000)]
Fix uuid kmalloc.

22 years agoo 1 byte too few was being allocated for the uuid. It took me all
Joe Thornber [Mon, 18 Mar 2002 17:48:44 +0000 (17:48 +0000)]
o 1 byte too few was being allocated for the uuid.  It took me all
  afternoon with kdb and a lot of debug code to find what was trashing
  the slabs !

/me throws a small planet at agk

22 years agofix improper if-elif
Andres Salomon [Fri, 15 Mar 2002 06:13:59 +0000 (06:13 +0000)]
fix improper if-elif

22 years agoAdd 2.4.18 patch
Andres Salomon [Fri, 15 Mar 2002 06:08:16 +0000 (06:08 +0000)]
Add 2.4.18 patch

22 years agoupdated
Andres Salomon [Fri, 15 Mar 2002 06:06:01 +0000 (06:06 +0000)]
updated

22 years agoo Duplicate code in snapshot_map and new_exception
Joe Thornber [Thu, 14 Mar 2002 17:48:57 +0000 (17:48 +0000)]
o  Duplicate code in snapshot_map and new_exception

22 years agoUpdate pre-built patches.
Alasdair Kergon [Thu, 14 Mar 2002 16:58:53 +0000 (16:58 +0000)]
Update pre-built patches.

22 years agodistclean also to remove libdm-common.h
Alasdair Kergon [Thu, 14 Mar 2002 16:56:02 +0000 (16:56 +0000)]
distclean also to remove libdm-common.h

22 years agoAdd dm-exception-store.c
Alasdair Kergon [Thu, 14 Mar 2002 16:24:55 +0000 (16:24 +0000)]
Add dm-exception-store.c

22 years agoo Add dm-snapshot.h and dm-exception-store.c to make links
Joe Thornber [Thu, 14 Mar 2002 16:19:55 +0000 (16:19 +0000)]
o  Add dm-snapshot.h and dm-exception-store.c to make links

22 years agoo split snapshot metadata handling into it's own file.
Joe Thornber [Thu, 14 Mar 2002 16:02:50 +0000 (16:02 +0000)]
o  split snapshot metadata handling into it's own file.

o  enable the inflight exceptions to use the same hash code as complete
   exceptions.

o  factor common code from dm_do_snapshot, snapshot_map into new_exception.

o  remove origin when there are no more snapshots against it.

o  reformat to fit the coding style used in the rest of dm.

22 years agoKeep a track of BHs submitted for sectors currently under the auspices of kcopyd
Patrick Caulfield [Thu, 14 Mar 2002 13:56:07 +0000 (13:56 +0000)]
Keep a track of BHs submitted for sectors currently under the auspices of kcopyd
and resubmit them (with a mirror) to the device when it has finished.

22 years agoSuppress verbose/debug messages from libdevmapper.
Alasdair Kergon [Thu, 14 Mar 2002 13:39:32 +0000 (13:39 +0000)]
Suppress verbose/debug messages from libdevmapper.

22 years agoA missing free() found by Valgrind. ( http://developer.kde.org/~sewardj/ )
Alasdair Kergon [Wed, 13 Mar 2002 23:19:20 +0000 (23:19 +0000)]
A missing free() found by Valgrind. ( http://developer.kde.org/~sewardj/ )

22 years agoRemove a noop.
Alasdair Kergon [Wed, 13 Mar 2002 17:30:28 +0000 (17:30 +0000)]
Remove a noop.

22 years agodmsetup display uuid
Alasdair Kergon [Wed, 13 Mar 2002 16:19:16 +0000 (16:19 +0000)]
dmsetup display uuid

22 years agoPut the fixes from the sync kcopyd into this one.
Patrick Caulfield [Wed, 13 Mar 2002 15:43:06 +0000 (15:43 +0000)]
Put the fixes from the sync kcopyd into this one.

22 years agoWake up processes wanting a work_item when we've freed a slab item too as that
Patrick Caulfield [Wed, 13 Mar 2002 15:41:44 +0000 (15:41 +0000)]
Wake up processes wanting a work_item when we've freed a slab item too as that
might be enough to kick it into life.

22 years agoMove rw_sem into the snapshot_c struct
Patrick Caulfield [Wed, 13 Mar 2002 14:52:00 +0000 (14:52 +0000)]
Move rw_sem into the snapshot_c struct

22 years agoFix _align so it works on 64-bit machines.
Patrick Caulfield [Tue, 12 Mar 2002 15:27:51 +0000 (15:27 +0000)]
Fix _align so it works on 64-bit machines.

22 years agoFix typo that could have caused an infinte loop in low-memory situations.
Patrick Caulfield [Tue, 12 Mar 2002 11:41:30 +0000 (11:41 +0000)]
Fix typo that could have caused an infinte loop in low-memory situations.
Mark free-list entries as such.

22 years agoFree work_item structures when we've finished with them.
Patrick Caulfield [Tue, 12 Mar 2002 10:37:31 +0000 (10:37 +0000)]
Free work_item structures when we've finished with them.

22 years agoUse slab cache for memory allocation. mucho speed improvements.
Patrick Caulfield [Tue, 12 Mar 2002 10:32:07 +0000 (10:32 +0000)]
Use slab cache for memory allocation. mucho speed improvements.

22 years agoLet dmsetup store the uuid on device creation.
Alasdair Kergon [Mon, 11 Mar 2002 22:44:35 +0000 (22:44 +0000)]
Let dmsetup store the uuid on device creation.

22 years agoAsync version of kcopyd. Only checked in so I don't lose it.
Patrick Caulfield [Mon, 11 Mar 2002 16:14:31 +0000 (16:14 +0000)]
Async version of kcopyd. Only checked in so I don't lose it.

22 years agoDon't Oops when doing I/O to an origin whose last snapshot has been removed.
Patrick Caulfield [Mon, 11 Mar 2002 16:06:48 +0000 (16:06 +0000)]
Don't Oops when doing I/O to an origin whose last snapshot has been removed.

22 years agoMade hash functions inlines rather than macros.
Patrick Caulfield [Fri, 8 Mar 2002 14:11:57 +0000 (14:11 +0000)]
Made hash functions inlines rather than macros.

22 years agoFormat comments so that they meet with Joe's approval <fx bows, scrapes>.
Patrick Caulfield [Fri, 8 Mar 2002 13:07:13 +0000 (13:07 +0000)]
Format comments so that they meet with Joe's approval <fx bows, scrapes>.
Actually there's a sarky comment I could make here but I will refrain.

22 years agoupdate comment
Alasdair Kergon [Fri, 8 Mar 2002 12:57:47 +0000 (12:57 +0000)]
update comment

22 years agoAllow suspended devices to be removed provided nothing has them open.
Alasdair Kergon [Fri, 8 Mar 2002 12:48:04 +0000 (12:48 +0000)]
Allow suspended devices to be removed provided nothing has them open.

22 years agoadd an "inflight" exception hash table to hold references to exceptions that are
Patrick Caulfield [Fri, 8 Mar 2002 12:42:54 +0000 (12:42 +0000)]
add an "inflight" exception hash table to hold references to exceptions that are
currently being handled by kcopyd.
This allows us to remove a lot of members from struct exception and
significantly reduce the size of the exception table.

22 years agoJoe's tidy-up patch.
Patrick Caulfield [Fri, 8 Mar 2002 09:08:26 +0000 (09:08 +0000)]
Joe's tidy-up patch.
This changes the number of args to dm-origin remember.

22 years agoo dm_destroy_all() called on exit - but doesn't touch suspended devices yet.
Alasdair Kergon [Thu, 7 Mar 2002 20:56:06 +0000 (20:56 +0000)]
o dm_destroy_all() called on exit - but doesn't touch suspended devices yet.
o 'dmsetup remove_all' calls dm_destroy_all() to provide a quick way to
  prepare for unloading the module
o Ran through indent again.

22 years agoo Store a string (uuid) with each mapped device in kernel so userspace can
Alasdair Kergon [Thu, 7 Mar 2002 17:26:36 +0000 (17:26 +0000)]
o Store a string (uuid) with each mapped device in kernel so userspace can
  match up devices later (ejt)
o Use _IOC_NR so struct dm_ioctl can be extended without breaking
  ioctl interface backward compatibility

22 years agoKernel functionality that returns device dependencies (ejt).
Alasdair Kergon [Wed, 6 Mar 2002 19:42:22 +0000 (19:42 +0000)]
Kernel functionality that returns device dependencies (ejt).

22 years agoo Rename dmsetup dependencies -> dmsetup deps
Joe Thornber [Wed, 6 Mar 2002 14:47:13 +0000 (14:47 +0000)]
o  Rename dmsetup dependencies -> dmsetup deps

22 years agoo Add support for getting dependencies for a device.
Joe Thornber [Wed, 6 Mar 2002 14:38:23 +0000 (14:38 +0000)]
o  Add support for getting dependencies for a device.

o  dmsetup dependencies <dev>

22 years agoremove debian native-ness
Andres Salomon [Wed, 6 Mar 2002 05:39:37 +0000 (05:39 +0000)]
remove debian native-ness

22 years ago2.4.18 patches
Alasdair Kergon [Tue, 5 Mar 2002 12:35:12 +0000 (12:35 +0000)]
2.4.18 patches

22 years ago2.4.18 patches
Alasdair Kergon [Tue, 5 Mar 2002 12:31:56 +0000 (12:31 +0000)]
2.4.18 patches

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

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