forked from pool/drbd-utils
drbd split into user space drbd-utils and kernel module package. Update drbd-utils to 8.9.2 for - Fate#317940, speed up first initial sync. OBS-URL: https://build.opensuse.org/request/show/318022 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/drbd-utils?expand=0&rev=8
25 lines
926 B
Diff
25 lines
926 B
Diff
Index: drbd-utils-8.9.2/user/v84/config_flags.c
|
|
===================================================================
|
|
--- drbd-utils-8.9.2.orig/user/v84/config_flags.c
|
|
+++ drbd-utils-8.9.2/user/v84/config_flags.c
|
|
@@ -1019,6 +1019,7 @@ struct context_def new_current_uuid_cmd_
|
|
NLA_POLICY(new_c_uuid_parms),
|
|
.fields = {
|
|
{ "clear-bitmap", FLAG(clear_bm) },
|
|
+ { "zap-devices", FLAG(zap_devices) },
|
|
{ } },
|
|
};
|
|
|
|
Index: drbd-utils-8.9.2/user/v84/linux/drbd_genl.h
|
|
===================================================================
|
|
--- drbd-utils-8.9.2.orig/user/v84/linux/drbd_genl.h
|
|
+++ drbd-utils-8.9.2/user/v84/linux/drbd_genl.h
|
|
@@ -238,6 +238,7 @@ GENL_struct(DRBD_NLA_START_OV_PARMS, 9,
|
|
|
|
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, DRBD_GENLA_F_MANDATORY, zap_devices)
|
|
)
|
|
|
|
GENL_struct(DRBD_NLA_TIMEOUT_PARMS, 11, timeout_parms,
|