Accepting request 350625 from network:ha-clustering:Factory

1

OBS-URL: https://build.opensuse.org/request/show/350625
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/drbd-utils?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2015-12-24 11:17:41 +00:00 committed by Git OBS Bridge
commit 8f19751346
5 changed files with 59 additions and 38 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ebbeed5f31cc27a7e10da889f60ff25ec67a3e4a2becf70ed06734e2678d38b2
size 761370

3
drbd-utils-8.9.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ca852d250df15089cdfe63c1bfb0aa9203bdf82c3cfd54b86108cc7135aeccd
size 789613

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Thu Dec 24 06:17:48 UTC 2015 - nwang@suse.com
- Update to v8.9.5
* add support for new disk option
'rs-discard-granularity' (module v8.4.7)
* add support for new disk option
'discard-zeroes-if-aligned' (module v8.4.7)
* add support for v9 "path" commands
* doc improvements/corrections
* improvements to drbd ocf resource agent
and pacemaker "constraint based fencing"
(crm-fence-peer.sh)
* drbd-overview improvements
* Add an autoconf switch for building without man pages
* Fix compatibility with the musl C library
* Introduce the concept of paths within a connection to
the config file; add support for paths to drbdadm adjust
* Allow multiple connection-mesh statements within one resource
* Document peer-device-options on the drbd-9.0 man pages
* increase the lower boundary for al-extents from 7 to 67;
drbdadm clamps al-extents to 67 implicitly if you configures
something lower than 67
* Document the events2 command on the drbd-8.4 man page
* Fix environment variables for handlers
* Rewrite the parser for configure options; Reuse the data
structures describing drbdsetup options
* No longer try to set peer-device-options with the connect
or attach commands; Only do it with the up and attach commands
* Fixed issues with stderr messages might go into arbitrary FDs
* Allow recursive includes; drbdadm includes each config
file only once
* Fix parsing cut-off proxy sections
* When converting 8.4 to 9.0 meta-data produce meta-data the drbd9
kernel driver will accept
* Obey max-peers for all volumes when creating meta-data
* Do not re-register at usage.drbd.org when the module is not
loaded when drbdadm is invoked
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 3 02:14:24 UTC 2015 - nwang@suse.com Tue Nov 3 02:14:24 UTC 2015 - nwang@suse.com

View File

@ -17,7 +17,7 @@
Name: drbd-utils Name: drbd-utils
Version: 8.9.2 Version: 8.9.5
Release: 0 Release: 0
Summary: Distributed Replicated Block Device Summary: Distributed Replicated Block Device
License: GPL-2.0+ License: GPL-2.0+

View File

@ -1,20 +1,7 @@
From c80e2258d59d264d56bbea212ec98a114a1de32a Mon Sep 17 00:00:00 2001 diff -Naur drbd-utils-8.9.5.orig/documentation/v84/drbdsetup.xml drbd-utils-8.9.5/documentation/v84/drbdsetup.xml
From: Nick Wang <nwang@suse.com> --- drbd-utils-8.9.5.orig/documentation/v84/drbdsetup.xml 2015-12-24 14:13:13.928784939 +0800
Date: Tue, 21 Jul 2015 10:32:41 +0800 +++ drbd-utils-8.9.5/documentation/v84/drbdsetup.xml 2015-12-24 14:14:51.533778352 +0800
Subject: [PATCH 1/1] drbdsetup: Support zeroout/discard devices instead of @@ -1889,6 +1889,24 @@
initial full sync.
---
documentation/v84/drbdsetup.xml | 18 ++++++++++++++++++
user/v84/config_flags.c | 2 ++
user/v84/linux/drbd_genl.h | 2 ++
3 files changed, 22 insertions(+)
diff --git a/documentation/v84/drbdsetup.xml b/documentation/v84/drbdsetup.xml
index d4c4e87..039c6d8 100644
--- a/documentation/v84/drbdsetup.xml
+++ b/documentation/v84/drbdsetup.xml
@@ -1705,6 +1705,24 @@
<para>Clears the sync bitmap in addition to generating a new current UUID.</para> <para>Clears the sync bitmap in addition to generating a new current UUID.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -39,32 +26,27 @@ index d4c4e87..039c6d8 100644
</variablelist></para> </variablelist></para>
<para>This can be used to skip the initial sync, if you want to start from scratch. This <para>This can be used to skip the initial sync, if you want to start from scratch. This
diff --git a/user/v84/config_flags.c b/user/v84/config_flags.c diff -Naur drbd-utils-8.9.5.orig/user/v84/config_flags.c drbd-utils-8.9.5/user/v84/config_flags.c
index 3b0303f..b9870fa 100644 --- drbd-utils-8.9.5.orig/user/v84/config_flags.c 2015-12-24 14:13:13.937784939 +0800
--- a/user/v84/config_flags.c +++ drbd-utils-8.9.5/user/v84/config_flags.c 2015-12-24 14:15:44.450774781 +0800
+++ b/user/v84/config_flags.c @@ -1028,6 +1028,8 @@
@@ -1019,6 +1019,8 @@ struct context_def new_current_uuid_cmd_ctx = {
NLA_POLICY(new_c_uuid_parms), NLA_POLICY(new_c_uuid_parms),
.fields = { .fields = {
{ "clear-bitmap", FLAG(clear_bm) }, { "clear-bitmap", FLAG(clear_bm) },
+ { "zeroout-devices", FLAG(zeroout_devices) }, + { "zeroout-devices", FLAG(zeroout_devices) },
+ { "discard-devices", FLAG(discard_devices) }, + { "discard-devices", FLAG(discard_devices) },
{ } }, { } },
}; };
diff --git a/user/v84/linux/drbd_genl.h b/user/v84/linux/drbd_genl.h diff -Naur drbd-utils-8.9.5.orig/user/v84/linux/drbd_genl.h drbd-utils-8.9.5/user/v84/linux/drbd_genl.h
index 8ddedd1..2aabe4c 100644 --- drbd-utils-8.9.5.orig/user/v84/linux/drbd_genl.h 2015-12-24 14:13:13.940784938 +0800
--- a/user/v84/linux/drbd_genl.h +++ drbd-utils-8.9.5/user/v84/linux/drbd_genl.h 2015-12-24 14:16:30.426771679 +0800
+++ b/user/v84/linux/drbd_genl.h @@ -239,6 +239,8 @@
@@ -238,6 +238,8 @@ GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms,
GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms,
__flg_field(1, DRBD_GENLA_F_MANDATORY, clear_bm) __flg_field(1, DRBD_GENLA_F_MANDATORY, clear_bm)
+ __flg_field(2, 0, zeroout_devices) + __flg_field(2, 0, zeroout_devices)
+ __flg_field(3, 0, discard_devices) + __flg_field(3, 0, discard_devices)
) )
GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms,
--
2.1.4