Skip to content

Commit

Permalink
Add Linux 5.13 (#125)
Browse files Browse the repository at this point in the history
This pull request adds the necessary changes for the new Linux release
version 5.13.
  • Loading branch information
fabianishere committed Jun 28, 2021
2 parents 01cbdeb + 77d3d7f commit 09b09f0
Show file tree
Hide file tree
Showing 10 changed files with 43 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/watch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: [ubuntu-latest]
strategy:
matrix:
branch: ['v5.10.x', 'v5.12.x']
branch: ['v5.10.x', 'v5.12.x', 'v5.13.x']
steps:
- name: Checkout Sources
uses: actions/checkout@v2
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Custom Linux kernels for Proxmox VE 6.

#### Versions
1. Linux 5.13 (Mainline)
1. Linux 5.12 (Stable)
1. Linux 5.11 (Stable) [EOL]
1. Linux 5.10 (Long-term)
Expand Down
Binary file modified crack.bundle
Binary file not shown.
7 changes: 7 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
pve-kernel (5.13.0-1) edge; urgency=medium

* Update to Linux 5.13.
* Update to OpenZFS 2.1.0-rc7.

-- Fabian Mastenbroek <mail.fabianm@gmail.com> Mon, 28 Jun 2021 17:00:00 +0000

pve-kernel (5.12.0-1) edge; urgency=medium

* Update to Linux 5.12.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/core/dev.c b/net/core/dev.c
index 449b45b843d4..9e247c1a065f 100644
index ef8cf7619b..787d7dc1c7 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -10258,7 +10258,7 @@ static void netdev_wait_allrefs(struct net_device *dev)
refcnt = netdev_refcnt_read(dev);

if (refcnt && time_after(jiffies, warning_time + 10 * HZ)) {
@@ -10488,7 +10488,7 @@ static void netdev_wait_allrefs(struct net_device *dev)
if (refcnt != 1 &&
time_after(jiffies, warning_time +
netdev_unregister_timeout_secs * HZ)) {
- pr_emerg("unregister_netdevice: waiting for %s to become free. Usage count = %d\n",
+ pr_err("unregister_netdevice: waiting for %s to become free. Usage count = %d\n",
dev->name, refcnt);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/systemd/system/zfs-import-scan.service.in b/etc/systemd/system/zfs-import-scan.service.in
index f0317e23e..9a5e9cb17 100644
index c1111c73a..c5e12c2c6 100644
--- a/etc/systemd/system/zfs-import-scan.service.in
+++ b/etc/systemd/system/zfs-import-scan.service.in
@@ -13,7 +13,7 @@ ConditionPathIsDirectory=/sys/module/zfs
[Service]
Type=oneshot
RemainAfterExit=yes
-ExecStart=@sbindir@/zpool import -aN -o cachefile=none
+ExecStart=@sbindir@/zpool import -aN -d /dev/disk/by-id -o cachefile=none
-ExecStart=@sbindir@/zpool import -aN -o cachefile=none ${ZPOOL_IMPORT_OPTS}
+ExecStart=@sbindir@/zpool import -aN -d /dev/disk/by-id -o cachefile=none ${ZPOOL_IMPORT_OPTS}

[Install]
WantedBy=zfs-import.target
Original file line number Diff line number Diff line change
Expand Up @@ -8,47 +8,29 @@ Originally-By: Antonio Russo <aerusso@aerusso.net>

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
---
man/man1/Makefile.am | 2 +-
man/man8/Makefile.am | 1 +
man/{man1/arcstat.1 => man8/arcstat.8} | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
rename man/{man1/arcstat.1 => man8/arcstat.8} (99%)

diff --git a/man/man1/Makefile.am b/man/man1/Makefile.am
index 8d7457a3e..101af7b6c 100644
--- a/man/man1/Makefile.am
+++ b/man/man1/Makefile.am
@@ -1,4 +1,4 @@
-dist_man_MANS = zhack.1 ztest.1 raidz_test.1 zvol_wait.1 arcstat.1
+dist_man_MANS = zhack.1 ztest.1 raidz_test.1 zvol_wait.1
EXTRA_DIST = cstyle.1

if BUILD_LINUX
diff --git a/man/man8/Makefile.am b/man/man8/Makefile.am
index 07f6aefa6..a757b1c62 100644
--- a/man/man8/Makefile.am
+++ b/man/man8/Makefile.am
@@ -1,6 +1,7 @@
include $(top_srcdir)/config/Substfiles.am

dist_man_MANS = \
+ arcstat.8 \
fsck.zfs.8 \
mount.zfs.8 \
vdev_id.8 \
diff --git a/man/man1/arcstat.1 b/man/man8/arcstat.8
similarity index 99%
rename from man/man1/arcstat.1
rename to man/man8/arcstat.8
index ca508b49c..0aa81849a 100644
diff --git a/man/Makefile.am b/man/Makefile.am
index 8ab1b7572..5485076f9 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -8,7 +8,7 @@ dist_man_MANS = \
man1/ztest.1 \
man1/raidz_test.1 \
man1/zvol_wait.1 \
- man1/arcstat.1 \
+ man8/arcstat.8 \
\
man5/vdev_id.conf.5 \
\
diff --git a/man/man1/arcstat.1 b/man/man1/arcstat.1
index a69cd8937..dfe9c971b 100644
--- a/man/man1/arcstat.1
+++ b/man/man8/arcstat.8
+++ b/man/man1/arcstat.1
@@ -13,7 +13,7 @@
.\" Copyright (c) 2015 by Delphix. All rights reserved.
.\" Copyright (c) 2020 by AJ Jordan. All rights reserved.
.\"
-.TH ARCSTAT 1 "Oct 20, 2020" OpenZFS
+.TH ARCSTAT 8 "Oct 20, 2020" OpenZFS
.SH NAME
arcstat \- report ZFS ARC and L2ARC statistics
.SH SYNOPSIS
.Dd May 26, 2021
-.Dt ARCSTAT 1
+.Dt ARCSTAT 8
.Os
.
.Sh NAME
3 changes: 2 additions & 1 deletion debian/templates/control.in
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ Build-Depends: asciidoc,
quilt,
rsync,
xmlto,
zlib1g-dev
zlib1g-dev,
zstd
Build-Conflicts: pve-headers-@KVNAME@,
Vcs-Git: git://github.com/fabianishere/pve-edge-kernel.git
Vcs-Browser: https://github.com/fabianishere/pve-edge-kernel
Expand Down
2 changes: 1 addition & 1 deletion linux
Submodule linux updated from 9f4ad9 to 62fb98
2 changes: 1 addition & 1 deletion zfs
Submodule zfs updated 286 files

0 comments on commit 09b09f0

Please sign in to comment.