SHA256
1
0
forked from pool/sanlock

Compare commits

..

2 Commits

Author SHA256 Message Date
Ana Guerrero
444081afee Accepting request 1208511 from Virtualization
- Update to version 3.9.5:
  * sanlock: change log level for resource names
  * sanlock: include worker thread info in status
  * sanlock: reuse io buffer with hugepages
  * sanlock: use hugepages to avoid splitting read io
  * sanlock: don't reduce max_sectors_kb
  * sanlock: fix is dead log message for unused host id
  * sanlock: repeat helper_msg string termination
  * sanlock: fix invalid strcpy in direct dump

OBS-URL: https://build.opensuse.org/request/show/1208511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sanlock?expand=0&rev=34
2024-10-18 13:52:08 +00:00
James Fehlig
331aa19f86 - Update to version 3.9.5:
* sanlock: change log level for resource names
  * sanlock: include worker thread info in status
  * sanlock: reuse io buffer with hugepages
  * sanlock: use hugepages to avoid splitting read io
  * sanlock: don't reduce max_sectors_kb
  * sanlock: fix is dead log message for unused host id
  * sanlock: repeat helper_msg string termination
  * sanlock: fix invalid strcpy in direct dump

OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=79
2024-10-16 20:22:31 +00:00
10 changed files with 48 additions and 30 deletions

View File

@ -1,17 +1,18 @@
<services> <services>
<service name="tar_scm" mode="disabled"> <service name="tar_scm" mode="manual">
<param name="filename">sanlock</param> <param name="filename">sanlock</param>
<param name="revision">79b35bba8298f4444923c15e11bed38380cb18ee</param> <param name="revision">651d101aab40bb75cf348ab667eba04d6d771c21</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="submodules">disable</param> <param name="submodules">disable</param>
<param name="url">https://pagure.io/sanlock</param> <param name="url">https://pagure.io/sanlock</param>
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">^sanlock[-]?(.*)</param> <param name="versionrewrite-pattern">^sanlock[-]?(.*)</param>
<param name="versionrewrite-replacement">\1</param> <param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
</service> </service>
<service name="recompress" mode="disabled"> <service name="recompress" mode="manual">
<param name="file">*.tar</param> <param name="file">*.tar</param>
<param name="compression">xz</param> <param name="compression">xz</param>
</service> </service>
<service name="set_version" mode="disabled"/> <service name="set_version" mode="manual"/>
</services> </services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://pagure.io/sanlock</param>
<param name="changesrevision">651d101aab40bb75cf348ab667eba04d6d771c21</param></service></servicedata>

View File

@ -1,7 +1,7 @@
Index: sanlock-3.9.3/init.d/fence_sanlockd.service Index: sanlock-3.9.5/init.d/fence_sanlockd.service
=================================================================== ===================================================================
--- sanlock-3.9.3.orig/init.d/fence_sanlockd.service --- sanlock-3.9.5.orig/init.d/fence_sanlockd.service
+++ sanlock-3.9.3/init.d/fence_sanlockd.service +++ sanlock-3.9.5/init.d/fence_sanlockd.service
@@ -4,6 +4,17 @@ After=syslog.target wdmd.service sanlock @@ -4,6 +4,17 @@ After=syslog.target wdmd.service sanlock
Before=corosync.service Before=corosync.service

View File

@ -1,7 +1,7 @@
Index: sanlock-3.9.3/init.d/sanlk-resetd.service Index: sanlock-3.9.5/init.d/sanlk-resetd.service
=================================================================== ===================================================================
--- sanlock-3.9.3.orig/init.d/sanlk-resetd.service --- sanlock-3.9.5.orig/init.d/sanlk-resetd.service
+++ sanlock-3.9.3/init.d/sanlk-resetd.service +++ sanlock-3.9.5/init.d/sanlk-resetd.service
@@ -4,6 +4,17 @@ After=wdmd.service sanlock.service @@ -4,6 +4,17 @@ After=wdmd.service sanlock.service
Requires=wdmd.service sanlock.service Requires=wdmd.service sanlock.service

View File

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

3
sanlock-3.9.5.tar.xz Normal file
View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Oct 16 20:14:45 UTC 2024 - jfehlig@suse.com
- Update to version 3.9.5:
* sanlock: change log level for resource names
* sanlock: include worker thread info in status
* sanlock: reuse io buffer with hugepages
* sanlock: use hugepages to avoid splitting read io
* sanlock: don't reduce max_sectors_kb
* sanlock: fix is dead log message for unused host id
* sanlock: repeat helper_msg string termination
* sanlock: fix invalid strcpy in direct dump
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 1 20:41:34 UTC 2024 - James Fehlig <jfehlig@suse.com> Mon Jul 1 20:41:34 UTC 2024 - James Fehlig <jfehlig@suse.com>

View File

@ -40,7 +40,7 @@
%endif %endif
%define pname sanlock %define pname sanlock
Name: %{pprefix}%{pname} Name: %{pprefix}%{pname}
Version: 3.9.3 Version: 3.9.5
Release: 0 Release: 0
%if ! %{with python} %if ! %{with python}
Summary: A shared disk lock manager Summary: A shared disk lock manager

View File

@ -1,8 +1,8 @@
Index: sanlock-3.9.3/src/main.c Index: sanlock-3.9.5/src/main.c
=================================================================== ===================================================================
--- sanlock-3.9.3.orig/src/main.c --- sanlock-3.9.5.orig/src/main.c
+++ sanlock-3.9.3/src/main.c +++ sanlock-3.9.5/src/main.c
@@ -2334,8 +2334,8 @@ static int read_command_line(int argc, c @@ -2389,8 +2389,8 @@ static int read_command_line(int argc, c
} }
if (!strcmp(arg1, "--version") || !strcmp(arg1, "-V")) { if (!strcmp(arg1, "--version") || !strcmp(arg1, "-V")) {
@ -13,10 +13,10 @@ Index: sanlock-3.9.3/src/main.c
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
} }
Index: sanlock-3.9.3/fence_sanlock/fence_sanlockd.c Index: sanlock-3.9.5/fence_sanlock/fence_sanlockd.c
=================================================================== ===================================================================
--- sanlock-3.9.3.orig/fence_sanlock/fence_sanlockd.c --- sanlock-3.9.5.orig/fence_sanlock/fence_sanlockd.c
+++ sanlock-3.9.3/fence_sanlock/fence_sanlockd.c +++ sanlock-3.9.5/fence_sanlock/fence_sanlockd.c
@@ -565,8 +565,7 @@ int main(int argc, char *argv[]) @@ -565,8 +565,7 @@ int main(int argc, char *argv[])
print_usage(); print_usage();
exit(0); exit(0);

View File

@ -1,7 +1,7 @@
Index: sanlock-3.9.3/init.d/sanlock.service Index: sanlock-3.9.5/init.d/sanlock.service
=================================================================== ===================================================================
--- sanlock-3.9.3.orig/init.d/sanlock.service --- sanlock-3.9.5.orig/init.d/sanlock.service
+++ sanlock-3.9.3/init.d/sanlock.service +++ sanlock-3.9.5/init.d/sanlock.service
@@ -5,8 +5,10 @@ Wants=wdmd.service @@ -5,8 +5,10 @@ Wants=wdmd.service
[Service] [Service]
@ -15,10 +15,10 @@ Index: sanlock-3.9.3/init.d/sanlock.service
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
Index: sanlock-3.9.3/init.d/wdmd.service Index: sanlock-3.9.5/init.d/wdmd.service
=================================================================== ===================================================================
--- sanlock-3.9.3.orig/init.d/wdmd.service --- sanlock-3.9.5.orig/init.d/wdmd.service
+++ sanlock-3.9.3/init.d/wdmd.service +++ sanlock-3.9.5/init.d/wdmd.service
@@ -5,8 +5,10 @@ After=syslog.target @@ -5,8 +5,10 @@ After=syslog.target
[Service] [Service]
Type=forking Type=forking
@ -32,10 +32,10 @@ Index: sanlock-3.9.3/init.d/wdmd.service
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
Index: sanlock-3.9.3/init.d/fence_sanlockd.service Index: sanlock-3.9.5/init.d/fence_sanlockd.service
=================================================================== ===================================================================
--- sanlock-3.9.3.orig/init.d/fence_sanlockd.service --- sanlock-3.9.5.orig/init.d/fence_sanlockd.service
+++ sanlock-3.9.3/init.d/fence_sanlockd.service +++ sanlock-3.9.5/init.d/fence_sanlockd.service
@@ -5,8 +5,8 @@ Before=corosync.service @@ -5,8 +5,8 @@ Before=corosync.service
[Service] [Service]