diff --git a/_service b/_service
index 7319e84..23ec09d 100644
--- a/_service
+++ b/_service
@@ -9,9 +9,9 @@
This will download branch first instead of tag.
drbd-9.0
- 9.0.21~1
+ 9.0.22~1
-->
- 9.0.21~1+git.%h
+ 9.0.22~1+git.%h
drbd-9.0
diff --git a/drbd-9.0.21~1+git.449d6bf2.tar.bz2 b/drbd-9.0.21~1+git.449d6bf2.tar.bz2
deleted file mode 100644
index aab0ba5..0000000
--- a/drbd-9.0.21~1+git.449d6bf2.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e0a590f00b1c419cac0cd9bd961579cace01ccc54ff1a213f96a018d4f47a9ed
-size 341938
diff --git a/drbd-9.0.22~1+git.fe2b5983.tar.bz2 b/drbd-9.0.22~1+git.fe2b5983.tar.bz2
new file mode 100644
index 0000000..281aa27
--- /dev/null
+++ b/drbd-9.0.22~1+git.fe2b5983.tar.bz2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2882a9f5f0b03e5aeba74abdd6f5abf0430fdc7865220ac5b93c18a2070ca461
+size 346017
diff --git a/drbd.changes b/drbd.changes
index 01a21f8..33472d9 100644
--- a/drbd.changes
+++ b/drbd.changes
@@ -1,3 +1,26 @@
+-------------------------------------------------------------------
+Tue Mar 10 09:03:04 UTC 2020 - nick wang
+
+- bsc#1166298, Update to drbd-9.0.22-1
+ * introduce locking to avoid connection retries when UUIDs or
+ relevant flags change during the exchange of this data
+ * improve serialization of events after loosing a primary
+ * fix a constraint in sanitize state that can caused a promote to be
+ deliced by some other node
+ * fix a case of a false positive detection of a split brain condition
+ * allow a resync target to switch to the resync source with less
+ bits out of sync
+ * fix bitmap UUID after resync to use current UUID from self rather
+ than sync source
+ * fix pushing bitmap UUID into history when changed
+ * fix regression introduced with 9.0.20, that can cause a missed
+ resync after a reconciliation resync
+ * fix regression introduced with 9.0.20, that can cause a missed
+ resync after a promote on a diskless node
+ * fix UUID handling in case a node promotes during (a short)
+ reconciliation resync
+ * fix removing of a diskless node when quorum is enabled
+
-------------------------------------------------------------------
Tue Feb 25 07:03:39 UTC 2020 - nick wang
diff --git a/drbd.spec b/drbd.spec
index ef314b8..47b80b7 100644
--- a/drbd.spec
+++ b/drbd.spec
@@ -23,7 +23,7 @@
%endif
%endif
Name: drbd
-Version: 9.0.21~1+git.449d6bf2
+Version: 9.0.22~1+git.fe2b5983
Release: 0
Summary: Linux driver for the "Distributed Replicated Block Device"
License: GPL-2.0-or-later
@@ -95,8 +95,8 @@ export SPAAS='false'
for flavor in %{flavors_to_build}; do
rm -rf $flavor
- cp -r source $flavor
- cp %{_sourcedir}/Module.supported $flavor
+ cp -a -r source $flavor
+ cp -a %{_sourcedir}/Module.supported $flavor
export DRBDSRC="$PWD/obj/$flavor"
# bsc#1160194, check the coccicheck work.
#make coccicheck
diff --git a/drbd_git_revision b/drbd_git_revision
index afaff3e..5b11edb 100644
--- a/drbd_git_revision
+++ b/drbd_git_revision
@@ -1 +1 @@
-GIT-hash: 449d6bf22b01af7d14a297a4ed3e281aa84c94a5
+GIT-hash: fe2b59836bdf1c7c81ccbaad8ef8016d9c3ba582