From 6c7b95f281253368a04582e243a9cede0d698c45 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Fri, 4 Feb 2011 22:07:43 +0000 Subject: [PATCH] pre-release --- VERSION | 2 +- VERSION_DM | 2 +- WHATS_NEW | 12 ++++++------ WHATS_NEW_DM | 8 ++++++-- lib/activate/fs.c | 5 +++-- libdm/libdm-common.c | 5 +++-- 6 files changed, 20 insertions(+), 14 deletions(-) diff --git a/VERSION b/VERSION index 03b5dc94e..ee2399742 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.02.83(2)-cvs (2011-01-24) +2.02.83(2)-cvs (2011-02-04) diff --git a/VERSION_DM b/VERSION_DM index e16e8cf4c..07c9d0013 100644 --- a/VERSION_DM +++ b/VERSION_DM @@ -1 +1 @@ -1.02.62-cvs (2011-01-24) +1.02.62-cvs (2011-02-04) diff --git a/WHATS_NEW b/WHATS_NEW index a43433f03..41761d209 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,9 +1,9 @@ -Version 2.02.83 - +Version 2.02.83 - 4th February 2011 =================================== Allow exclusive activation of snapshots in a cluster. - Add --addnodeonresume, --addnodeoncreate options for dmsetup create. - Use cluster-wide message to request device name sync. - Fix operation node stacking for consecutive dm ops. + Leave EX lock unchanged when suspending a device in clvmd. + Use sync_dev_names in unlock_vg macro for cluster-wide dev name sync. + Fix fs operation stack handling when multiple operations on same device. Increase hash table size to 1024 lv names and 64 pv uuids. Remove fs_unlock() from lv_resume path. Fix wipe size when setting up mda. @@ -12,10 +12,10 @@ Version 2.02.83 - Allow CLVMD_CMD_SYNC_NAMES to be propagated around the cluster if requested. Add "dmsetup ls --tree" output to lvmdump. Fix udev synchronization with no-locking --sysinit (2.02.80). - Updating man pages for pvcreate, pvremove, pvresize, pvscan. + Improve man page style consistency for pvcreate, pvremove, pvresize, pvscan. Avoid rebuilding of uuid validation table. + Improve lvcreate error text from insufficient "extents" to "free space". Always use O_DIRECT when opening block devices to check for partitioning. - Improve lvcreate "insufficient extents" errors to "insufficient free space". Version 2.02.82 - 24th January 2011 =================================== diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index 68876528f..3d337c076 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,8 +1,12 @@ -Version 1.02.62 - +Version 1.02.62 - 4th February 2011 =================================== + Add --addnodeonresume and --addnodeoncreate options to dmsetup. + Add dm_task_set_add_node to libdevmapper to control dev node creation time. Add dm_task_secure_data to libdevmapper to wipe ioctl buffers in kernel. + Log debug message when expected uevent is not generated. + Only compile memory debugging code when DEBUG_MEM is set. Set DM_UDEV_DISABLE_OTHER_RULES_FLAG for suspended DM devices in udev rules. - Initialize pool object for each row in _output_as_rows(). + Begin a new pool object for each row in _output_as_rows() correctly. Version 1.02.61 - 10th January 2011 =================================== diff --git a/lib/activate/fs.c b/lib/activate/fs.c index 7edec72e7..7acfc6bc9 100644 --- a/lib/activate/fs.c +++ b/lib/activate/fs.c @@ -284,7 +284,8 @@ static int _do_fs_op(fs_op_t type, const char *dev_dir, const char *vg_name, if (!_mk_link(dev_dir, vg_name, lv_name, dev, check_udev)) stack; - default:; + default: + ; /* NOTREACHED */ } return 1; @@ -367,7 +368,7 @@ static int _stack_fs_op(fs_op_t type, const char *dev_dir, const char *vg_name, else if ((type == FS_ADD) && _count_fs_ops[FS_DEL] && _check_udev(check_udev)) /* * If udev is running ignore previous DEL operation on added fs_op. - * (No other operations for this device then DEL could be staked here). + * (No other operations for this device then DEL could be stacked here). */ dm_list_iterate_safe(fsph, fspht, &_fs_ops) { fsp = dm_list_item(fsph, struct fs_op_parms); diff --git a/libdm/libdm-common.c b/libdm/libdm-common.c index 600c353b3..4e6b05c48 100644 --- a/libdm/libdm-common.c +++ b/libdm/libdm-common.c @@ -745,7 +745,8 @@ static int _do_node_op(node_op_t type, const char *dev_name, uint32_t major, case NODE_READ_AHEAD: return _set_dev_node_read_ahead(dev_name, read_ahead, read_ahead_flags); - default:; + default: + ; /* NOTREACHED */ } return 1; @@ -830,7 +831,7 @@ static int _stack_node_op(node_op_t type, const char *dev_name, uint32_t major, else if ((type == NODE_ADD) && _count_node_ops[NODE_DEL] && _check_udev(check_udev)) /* * If udev is running ignore previous DEL operation on added node. - * (No other operations for this device then DEL could be staked here). + * (No other operations for this device then DEL could be stacked here). */ dm_list_iterate_safe(noph, nopht, &_node_ops) { nop = dm_list_item(noph, struct node_op_parms);