Skip to content

Commit be166c3

Browse files
committed
applied debteam patches
1 parent 35746e7 commit be166c3

File tree

153 files changed

+9712
-42253
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+9712
-42253
lines changed

.github/workflows/debian-packages-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
shell: bash
3030
run: |
3131
sudo DEBIAN_FRONTEND=noninteractive apt-get -yq update
32-
sudo DEBIAN_FRONTEND=noninteractive apt-get -yq install dpkg-dev alien autoconf automake build-essential dkms fakeroot gawk gdebi-core libacl1-dev libaio-dev libattr1-dev libblkid-dev libdevmapper-dev libelf-dev libselinux-dev libssl-dev abigail-tools libtool libudev-dev libcurl4-openssl-dev nfs-kernel-server python3 python3-dev python3-cffi python3-setuptools uuid-dev zlib1g-dev linux-headers-$(uname -r) python3-all-dev python3-sphinx
32+
sudo DEBIAN_FRONTEND=noninteractive apt-get -yq install dpkg-dev alien autoconf automake build-essential dkms fakeroot gawk gdebi-core libacl1-dev libaio-dev libpam0g-dev libattr1-dev libblkid-dev libdevmapper-dev libelf-dev libselinux-dev libssl-dev abigail-tools libtool libudev-dev libcurl4-openssl-dev nfs-kernel-server python3 python3-dev python3-cffi python3-setuptools uuid-dev zlib1g-dev linux-headers-$(uname -r) python3-all-dev python3-sphinx
3333
- name: build zfs packages
3434
shell: bash
3535
run: |

NEWS

+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
zfs-linux (0.8.3-1) unstable; urgency=medium
2+
3+
The SIMD acceleration has been fixed in this upstream release.
4+
Users could use the following two commands to double check:
5+
6+
$ cat /sys/module/zfs/parameters/zfs_vdev_raidz_impl
7+
$ cat /sys/module/zcommon/parameters/zfs_fletcher_4_impl
8+
9+
Another notable change is the parallelization of the KABI checks
10+
during the configure stage, which may significantly boost the
11+
postinst stage of zfs-dkms that builds the kernel module.
12+
13+
-- Mo Zhou <[email protected]> Sat, 25 Jan 2020 13:26:02 +0800
14+
15+
zfs-linux (0.8.0-1) experimental; urgency=medium
16+
17+
ZFS 0.8.0 introduced the following NEW features:
18+
19+
* Native encryption
20+
* Raw encrypted 'zfs send/receive'
21+
* Device removal
22+
* Pool checkpoints
23+
* Pool TRIM
24+
* Pool initialization
25+
* Project accounting and quota
26+
* Channel programs
27+
* Pyzfs
28+
* Python 3 compatibility
29+
* Direct IO
30+
31+
And the following performance improvements:
32+
33+
* Sequential scrub and resilver
34+
* Allocation classes
35+
* Administrative commands
36+
* Parallel allocation
37+
* Deferred resilvers
38+
* ZFS Intent Log (ZIL)
39+
* Volumes
40+
* QAT
41+
42+
Details about the features and performance improvements can be found at:
43+
44+
https://github.com/zfsonlinux/zfs/releases/tag/zfs-0.8.0
45+
46+
NEWS on the Debian packaging side:
47+
48+
* ZFS doesn't depend on the spl-dkms package anymore, because
49+
upstream had merged SPL source into ZFS source tree, and that
50+
module is now included in the zfs-dkms package.
51+
52+
-- Mo Zhou <[email protected]> Fri, 24 May 2019 03:27:43 +0000

README.Debian

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
zfs-linux for Debian
2+
====================
3+
4+
1. Feature flags are enabled by default.
5+
----------------------------------------
6+
7+
This means that ZoL will now create pools in a way that is
8+
incompatible with Solaris. If you need Solaris compatibility,
9+
then create pools like this:
10+
11+
# zpool create -o version=28 tank ...
12+
13+
ZoL remains compatible with all other ZFS implementations derived
14+
from Illumos.
15+
16+
-- Aron Xu <[email protected]> Sat, 3 Aug 2013 03:23:11 +0800
17+
18+
2. Use zfs-initramfs with caution.
19+
----------------------------------
20+
21+
Debian Installer does not support root installation because zfs udeb
22+
modules are not built in-tree with the linux kernel, and zfs-initramfs
23+
is included here for people interested to setup ZFS as rootfs manually.
24+
Since faulty operation on filesystem can lead to major loss of data,
25+
please use zfs-initramfs with caution.
26+
27+
-- Aron Xu <[email protected]> Sat, 3 Aug 2013 03:23:11 +0800
28+
29+
3. Per-zpool config for the periodic-{scrub,trim} cron jobs is supported.
30+
-------------------------------------------------------------------------
31+
32+
Starting with 2.0.3-3, the auto-scrub and auto-trim cron jobs will use the
33+
"org.debian:periodic-{scrub,trim}" user properties on the pool's root dataset
34+
to determine if they should do anything; accepted values are:
35+
36+
* "auto" ‒ same as unset, use default checks
37+
* "enable" ‒ always scrub/trim automatically
38+
* "disable" ‒ never scrub/trim automatically
39+
40+
[ Periodic Scrubbing ]
41+
42+
Scrubbing storage pool data is a routine maintenance operation that check all
43+
data against known checksums, and fix early problems like bit riots. This
44+
operation is scheduled with low priority in the background, and usually does
45+
not have big impact on performance when the pool is not heavily utilized.
46+
47+
If you would like to scrub all pools periodically, no operation is required
48+
as periodic scrub is already the default behavior. Or if you want to
49+
make it explicit for a zpool named "tank":
50+
51+
# zfs set org.debian:periodic-scrub=auto tank
52+
53+
By default scrub jobs are scheduled on every second Sunday of month.
54+
55+
[ Periodic Trimming ]
56+
57+
Some SSD devices require proper scheduling of TRIM commands to maintain best
58+
performance. Currently the auto-trim will only trim if the zpool consists of
59+
/only/ NVMe drives, since some SATA 2 and SATA 3.0 SSDs will hang or crash
60+
during large TRIMs (See #983086). If your zpools with SATA SSDs had no
61+
problems trimming before, you will need to run the following command to
62+
restore the previous behaviour (always trim a pool):
63+
64+
# zfs set org.debian:periodic-trim=enable sata-pool
65+
66+
TRIM jobs are scheduled on every first Sunday of month by default.
67+
68+
-- Mo Zhou <[email protected]> Fri, 2 Apr 2021 12:23:00 +0000

README.Source

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
zfs-linux for Debian
2+
3+
Using DKMS is the recommended way of installing this kernel
4+
module, however if you do have the need of building deb/udeb
5+
packages containing the binary kernel module, here is the way.
6+
Be careful when proceed with this way, as your attention is
7+
required when kernel ABI get changed on target system that this
8+
module needs to be rebuilt and it needs to replace the originally
9+
installed package with this newly built one on target system.
10+
11+
You may first install all required build dependency on a machine
12+
that runs the very same kernel as on your target system, then
13+
execute following command at the top level directory of the
14+
decompressed debian source package. Do not install the generated
15+
package with kernels that have different configuration, which is
16+
not supported and likely to break things.
17+
18+
* deb packages:
19+
fakeroot debian/rules override_dh_binary-modules
20+
* udeb packages:
21+
fakeroot debian/rules override_dh_binary-modules-udeb
22+
23+
udeb packages for libraries and utilities are not generated by
24+
default, if you need them then rebuild this package passing the
25+
variable BUILD_UDEB=true.
26+
27+
zfs-initramfs is built on linux-any to avoid un-wanted installation
28+
on non-linux architectures that do not need it.
29+
30+
-- Aron Xu <[email protected]> Sun, 14 July 2013 04:00:12 +0800

README.md

-46
This file was deleted.

0 commit comments

Comments
 (0)