diff --git a/drbd-utils-8.9.2.tar.gz b/drbd-utils-8.9.2.tar.gz deleted file mode 100644 index 8a8bf65..0000000 --- a/drbd-utils-8.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ebbeed5f31cc27a7e10da889f60ff25ec67a3e4a2becf70ed06734e2678d38b2 -size 761370 diff --git a/drbd-utils-8.9.5.tar.gz b/drbd-utils-8.9.5.tar.gz new file mode 100644 index 0000000..16602b4 --- /dev/null +++ b/drbd-utils-8.9.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ca852d250df15089cdfe63c1bfb0aa9203bdf82c3cfd54b86108cc7135aeccd +size 789613 diff --git a/drbd-utils.changes b/drbd-utils.changes index d84cad8..db035a2 100644 --- a/drbd-utils.changes +++ b/drbd-utils.changes @@ -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 diff --git a/drbd-utils.spec b/drbd-utils.spec index 5fe977e..e82ab31 100644 --- a/drbd-utils.spec +++ b/drbd-utils.spec @@ -17,7 +17,7 @@ Name: drbd-utils -Version: 8.9.2 +Version: 8.9.5 Release: 0 Summary: Distributed Replicated Block Device License: GPL-2.0+ diff --git a/zeroout-discard-devices.patch b/zeroout-discard-devices.patch index 93f1fba..03334cb 100644 --- a/zeroout-discard-devices.patch +++ b/zeroout-discard-devices.patch @@ -1,20 +1,7 @@ -From c80e2258d59d264d56bbea212ec98a114a1de32a Mon Sep 17 00:00:00 2001 -From: Nick Wang -Date: Tue, 21 Jul 2015 10:32:41 +0800 -Subject: [PATCH 1/1] drbdsetup: Support zeroout/discard devices instead of - 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 @@ +diff -Naur drbd-utils-8.9.5.orig/documentation/v84/drbdsetup.xml drbd-utils-8.9.5/documentation/v84/drbdsetup.xml +--- drbd-utils-8.9.5.orig/documentation/v84/drbdsetup.xml 2015-12-24 14:13:13.928784939 +0800 ++++ drbd-utils-8.9.5/documentation/v84/drbdsetup.xml 2015-12-24 14:14:51.533778352 +0800 +@@ -1889,6 +1889,24 @@ Clears the sync bitmap in addition to generating a new current UUID. @@ -39,32 +26,27 @@ index d4c4e87..039c6d8 100644 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 -index 3b0303f..b9870fa 100644 ---- a/user/v84/config_flags.c -+++ b/user/v84/config_flags.c -@@ -1019,6 +1019,8 @@ struct context_def new_current_uuid_cmd_ctx = { +diff -Naur drbd-utils-8.9.5.orig/user/v84/config_flags.c drbd-utils-8.9.5/user/v84/config_flags.c +--- drbd-utils-8.9.5.orig/user/v84/config_flags.c 2015-12-24 14:13:13.937784939 +0800 ++++ drbd-utils-8.9.5/user/v84/config_flags.c 2015-12-24 14:15:44.450774781 +0800 +@@ -1028,6 +1028,8 @@ NLA_POLICY(new_c_uuid_parms), .fields = { { "clear-bitmap", FLAG(clear_bm) }, -+ { "zeroout-devices", FLAG(zeroout_devices) }, -+ { "discard-devices", FLAG(discard_devices) }, ++ { "zeroout-devices", FLAG(zeroout_devices) }, ++ { "discard-devices", FLAG(discard_devices) }, { } }, }; -diff --git a/user/v84/linux/drbd_genl.h b/user/v84/linux/drbd_genl.h -index 8ddedd1..2aabe4c 100644 ---- a/user/v84/linux/drbd_genl.h -+++ b/user/v84/linux/drbd_genl.h -@@ -238,6 +238,8 @@ GENL_struct(DRBD_NLA_START_OV_PARMS, 9, start_ov_parms, +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 +--- drbd-utils-8.9.5.orig/user/v84/linux/drbd_genl.h 2015-12-24 14:13:13.940784938 +0800 ++++ drbd-utils-8.9.5/user/v84/linux/drbd_genl.h 2015-12-24 14:16:30.426771679 +0800 +@@ -239,6 +239,8 @@ GENL_struct(DRBD_NLA_NEW_C_UUID_PARMS, 10, new_c_uuid_parms, __flg_field(1, DRBD_GENLA_F_MANDATORY, clear_bm) -+ __flg_field(2, 0, zeroout_devices) -+ __flg_field(3, 0, discard_devices) ++ __flg_field(2, 0, zeroout_devices) ++ __flg_field(3, 0, discard_devices) ) GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms, --- -2.1.4 -