]> sourceware.org Git - lvm2.git/log
lvm2.git
22 years agoo Test program for the config unit. Just reads a config and then writes it
Joe Thornber [Thu, 1 Aug 2002 08:18:54 +0000 (08:18 +0000)]
o  Test program for the config unit.  Just reads a config and then writes it
   out again.

22 years agoRename lock_resource to file_lock_resource to avoid name clashes
Patrick Caulfield [Thu, 25 Jul 2002 09:04:30 +0000 (09:04 +0000)]
Rename lock_resource to file_lock_resource to avoid name clashes

22 years agoUse O_DIRECT for writing to devices.
Patrick Caulfield [Mon, 22 Jul 2002 08:10:54 +0000 (08:10 +0000)]
Use O_DIRECT for writing to devices.
Doesn't work on HPPA due to a kernel bug but other archs shuld be OK.

22 years agoRemove hard-coded extent_size from snapshot target (field no longer used).
Alasdair Kergon [Wed, 17 Jul 2002 17:00:54 +0000 (17:00 +0000)]
Remove hard-coded extent_size from snapshot target (field no longer used).

22 years agoImproved snapshot-related arg validation
Alasdair Kergon [Wed, 17 Jul 2002 16:04:05 +0000 (16:04 +0000)]
Improved snapshot-related arg validation

22 years agoi) Add the VISIBLE flag to the text format. (Other changes are pending
Joe Thornber [Thu, 11 Jul 2002 15:28:49 +0000 (15:28 +0000)]
i)  Add the VISIBLE flag to the text format.  (Other changes are pending
    for lib/activate.)

22 years agoi) Added a little macro to aid defining the status flags.
Joe Thornber [Thu, 11 Jul 2002 14:36:45 +0000 (14:36 +0000)]
i)  Added a little macro to aid defining the status flags.

22 years agoi) There's now a seperate field in struct logical_volume that stores the
Joe Thornber [Thu, 11 Jul 2002 14:21:49 +0000 (14:21 +0000)]
i)  There's now a seperate field in struct logical_volume that stores the
    allocation policy.  This can currently take one of three values:

   typedef enum {
        ALLOC_NEXT_FREE,
        ALLOC_STRICT,
        ALLOC_CONTIGUOUS
   } alloc_policy_t;

    Notice that 'SIMPLE' has turned into the slightly more meaningful NEXT_FREE.

ii) Put code into display.[hc] for converting one of these enums to a
    text representation and back again.

ii) Updated the text format so this also has the alloc_policy field.

22 years agotidy
Alasdair Kergon [Thu, 11 Jul 2002 14:09:26 +0000 (14:09 +0000)]
tidy

22 years agoAdd get_config_str
Alasdair Kergon [Thu, 11 Jul 2002 14:07:43 +0000 (14:07 +0000)]
Add get_config_str

22 years agoDon't log an error if we can't write the cache file because the FS is read-only.
Patrick Caulfield [Thu, 11 Jul 2002 09:23:29 +0000 (09:23 +0000)]
Don't log an error if we can't write the cache file because the FS is read-only.

Gets rid of that annoying error at shutdown.

22 years agoAdd --ignorelockingfailure
Alasdair Kergon [Wed, 10 Jul 2002 20:43:32 +0000 (20:43 +0000)]
Add --ignorelockingfailure

22 years agoMerge adjacent "Missing" segments.
Alasdair Kergon [Wed, 10 Jul 2002 13:54:17 +0000 (13:54 +0000)]
Merge adjacent "Missing" segments.

22 years agoo Add version number to text format.
Joe Thornber [Tue, 2 Jul 2002 18:47:43 +0000 (18:47 +0000)]
o  Add version number to text format.

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

22 years agoFlush on open as well as close.
Patrick Caulfield [Tue, 25 Jun 2002 14:02:28 +0000 (14:02 +0000)]
Flush on open as well as close.

22 years agoo Long-awaited ioctl interface clean-up. *** Not backwardly compatible ***
Alasdair Kergon [Wed, 19 Jun 2002 13:07:05 +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:17 +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 agoGet rid of compile warnings on 64bit platforms.
Patrick Caulfield [Fri, 7 Jun 2002 08:37:07 +0000 (08:37 +0000)]
Get rid of compile warnings on 64bit platforms.

22 years agoIncrement version.
Alasdair Kergon [Fri, 31 May 2002 19:33:30 +0000 (19:33 +0000)]
Increment version.

22 years agoAdd vgsplit.
Alasdair Kergon [Fri, 31 May 2002 19:30:51 +0000 (19:30 +0000)]
Add vgsplit.

22 years agoTidy/fix segment rounding.
Alasdair Kergon [Fri, 31 May 2002 19:29:43 +0000 (19:29 +0000)]
Tidy/fix segment rounding.

22 years agoTidy
Alasdair Kergon [Fri, 31 May 2002 19:28:37 +0000 (19:28 +0000)]
Tidy

22 years agoRemember to update VG free_count when reducing size of an LV.
Alasdair Kergon [Thu, 30 May 2002 16:08:19 +0000 (16:08 +0000)]
Remember to update VG free_count when reducing size of an LV.

22 years agoFix vgcfgrestore segfault (wrong variable used).
Alasdair Kergon [Thu, 30 May 2002 16:03:26 +0000 (16:03 +0000)]
Fix vgcfgrestore segfault (wrong variable used).

22 years agoupdate
Alasdair Kergon [Mon, 27 May 2002 13:00:18 +0000 (13:00 +0000)]
update

22 years ago o fix changed function names
AJ Lewis [Thu, 23 May 2002 14:13:21 +0000 (14:13 +0000)]
 o fix changed function names

22 years agoFix LVM1 backwards compatibility issue when LV with a low LV number is deleted.
Alasdair Kergon [Thu, 23 May 2002 11:37:51 +0000 (11:37 +0000)]
Fix LVM1 backwards compatibility issue when LV with a low LV number is deleted.

22 years agoo Remove ext3 incompatibility bug
Joe Thornber [Thu, 23 May 2002 08:20:44 +0000 (08:20 +0000)]
o Remove ext3 incompatibility bug

o Mention 2.4.18 VM problem

22 years agoupdate for .08
Andres Salomon [Thu, 23 May 2002 07:49:25 +0000 (07:49 +0000)]
update for .08

22 years agoRename; add some FIXMEs.
Alasdair Kergon [Wed, 22 May 2002 14:03:45 +0000 (14:03 +0000)]
Rename; add some FIXMEs.

22 years agoRevert to standard linux macros (for correct behaviour on rare architectures).
Alasdair Kergon [Tue, 21 May 2002 12:37:07 +0000 (12:37 +0000)]
Revert to standard linux macros (for correct behaviour on rare architectures).

22 years agoUpdate version.
Alasdair Kergon [Tue, 21 May 2002 12:14:05 +0000 (12:14 +0000)]
Update version.

22 years agoack, missing include
Andres Salomon [Sun, 19 May 2002 04:11:34 +0000 (04:11 +0000)]
ack, missing include

22 years agoupdate create_dir() comment
Andres Salomon [Sun, 19 May 2002 03:52:38 +0000 (03:52 +0000)]
update create_dir() comment

22 years agosupport recursive mkdir in create_dir()
Andres Salomon [Sun, 19 May 2002 03:46:34 +0000 (03:46 +0000)]
support recursive mkdir in create_dir()

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

22 years agoDrop the default chunk size for snapshots down to 8k
Joe Thornber [Mon, 13 May 2002 15:14:21 +0000 (15:14 +0000)]
Drop the default chunk size for snapshots down to 8k

22 years agoRewrite missing/corrupt metadata in more cases.
Alasdair Kergon [Mon, 13 May 2002 12:38:54 +0000 (12:38 +0000)]
Rewrite missing/corrupt metadata in more cases.

22 years ago o the _status fxns now take more arguments - this way i don't get the
AJ Lewis [Fri, 10 May 2002 16:06:06 +0000 (16:06 +0000)]
 o the _status fxns now take more arguments - this way i don't get the
   preparsed status info, shove it all into a string, and then parse it
   again to get the info back out (which is what i was doing before)
 o basically that's it...i like this *much* better than the previous
   method and i think it makes the _status fxn more flexible if we need
   to use it to get other info out.

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

22 years ago o Actually read snapshot percentage from the kernel - what a pain! :)
AJ Lewis [Thu, 9 May 2002 21:17:57 +0000 (21:17 +0000)]
 o Actually read snapshot percentage from the kernel - what a pain!  :)
 o Not sure if the code in dev_manager is really optimal, but it works..
   will look at adjusting it a bit now.
 o I *think* it works right when one snapshot if full but others aren't,
   but I haven't really been able to test it because the full snapshot
   somehow resets itself and weird things start happening to the system...

22 years agoRemove a no-op.
Alasdair Kergon [Thu, 9 May 2002 12:03:55 +0000 (12:03 +0000)]
Remove a no-op.

22 years ago o header should only be printed once...
AJ Lewis [Wed, 8 May 2002 17:58:52 +0000 (17:58 +0000)]
 o header should only be printed once...

22 years ago o Added function find_snapshots to snapshot_manip.c that returns a list
AJ Lewis [Wed, 8 May 2002 16:57:46 +0000 (16:57 +0000)]
 o Added function find_snapshots to snapshot_manip.c that returns a list
   of snapshots whose origin is the lv passed in.
 o Used this new function to make lvdisplay properly display all snapshots
   attached to a origin.

22 years agoi) Put back chunksize_ARG for lvcreate.
Joe Thornber [Wed, 8 May 2002 14:36:10 +0000 (14:36 +0000)]
i)  Put back chunksize_ARG for lvcreate.

22 years agoAlways call init_log() to initialise logging defaults.
Alasdair Kergon [Wed, 8 May 2002 12:26:45 +0000 (12:26 +0000)]
Always call init_log() to initialise logging defaults.

22 years agoimplement our own swabbing functions, instead of relying on the kernel's.
Andres Salomon [Tue, 7 May 2002 15:28:59 +0000 (15:28 +0000)]
implement our own swabbing functions, instead of relying on the kernel's.

22 years agolog/{prefix,command_names} use defaults.h & reset between shell cmds
Alasdair Kergon [Tue, 7 May 2002 13:00:01 +0000 (13:00 +0000)]
log/{prefix,command_names} use defaults.h & reset between shell cmds

22 years agoDefault values for some display output settings
Alasdair Kergon [Tue, 7 May 2002 12:50:01 +0000 (12:50 +0000)]
Default values for some display output settings

22 years agoTweaks
Alasdair Kergon [Tue, 7 May 2002 12:47:11 +0000 (12:47 +0000)]
Tweaks

22 years agoupdated.
Andres Salomon [Tue, 7 May 2002 06:13:03 +0000 (06:13 +0000)]
updated.

22 years agoMake lvm2 compile on big endian archs; use the kernel/glibc's endian
Andres Salomon [Tue, 7 May 2002 05:54:14 +0000 (05:54 +0000)]
Make lvm2 compile on big endian archs; use the kernel/glibc's endian
conversion stuff, instead of implementing our own.  Tested on a little
endian system (x86); I'll let the debian handle big endian testing.  :)

22 years ago o Will now correctly remove expired achive files from the system when
AJ Lewis [Fri, 3 May 2002 19:28:07 +0000 (19:28 +0000)]
 o Will now correctly remove expired achive files from the system when
   archive_vg is called.
 o Added a #define to the top of the file - not sure if this is the
   appropriate place for it though

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

22 years agoforgot to add Conflicts against lvm1 packages
Andres Salomon [Fri, 3 May 2002 04:57:49 +0000 (04:57 +0000)]
forgot to add Conflicts against lvm1 packages

22 years agoupdated for 0.95.05-2.
Andres Salomon [Fri, 3 May 2002 04:43:46 +0000 (04:43 +0000)]
updated for 0.95.05-2.

22 years agoditto
Andres Salomon [Fri, 3 May 2002 04:43:24 +0000 (04:43 +0000)]
ditto

22 years agodh_installinit makes a perfectly find postrm script..
Andres Salomon [Fri, 3 May 2002 04:13:02 +0000 (04:13 +0000)]
dh_installinit makes a perfectly find postrm script..

22 years agoUpdate.
Alasdair Kergon [Tue, 30 Apr 2002 17:13:43 +0000 (17:13 +0000)]
Update.

22 years agoSome partial VG support with format_text.
Alasdair Kergon [Tue, 30 Apr 2002 17:12:37 +0000 (17:12 +0000)]
Some partial VG support with format_text.

22 years agoget_vgs must check for text format VGs when no lvm1 format VGs present
Alasdair Kergon [Tue, 30 Apr 2002 12:27:13 +0000 (12:27 +0000)]
get_vgs must check for text format VGs when no lvm1 format VGs present

22 years ago o Updated *display output for LVM1 compatibility
AJ Lewis [Mon, 29 Apr 2002 21:43:14 +0000 (21:43 +0000)]
 o Updated *display output for LVM1 compatibility
 o There is still a bit missing
   + all are missing the {PV,VG,LV} # - that is not applicable in LVM2
   + pvdisplay doesn't show how many LVs are contained on it
   + much of the snapshot information isn't available for lvdisplay
 o Look at the code for other potiential FIXMEs  :)

22 years agoChanged DEFAULT_PV and DEFAULT_LV to 256 (has been fixed in LVM1 before)
Heinz Mauelshagen [Thu, 25 Apr 2002 10:53:58 +0000 (10:53 +0000)]
Changed DEFAULT_PV and DEFAULT_LV to 256 (has been fixed in LVM1 before)

22 years agoUpdated for new release
Andres Salomon [Thu, 25 Apr 2002 06:12:07 +0000 (06:12 +0000)]
Updated for new release

22 years agoUpdate example config
Alasdair Kergon [Wed, 24 Apr 2002 18:41:02 +0000 (18:41 +0000)]
Update example config

22 years agoMerge with text format branch.
Alasdair Kergon [Wed, 24 Apr 2002 18:20:51 +0000 (18:20 +0000)]
Merge with text format branch.

Lots of changes/very little testing so far => there'll be bugs!

Use 'vgcreate -M text' to create a volume group with its metadata stored
in text files.  Text format metadata changes should be reasonably atomic,
with a (basic) automatic recovery mechanism if the system crashes while a
change is in progress.

Add a metadata section to lvm.conf to specify multiple directories if
you want (recommended) to keep multiple copies of the metadata (eg on
different filesystems).

e.g. metadata {
        dirs = ["/etc/lvm/metadata1","/usr/local/lvm/metadata2"]
}

Plenty of refinements still in the pipeline.

22 years agoadd setlocale() call so that localisation of things like number entry
Patrick Caulfield [Wed, 24 Apr 2002 10:42:09 +0000 (10:42 +0000)]
add setlocale() call so that localisation of things like number entry
and display will work correctly.

22 years agoo Stop printing errors if flushing fails (could be an unconfigured device).
Joe Thornber [Wed, 24 Apr 2002 08:37:34 +0000 (08:37 +0000)]
o  Stop printing errors if flushing fails (could be an unconfigured device).

22 years agoPrepare for another beta release.
Alasdair Kergon [Tue, 23 Apr 2002 22:13:04 +0000 (22:13 +0000)]
Prepare for another beta release.

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

22 years agoMissing seg->lv gives segfault when activating from text format.
Alasdair Kergon [Tue, 16 Apr 2002 19:41:54 +0000 (19:41 +0000)]
Missing seg->lv gives segfault when activating from text format.

22 years agoAllow deactivation of final snapshot.
Alasdair Kergon [Tue, 16 Apr 2002 14:42:20 +0000 (14:42 +0000)]
Allow deactivation of final snapshot.

22 years agoo Added support for chunk_size to lvcreate.
Joe Thornber [Mon, 15 Apr 2002 18:49:20 +0000 (18:49 +0000)]
o  Added support for chunk_size to lvcreate.

22 years agoMissing VG lock when iterating through all LVs.
Alasdair Kergon [Mon, 15 Apr 2002 16:27:39 +0000 (16:27 +0000)]
Missing VG lock when iterating through all LVs.

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 agoo Drop the default chunk size for snapshots down to 16k.
Joe Thornber [Mon, 15 Apr 2002 08:41:00 +0000 (08:41 +0000)]
o  Drop the default chunk size for snapshots down to 16k.

22 years agoImplement a no_locking module that *does* attempt activation.
Alasdair Kergon [Thu, 11 Apr 2002 14:10:32 +0000 (14:10 +0000)]
Implement a no_locking module that *does* attempt activation.

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

22 years agoReturn status from _lv_activate and friends.
Patrick Caulfield [Thu, 11 Apr 2002 09:14:04 +0000 (09:14 +0000)]
Return status from _lv_activate and friends.

Alasdair, I think this is right (and I need it) but you may like to check.

22 years agoRemove \n from log messages.
Patrick Caulfield [Wed, 10 Apr 2002 15:49:47 +0000 (15:49 +0000)]
Remove \n from log messages.

22 years agoo Perform a BLKFLSBUF ioctl whenever a block device is closed.
Joe Thornber [Mon, 8 Apr 2002 18:59:50 +0000 (18:59 +0000)]
o  Perform a BLKFLSBUF ioctl whenever a block device is closed.

Patrick, can you see if this fixes your cluster syncing problem please ?
If so I'll make it so it only syncs if you have actually written to the
device.

22 years agoImplement an external locking interface.
Patrick Caulfield [Mon, 8 Apr 2002 16:04:50 +0000 (16:04 +0000)]
Implement an external locking interface.

22 years agoFix prototype.
Patrick Caulfield [Mon, 8 Apr 2002 13:35:09 +0000 (13:35 +0000)]
Fix prototype.

22 years agoFix lv_setup() not to generate a new lvid each time if asked to setup the
Alasdair Kergon [Fri, 5 Apr 2002 14:32:22 +0000 (14:32 +0000)]
Fix lv_setup() not to generate a new lvid each time if asked to setup the
same LV more than once - subsequent times validate only.

22 years agoMake lock type numbers match the DLM numbers in use, and move UNLOCK out
Patrick Caulfield [Thu, 4 Apr 2002 13:31:21 +0000 (13:31 +0000)]
Make lock type numbers match the DLM numbers in use, and move UNLOCK out
of the way.

22 years agoRename LCK_NONE to LCK_UNLOCK
Alasdair Kergon [Thu, 4 Apr 2002 11:18:45 +0000 (11:18 +0000)]
Rename LCK_NONE to LCK_UNLOCK

22 years agoTidying.
Alasdair Kergon [Wed, 3 Apr 2002 12:17:55 +0000 (12:17 +0000)]
Tidying.

22 years agoCope with creation of additional snapshots while active.
Alasdair Kergon [Wed, 27 Mar 2002 18:17:43 +0000 (18:17 +0000)]
Cope with creation of additional snapshots while active.
(More work on suspension dependencies still needed.)

22 years agoSnapshots are now attached to their origin device for locking purposes
Alasdair Kergon [Tue, 26 Mar 2002 15:01:57 +0000 (15:01 +0000)]
Snapshots are now attached to their origin device for locking purposes
so lock the origin instead of the snapshot itself when creating one.

22 years agoNew-style persistent minor support.
Alasdair Kergon [Tue, 26 Mar 2002 13:41:37 +0000 (13:41 +0000)]
New-style persistent minor support.

22 years agoo read-only device support
Alasdair Kergon [Mon, 25 Mar 2002 18:54:59 +0000 (18:54 +0000)]
o read-only device support
o name/uuid disambiguation

22 years agoFix typo.
Alasdair Kergon [Mon, 25 Mar 2002 18:50:37 +0000 (18:50 +0000)]
Fix typo.

22 years agoall people to actually uninstall lvm2 (*grin*)
Andres Salomon [Sat, 23 Mar 2002 08:23:15 +0000 (08:23 +0000)]
all people to actually uninstall lvm2 (*grin*)

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

22 years agoBetter support for LVs with hyphens in names.
Alasdair Kergon [Tue, 19 Mar 2002 16:41:44 +0000 (16:41 +0000)]
Better support for LVs with hyphens in names.

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

22 years agolvrename works on snapshots now
Alasdair Kergon [Mon, 18 Mar 2002 23:25:50 +0000 (23:25 +0000)]
lvrename works on snapshots now

22 years agoTie all snapshot (de)activation requests to (de)activation of origin device.
Alasdair Kergon [Mon, 18 Mar 2002 13:09:27 +0000 (13:09 +0000)]
Tie all snapshot (de)activation requests to (de)activation of origin device.

22 years agos/Removing/Unloading/ in messages to reduce confusion
Alasdair Kergon [Fri, 15 Mar 2002 23:01:59 +0000 (23:01 +0000)]
s/Removing/Unloading/ in messages to reduce confusion

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