Hello community,
here is the log from the commit of package google-guest-configs for
openSUSE:Factory checked in at 2020-08-29 20:32:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/google-guest-configs (Old)
and /work/SRC/openSUSE:Factory/.google-guest-configs.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "google-guest-configs"
Sat Aug 29 20:32:43 2020 rev:2 rq:829587 version:20200731.00
Changes:
--------
---
/work/SRC/openSUSE:Factory/google-guest-configs/google-guest-configs.changes
2020-08-17 14:39:22.122557139 +0200
+++
/work/SRC/openSUSE:Factory/.google-guest-configs.new.3399/google-guest-configs.changes
2020-08-29 20:33:01.709229822 +0200
@@ -1,0 +2,7 @@
+Tue Aug 25 15:27:16 UTC 2020 - John Paul Adrian Glaubitz
<[email protected]>
+
+- Update to version 20200626.00 (bsc#1175740, bsc#1175741)
+ * Updates the udev rules for local SSD disks. (#9)
+ * Fix tx affinity logic when number of CPUs is above 32 (#6)
+
+-------------------------------------------------------------------
Old:
----
google-guest-configs-20200626.00.tar.gz
New:
----
google-guest-configs-20200731.00.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ google-guest-configs.spec ++++++
--- /var/tmp/diff_new_pack.GAAzQs/_old 2020-08-29 20:33:03.581230610 +0200
+++ /var/tmp/diff_new_pack.GAAzQs/_new 2020-08-29 20:33:03.585230613 +0200
@@ -15,8 +15,9 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+
Name: google-guest-configs
-Version: 20200626.00
+Version: 20200731.00
Release: 0
Summary: Google Cloud Guest Configs
License: Apache-2.0
++++++ google-guest-configs-20200626.00.tar.gz ->
google-guest-configs-20200731.00.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/guest-configs-20200626.00/src/lib/udev/rules.d/65-gce-disk-naming.rules
new/guest-configs-20200731.00/src/lib/udev/rules.d/65-gce-disk-naming.rules
--- old/guest-configs-20200626.00/src/lib/udev/rules.d/65-gce-disk-naming.rules
2020-06-26 19:04:07.000000000 +0200
+++ new/guest-configs-20200731.00/src/lib/udev/rules.d/65-gce-disk-naming.rules
2020-07-31 19:51:13.000000000 +0200
@@ -20,16 +20,9 @@
# SCSI naming
KERNEL=="sd*|vd*", IMPORT{program}="scsi_id --export --whitelisted -d
$tempnode"
-# NVME naming
-KERNEL=="nvme0n1*", ENV{ID_SERIAL_SHORT}="local-nvme-ssd-0"
-KERNEL=="nvme0n2*", ENV{ID_SERIAL_SHORT}="local-nvme-ssd-1"
-KERNEL=="nvme0n3*", ENV{ID_SERIAL_SHORT}="local-nvme-ssd-2"
-KERNEL=="nvme0n4*", ENV{ID_SERIAL_SHORT}="local-nvme-ssd-3"
-KERNEL=="nvme0n5*", ENV{ID_SERIAL_SHORT}="local-nvme-ssd-4"
-KERNEL=="nvme0n6*", ENV{ID_SERIAL_SHORT}="local-nvme-ssd-5"
-KERNEL=="nvme0n7*", ENV{ID_SERIAL_SHORT}="local-nvme-ssd-6"
-KERNEL=="nvme0n8*", ENV{ID_SERIAL_SHORT}="local-nvme-ssd-7"
-KERNEL=="nvme*", ENV{ID_SERIAL}="Google_EphemeralDisk_$env{ID_SERIAL_SHORT}"
+# NVME Local SSD naming
+KERNEL=="nvme*n*", ATTRS{model}=="nvme_card", PROGRAM="/bin/sh -c 'echo
$((%n-1))'", ENV{ID_SERIAL_SHORT}="local-nvme-ssd-%c"
+KERNEL=="nvme*", ATTRS{model}=="nvme_card",
ENV{ID_SERIAL}="Google_EphemeralDisk_$env{ID_SERIAL_SHORT}"
# Symlinks
KERNEL=="sd*|vd*|nvme*", ENV{DEVTYPE}=="disk",
SYMLINK+="disk/by-id/google-$env{ID_SERIAL_SHORT}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/guest-configs-20200626.00/src/usr/bin/google_set_multiqueue
new/guest-configs-20200731.00/src/usr/bin/google_set_multiqueue
--- old/guest-configs-20200626.00/src/usr/bin/google_set_multiqueue
2020-06-26 19:04:07.000000000 +0200
+++ new/guest-configs-20200731.00/src/usr/bin/google_set_multiqueue
2020-07-31 19:51:13.000000000 +0200
@@ -125,6 +125,7 @@
XPS=/sys/class/net/e*/queues/tx*/xps_cpus
num_cpus=$(nproc)
+[[ $num_cpus -gt 63 ]] && num_cpus=63
num_queues=0
for q in $XPS; do
@@ -150,7 +151,8 @@
xps_dwords=()
for i in $(seq 0 $(((num_cpus - 1) / 32)))
do
- xps_dwords+=(`printf "%08x" $((xps & 0xffffffff))`)
+ xps_dwords=(`printf "%08x" $((xps & 0xffffffff))` "${xps_dwords[@]}")
+ xps=$((xps >> 32))
done
xps_string=$(IFS=, ; echo "${xps_dwords[*]}")