1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-11 09:18:25 +03:00
lvm2/lib
Dave Wysochanski d09baef532 Update vg_change_pesize() to contain all validity checks.
It would be nice to have one function that does all the validation
and setting of the VG's pesize.  However, currently some checks
are in the higher-level function _vgchange_pesize(), and some
checks are in the lower function vg_change_pesize().
This patch moves most of the higher-level checks inside
vg_change_pesize.  In one case a failure return code is
changed from ECMD_FAILED to EINVALID_CMD_LINE.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
2009-07-09 10:02:15 +00:00
..
activate Fix backward compatibility for major:minor query. 2009-06-17 20:55:24 +00:00
cache Fix pool leak in lvmcache_read_vg error path. 2009-04-24 12:03:55 +00:00
commands Make destroy_toolcontext() better able to handle NULL pointers. 2009-07-08 18:12:08 +00:00
config Add defines for default vgcreate parameters. 2009-07-09 10:00:36 +00:00
datastruct more missing bits 2008-11-04 14:57:06 +00:00
device Use the MD device's stripe-width, instead of chunk_size, to align the 2009-07-06 19:04:24 +00:00
display Continue to make --units and --size consistent (in code and man pages): 2009-07-07 19:28:57 +00:00
error Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
filters Fix segfault in persistent_filter_dump() if lvm init fails. 2009-07-08 18:13:32 +00:00
format1 Merge lv_is_displayable and lv_is_visible. 2009-05-13 21:27:43 +00:00
format_pool Introduce link_lv_to_vg and unlink_lv_from_vg functions. 2009-05-13 21:25:01 +00:00
format_text Make exit paths more robust when some init function fails. 2009-07-08 22:18:32 +00:00
freeseg Fix reporting of LV fields alongside unallocated PV segments. 2008-06-25 16:52:27 +00:00
label Make exit paths more robust when some init function fails. 2009-07-08 22:18:32 +00:00
locking Re-instate partial activation support in clustered mode. (mornfall) 2009-06-12 08:30:19 +00:00
log more tweaking to get things to compile - dmlib.h for log fns, list.h 2008-11-03 18:59:59 +00:00
metadata Update vg_change_pesize() to contain all validity checks. 2009-07-09 10:02:15 +00:00
mirror Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
misc Attempt cleanup in child before execing new binary in exec_cmd() 2009-02-28 00:54:06 +00:00
mm fix setpriority int error 2008-05-28 23:12:45 +00:00
report Pre-release cleanups. 2009-05-21 03:04:52 +00:00
snapshot Fix snapshot segment import to not use duplicate segments & replace. 2009-05-13 21:21:58 +00:00
striped Fix last check-ins: seg can be NULL. 2009-02-28 20:04:24 +00:00
uuid Add generic function to read /dev/urandom, used in uuid calculation. 2008-12-07 04:23:37 +00:00
zero Attempt to load dm-zero module if zero target needed but not present. (mbroz) 2009-05-27 13:05:53 +00:00
Makefile.in Build shared parts with 'make' command (mpatocka) 2009-06-03 11:31:06 +00:00