]>
sourceware.org Git - lvm2.git/log
Alasdair Kergon [Fri, 14 Dec 2007 17:57:04 +0000 (17:57 +0000)]
Fix deptree to pass new name to _resume_node after a rename.
Alasdair Kergon [Fri, 14 Dec 2007 17:26:09 +0000 (17:26 +0000)]
Add node operation stack debug messages.
Alasdair Kergon [Thu, 13 Dec 2007 02:25:45 +0000 (02:25 +0000)]
Report error when empty device name passed to readahead functions.
Alasdair Kergon [Wed, 5 Dec 2007 22:48:06 +0000 (22:48 +0000)]
post-release
Alasdair Kergon [Wed, 5 Dec 2007 22:45:56 +0000 (22:45 +0000)]
clarify
Alasdair Kergon [Wed, 5 Dec 2007 22:19:24 +0000 (22:19 +0000)]
pre-release
N.B. This is a big release and some regressions are inevitable.
Alasdair Kergon [Wed, 5 Dec 2007 22:11:20 +0000 (22:11 +0000)]
export can_split parameter until rest of pvmove allocation restructuring gets done
Alasdair Kergon [Wed, 5 Dec 2007 19:24:32 +0000 (19:24 +0000)]
round readahead to multiple of page size in tools
Alasdair Kergon [Wed, 5 Dec 2007 18:57:34 +0000 (18:57 +0000)]
Fix minimum readahead debug message.
Alasdair Kergon [Wed, 5 Dec 2007 17:14:30 +0000 (17:14 +0000)]
post-release
Alasdair Kergon [Wed, 5 Dec 2007 17:05:04 +0000 (17:05 +0000)]
pre-release
Alasdair Kergon [Wed, 5 Dec 2007 16:28:19 +0000 (16:28 +0000)]
clarify when read_ahead may be set
Alasdair Kergon [Wed, 5 Dec 2007 16:24:41 +0000 (16:24 +0000)]
work out device name to use for read ahead request
Alasdair Kergon [Wed, 5 Dec 2007 14:42:10 +0000 (14:42 +0000)]
read_ahead in report with underscore to match lvm2 field
Alasdair Kergon [Wed, 5 Dec 2007 14:11:26 +0000 (14:11 +0000)]
fix ioctls to use long not int
update dm-ioctl.h after compat tidy-up
Patrick Caulfield [Wed, 5 Dec 2007 13:17:18 +0000 (13:17 +0000)]
Tidy the clvmd backup code.
Move the backups inside the protection of the VG lock,
Don't backup if we have a suspended LV
Correct the vg_read() call
Jim Meyering [Wed, 5 Dec 2007 09:49:08 +0000 (09:49 +0000)]
Avoid spurious test failure when compiled with readline support.
* test/t-000-basic.sh: Invoke initial test of lvm with its "version"
argument, so that the behavior of the tool doesn't depend on whether
readline was enabled at configure time.
Author: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Committer: Jim Meyering <meyering@redhat.com>
Patrick Caulfield [Tue, 4 Dec 2007 15:39:26 +0000 (15:39 +0000)]
When we unlock a VG tell the clvmds to see if a backup of the metadata needs
to be done.
Alasdair Kergon [Mon, 3 Dec 2007 22:53:04 +0000 (22:53 +0000)]
fixme
Alasdair Kergon [Mon, 3 Dec 2007 22:48:36 +0000 (22:48 +0000)]
fixes
Alasdair Kergon [Mon, 3 Dec 2007 18:00:38 +0000 (18:00 +0000)]
fix changed parms
Alasdair Kergon [Mon, 3 Dec 2007 17:56:36 +0000 (17:56 +0000)]
missing #include
Alasdair Kergon [Fri, 30 Nov 2007 16:44:42 +0000 (16:44 +0000)]
fix
Alasdair Kergon [Fri, 30 Nov 2007 16:42:26 +0000 (16:42 +0000)]
readahead support completed - untested
Alasdair Kergon [Fri, 30 Nov 2007 14:59:57 +0000 (14:59 +0000)]
read_ahead node ops
Alasdair Kergon [Thu, 29 Nov 2007 15:04:12 +0000 (15:04 +0000)]
uncomment libdevmapper readahead calls
Alasdair Kergon [Thu, 29 Nov 2007 14:44:28 +0000 (14:44 +0000)]
refine specification of dmsetup readahead
Alasdair Kergon [Tue, 27 Nov 2007 20:57:05 +0000 (20:57 +0000)]
add read_ahead functions to library and dmsetup --readahead
(Not live yet.)
Petr Rockai [Tue, 27 Nov 2007 12:26:06 +0000 (12:26 +0000)]
Fix a possible double-free in libdevmapper-event.
Alasdair Kergon [Thu, 22 Nov 2007 14:54:35 +0000 (14:54 +0000)]
drop mirrored_pv/mirrored_pe from alloc handle
Alasdair Kergon [Thu, 22 Nov 2007 13:57:21 +0000 (13:57 +0000)]
Start refactoring pvmove allocation code.
Alasdair Kergon [Thu, 22 Nov 2007 01:25:06 +0000 (01:25 +0000)]
FIXMEs for case where dm itself has device open
Alasdair Kergon [Mon, 19 Nov 2007 18:24:08 +0000 (18:24 +0000)]
note pvmove breakage
Alasdair Kergon [Fri, 16 Nov 2007 21:16:20 +0000 (21:16 +0000)]
Decode cluster locking state in log message. (untested)
Change file locking state messages from debug to very verbose.
Alasdair Kergon [Thu, 15 Nov 2007 22:11:18 +0000 (22:11 +0000)]
move pvresize_single back under tools
Alasdair Kergon [Thu, 15 Nov 2007 21:59:11 +0000 (21:59 +0000)]
Fix --addtag to drop @ prefix from name
Alasdair Kergon [Thu, 15 Nov 2007 21:30:52 +0000 (21:30 +0000)]
more vg_read lock fixes
Patrick Caulfield [Thu, 15 Nov 2007 10:16:14 +0000 (10:16 +0000)]
If the pre_command fails then go back and wait patiently for the next
pre function rather than retrying it until we get stuck!
Alasdair Kergon [Thu, 15 Nov 2007 02:55:22 +0000 (02:55 +0000)]
define LCK_NONE for cases when vg_lock_and_read already holds lock
(temporary - library will use internal ref counting instead)
Alasdair Kergon [Thu, 15 Nov 2007 02:53:49 +0000 (02:53 +0000)]
another vg_lock_and_read
Alasdair Kergon [Thu, 15 Nov 2007 02:20:03 +0000 (02:20 +0000)]
Convert some vg_reads into vg_lock_and_reads
Alasdair Kergon [Wed, 14 Nov 2007 18:41:05 +0000 (18:41 +0000)]
Avoid nested vg_reads when processing PVs in VGs and fix associated locking.
Patrick Caulfield [Wed, 14 Nov 2007 13:37:51 +0000 (13:37 +0000)]
Make it compile with new lv_info_by_lvid() prototype
Alasdair Kergon [Wed, 14 Nov 2007 00:08:25 +0000 (00:08 +0000)]
Accept sizes with --readahead argument.
Store size arguments as sectors internally.
Alasdair Kergon [Mon, 12 Nov 2007 21:50:21 +0000 (21:50 +0000)]
fix precedence
Alasdair Kergon [Mon, 12 Nov 2007 20:51:54 +0000 (20:51 +0000)]
readahead activation code (but no dm support yet)
Alasdair Kergon [Mon, 12 Nov 2007 20:47:18 +0000 (20:47 +0000)]
Add DM_READ_AHEAD_MINIMUM_FLAG
Dave Wysochanski [Mon, 12 Nov 2007 20:02:55 +0000 (20:02 +0000)]
Fix compile warnings / minor errors introduced recently.
Alasdair Kergon [Mon, 12 Nov 2007 14:36:57 +0000 (14:36 +0000)]
Remove new mirror logs when creation fails.
Alasdair Kergon [Mon, 12 Nov 2007 13:34:14 +0000 (13:34 +0000)]
Attempt to remove incomplete LVs with lvcreate zeroing/activation problems.
Alasdair Kergon [Fri, 9 Nov 2007 16:52:36 +0000 (16:52 +0000)]
Define DM_READ_AHEAD_AUTO and DM_READ_AHEAD_NONE.
Alasdair Kergon [Fri, 9 Nov 2007 16:51:54 +0000 (16:51 +0000)]
Enhance the management of readahead settings.
Alasdair Kergon [Wed, 7 Nov 2007 16:33:12 +0000 (16:33 +0000)]
Prevent lvconvert -s from using same LV as origin and snapshot.
Alasdair Kergon [Mon, 5 Nov 2007 17:17:55 +0000 (17:17 +0000)]
Add pv_mda_free and vg_mda_free fields to reports for raw text format.
Alasdair Kergon [Mon, 5 Nov 2007 17:13:54 +0000 (17:13 +0000)]
attempt to fix human-readable unit output when number of sectors is odd
Alasdair Kergon [Mon, 5 Nov 2007 17:12:50 +0000 (17:12 +0000)]
fix inverted orphan test
Alasdair Kergon [Mon, 5 Nov 2007 02:10:39 +0000 (02:10 +0000)]
adjust sizes for metadata
Alasdair Kergon [Mon, 5 Nov 2007 01:47:49 +0000 (01:47 +0000)]
Show 'not usable' space when PV is too large for device in pvdisplay.
Ignore and fix up any excessive device size found in metadata.
Alasdair Kergon [Sun, 4 Nov 2007 19:16:34 +0000 (19:16 +0000)]
Add LVM2 version to 'Generated by' comment in metadata.
Alasdair Kergon [Sun, 4 Nov 2007 16:28:57 +0000 (16:28 +0000)]
fix new lvremove checks - mustn't fail when activation is disabled
Alasdair Kergon [Sun, 4 Nov 2007 15:43:50 +0000 (15:43 +0000)]
Fix error message when fixing up PV size in lvm2 metadata (2.02.11).
Alasdair Kergon [Fri, 2 Nov 2007 20:40:05 +0000 (20:40 +0000)]
Fix orphan-related locking in pvdisplay and pvs.
Fix missing VG unlocks in some pvchange error paths.
Add some missing validation of VG names.
Rename validate_vg_name() to validate_new_vg_name().
Change orphan lock to VG_ORPHANS.
Change format1 to use ORPHAN as orphan VG name.
Bryn M. Reeves [Fri, 2 Nov 2007 14:54:40 +0000 (14:54 +0000)]
Convert pvchange, pvdisplay, pvscan to use is_orphan()
Bryn M. Reeves [Fri, 2 Nov 2007 13:06:42 +0000 (13:06 +0000)]
Add is_orphan_vg() and change all hardcoded checks to use it.
Alasdair Kergon [Wed, 24 Oct 2007 11:24:24 +0000 (11:24 +0000)]
explanation of md superblock location & avoid compilation warnings
Alasdair Kergon [Wed, 24 Oct 2007 00:51:05 +0000 (00:51 +0000)]
Detect md superblocks version 1.0, 1.1 and 1.2.
Alasdair Kergon [Wed, 24 Oct 2007 00:30:30 +0000 (00:30 +0000)]
refactor dev-md.c, separating out the magic number detection
Dave Wysochanski [Fri, 12 Oct 2007 21:08:38 +0000 (21:08 +0000)]
Remove comment about allocation of pv->vg_name.
Dave Wysochanski [Fri, 12 Oct 2007 18:37:19 +0000 (18:37 +0000)]
Add _alloc_pv() and _free_pv() from _pv_create() code and fix error paths.
Modified original patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Dave Wysochanski [Fri, 12 Oct 2007 14:29:32 +0000 (14:29 +0000)]
Add pv_dev_name() to access PV device name.
Patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Dave Wysochanski [Fri, 12 Oct 2007 14:08:10 +0000 (14:08 +0000)]
Accessor functions for PV will not modify the given PV.
So we can add 'const' to it.
Patch by Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
Dave Wysochanski [Thu, 11 Oct 2007 19:20:38 +0000 (19:20 +0000)]
Non-functional change - refactor lv_create_empty().
Remove struct format_instance param - we can safely obtain
this from vg->fid inside the function.
Dave Wysochanski [Thu, 11 Oct 2007 18:51:21 +0000 (18:51 +0000)]
Non-functional change - refactor vg_add_snapshot fid parameter.
Alasdair Kergon [Wed, 10 Oct 2007 11:31:21 +0000 (11:31 +0000)]
Handle new sysfs subsystem/block/devices directory structure.
Alasdair Kergon [Wed, 10 Oct 2007 00:02:03 +0000 (00:02 +0000)]
Fix configure --with-dmeventd-path substitution.
Jim Meyering [Tue, 9 Oct 2007 13:13:06 +0000 (13:13 +0000)]
Run tests with LVM_SYSTEM_DIR pointing to private root and /dev dirs.
This makes the tests more reproducible and helps isolate
them from any existing LVM set-up.
* test/Makefile.in (abs_builddir): Define.
(init.sh): Emit definition of abs_builddir.
* test/lvm-utils.sh (unsafe_losetup_): Keep only the portable,
iterative approach.
(dmsetup_has_dm_devdir_support_): New function.
(init_root_dir_): New function.
Invoke init_root_dir_ for all but the first test.
* test/test-lib.sh (this_test_): Adapt to test-name change.
Invoke lvm-utils.sh much later (after tmpdir creation), and
only if the current test is not being skipped.
Remove useless abs_top_srcdir definition.
Rename t0->test_dir_rand_.
* test/t-lvcreate-pvtags.sh: Skip this test if the available
version of dmsetup is not new enough.
Use global, $G_dev_, rather than hard-coded "/dev".
* test/t-lvcreate-usage.sh: Make --verbose output more useful.
Author: Jim Meyering <jim@meyering.net>
Committer: Jim Meyering <meyering@redhat.com>
Jim Meyering [Tue, 9 Oct 2007 12:14:48 +0000 (12:14 +0000)]
Allow $DM_DEV_DIR envvar to override default of "/dev".
* dmsetup/dmsetup.c (DEV_PATH): Remove definition.
(parse_loop_device_name): Add parameter: dev_dir.
Declare the "dev" parameter to be "const".
Use dev_dir, not DEV_PATH. Handle the case in which dev_dir
does not end in a "/".
(_get_abspath): Declare "path" parameter "const", to match.
(_process_losetup_switches): Add parameter: dev_dir.
Pass dev_dir to parse_loop_device_name.
(_process_switches): Add parameter: dev_dir.
Pass dev_dir to _process_losetup_switches.
(main): Set dev_dir from the DM_DEV_DIR envvar, else to "/dev".
Call dm_set_dev_dir.
* lib/libdm-common.c (dm_set_dev_dir): Rewrite to be careful
about boundary conditions, now that dev_dir may be tainted.
* man/dmsetup.8: Mention $DM_DEV_DIR.
Author: Jim Meyering <meyering@redhat.com>
Jim Meyering [Wed, 3 Oct 2007 16:10:04 +0000 (16:10 +0000)]
Fix the fsadm build failure without using -llvm.
* lib/misc/util.c (last_path_component): Move definition to ...
* lib/misc/last-path-component.h (last_path_component): ...here.
New file. Make the function "static inline".
* include/.symlinks: Add last-path-component.h.
* lib/misc/util.h (last_path_component): Remove declaration.
* tools/fsadm/fsadm.c: Include "last-path-component.h".
* tools/lvmcmdline.c: Likewise.
Author: Jim Meyering <meyering@redhat.com>
Jim Meyering [Wed, 3 Oct 2007 16:08:18 +0000 (16:08 +0000)]
Revert last change. fsadm must not depend on -llvm.
Author: Jim Meyering <meyering@redhat.com>
Petr Rockai [Wed, 3 Oct 2007 15:00:51 +0000 (15:00 +0000)]
a) use dmsetup version to check for dmsetup, but if it fails, set
DMSETUP=: to disable dmsetup checks (but let the script run
nevertheless); warn the user if this is the case
b) put the non-root and dmsetup warnings both at start and end of
output
Jim Meyering [Wed, 3 Oct 2007 10:48:27 +0000 (10:48 +0000)]
Arrange for "make clean" to remove the symlink, too.
* make.tmpl.in ($(VERSIONED_SHLIB)): Move rule to...
* lib/Makefile.in ($(VERSIONED_SHLIB)): ...here, removing the
$(interface)/ prefix.
Reported by Milan Broz.
Author: Jim Meyering <meyering@redhat.com>
Jim Meyering [Wed, 3 Oct 2007 09:46:57 +0000 (09:46 +0000)]
Avoid link failure when building fsadm.
* tools/fsadm/Makefile.in (LVMLIBS): Define.
(fsadm): Link with $(LVMLIBS).
Author: Nix <nix@esperi.org.uk>
Petr Rockai [Tue, 2 Oct 2007 16:09:46 +0000 (16:09 +0000)]
Fix underquotations in lvm_dump.sh.
Petr Rockai [Tue, 2 Oct 2007 15:48:58 +0000 (15:48 +0000)]
Fix a bug in lvm_dump.sh checks for lvm/dmsetup binaries quote the
invocations a bit more (although i'm fairly sure there are still
quotes missing somewhere due to the eval in log).
Dave Wysochanski [Mon, 1 Oct 2007 15:01:26 +0000 (15:01 +0000)]
Remove unused pargc parameter
Jim Meyering [Tue, 25 Sep 2007 08:28:57 +0000 (08:28 +0000)]
doc/testing.txt: Fix typo: s/this/thing/.
Author: Jim Meyering <jim@meyering.net>
Dave Wysochanski [Mon, 24 Sep 2007 21:30:00 +0000 (21:30 +0000)]
Some const fixups for previous checkins
Jim Meyering [Mon, 24 Sep 2007 19:19:18 +0000 (19:19 +0000)]
Avoid over-quoting in shell scripts.
Do not use "..." around the RHS of VAR= assignment,
nor on the argument of "case ... in ...".
Author: Jim Meyering <jim@meyering.net>
Dave Wysochanski [Mon, 24 Sep 2007 13:29:49 +0000 (13:29 +0000)]
Refactor lvcreate mirror parameter validation.
Dave Wysochanski [Mon, 24 Sep 2007 13:25:31 +0000 (13:25 +0000)]
Refactor lvcreate stripe parameter validation.
Dave Wysochanski [Fri, 21 Sep 2007 21:14:25 +0000 (21:14 +0000)]
add tests to validate lvextend %PVS
Jim Meyering [Fri, 21 Sep 2007 18:43:55 +0000 (18:43 +0000)]
Don't emit a trailing newline to stderr.
* tools/lvmcmdline.c (_short_usage): Remove trailing "\n".
Spotted by Alasdair G. Kergon.
Author: Jim Meyering <jim@meyering.net>
Jim Meyering [Fri, 21 Sep 2007 18:06:56 +0000 (18:06 +0000)]
Print --help output to stdout, not stderr.
* tools/lvmcmdline.c (_usage): Use log_print, not log_error.
Author: Jim Meyering <jim@meyering.net>
Jim Meyering [Fri, 21 Sep 2007 18:06:33 +0000 (18:06 +0000)]
After a diagnostic, suggest --help, rather than printing all --help output.
Print just one line:
Use `COMMAND --help' for more information.
after "real" diagnostic(s), rather than all of the usage lines.
Otherwise, the 30-40+ lines of --help output could obscure the real diagnostic.
Author: Jim Meyering <jim@meyering.net>
Jim Meyering [Fri, 21 Sep 2007 17:12:13 +0000 (17:12 +0000)]
Rename test scripts not to include the 4-digit number.
Author: Jim Meyering <jim@meyering.net>
Jim Meyering [Fri, 21 Sep 2007 10:16:45 +0000 (10:16 +0000)]
Correct typo in comments: s/is part of the LVM2/is part of LVM2/.
Signed-off-by: Jim Meyering <jim@meyering.net>
Author: Jim Meyering <jim@meyering.net>
Dave Wysochanski [Thu, 20 Sep 2007 21:39:08 +0000 (21:39 +0000)]
Add %PVS extents option to lvresize, lvextend, and lvcreate.
Jim Meyering [Tue, 18 Sep 2007 21:07:21 +0000 (21:07 +0000)]
test/t3000-lvcreate-pvtags.sh: Use better test names.
Author: Jim Meyering <jim@meyering.net>
Jim Meyering [Tue, 18 Sep 2007 18:26:32 +0000 (18:26 +0000)]
* configure.in (AC_CONFIG_FILES): Remove the test/*/Makefile names
corresponding to the recently-removed directories.
* configure: Regenerate.
Reported by Dave Wysochanski.
Author: Jim Meyering <jim@meyering.net>
Jim Meyering [Tue, 18 Sep 2007 14:29:06 +0000 (14:29 +0000)]
test/Makefile.in (lvm-wrapper): Use $(DMDIR)/lib/, not $(DMDIR)/lib/ioctl/.
Author: Jim Meyering <jim@meyering.net>
This page took 0.070343 seconds and 5 git commands to generate.