Skip to content

Commit

Permalink
applied debteam patches
Browse files Browse the repository at this point in the history
  • Loading branch information
terem42 committed Jun 17, 2022
1 parent 35746e7 commit be166c3
Show file tree
Hide file tree
Showing 153 changed files with 9,712 additions and 42,253 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/debian-packages-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
shell: bash
run: |
sudo DEBIAN_FRONTEND=noninteractive apt-get -yq update
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
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
- name: build zfs packages
shell: bash
run: |
Expand Down
52 changes: 52 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
zfs-linux (0.8.3-1) unstable; urgency=medium

The SIMD acceleration has been fixed in this upstream release.
Users could use the following two commands to double check:

$ cat /sys/module/zfs/parameters/zfs_vdev_raidz_impl
$ cat /sys/module/zcommon/parameters/zfs_fletcher_4_impl

Another notable change is the parallelization of the KABI checks
during the configure stage, which may significantly boost the
postinst stage of zfs-dkms that builds the kernel module.

-- Mo Zhou <[email protected]> Sat, 25 Jan 2020 13:26:02 +0800

zfs-linux (0.8.0-1) experimental; urgency=medium

ZFS 0.8.0 introduced the following NEW features:

* Native encryption
* Raw encrypted 'zfs send/receive'
* Device removal
* Pool checkpoints
* Pool TRIM
* Pool initialization
* Project accounting and quota
* Channel programs
* Pyzfs
* Python 3 compatibility
* Direct IO

And the following performance improvements:

* Sequential scrub and resilver
* Allocation classes
* Administrative commands
* Parallel allocation
* Deferred resilvers
* ZFS Intent Log (ZIL)
* Volumes
* QAT

Details about the features and performance improvements can be found at:

https://github.com/zfsonlinux/zfs/releases/tag/zfs-0.8.0

NEWS on the Debian packaging side:

* ZFS doesn't depend on the spl-dkms package anymore, because
upstream had merged SPL source into ZFS source tree, and that
module is now included in the zfs-dkms package.

-- Mo Zhou <[email protected]> Fri, 24 May 2019 03:27:43 +0000
68 changes: 68 additions & 0 deletions README.Debian
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
zfs-linux for Debian
====================

1. Feature flags are enabled by default.
----------------------------------------

This means that ZoL will now create pools in a way that is
incompatible with Solaris. If you need Solaris compatibility,
then create pools like this:

# zpool create -o version=28 tank ...

ZoL remains compatible with all other ZFS implementations derived
from Illumos.

-- Aron Xu <[email protected]> Sat, 3 Aug 2013 03:23:11 +0800

2. Use zfs-initramfs with caution.
----------------------------------

Debian Installer does not support root installation because zfs udeb
modules are not built in-tree with the linux kernel, and zfs-initramfs
is included here for people interested to setup ZFS as rootfs manually.
Since faulty operation on filesystem can lead to major loss of data,
please use zfs-initramfs with caution.

-- Aron Xu <[email protected]> Sat, 3 Aug 2013 03:23:11 +0800

3. Per-zpool config for the periodic-{scrub,trim} cron jobs is supported.
-------------------------------------------------------------------------

Starting with 2.0.3-3, the auto-scrub and auto-trim cron jobs will use the
"org.debian:periodic-{scrub,trim}" user properties on the pool's root dataset
to determine if they should do anything; accepted values are:

* "auto" ‒ same as unset, use default checks
* "enable" ‒ always scrub/trim automatically
* "disable" ‒ never scrub/trim automatically

[ Periodic Scrubbing ]

Scrubbing storage pool data is a routine maintenance operation that check all
data against known checksums, and fix early problems like bit riots. This
operation is scheduled with low priority in the background, and usually does
not have big impact on performance when the pool is not heavily utilized.

If you would like to scrub all pools periodically, no operation is required
as periodic scrub is already the default behavior. Or if you want to
make it explicit for a zpool named "tank":

# zfs set org.debian:periodic-scrub=auto tank

By default scrub jobs are scheduled on every second Sunday of month.

[ Periodic Trimming ]

Some SSD devices require proper scheduling of TRIM commands to maintain best
performance. Currently the auto-trim will only trim if the zpool consists of
/only/ NVMe drives, since some SATA 2 and SATA 3.0 SSDs will hang or crash
during large TRIMs (See #983086). If your zpools with SATA SSDs had no
problems trimming before, you will need to run the following command to
restore the previous behaviour (always trim a pool):

# zfs set org.debian:periodic-trim=enable sata-pool

TRIM jobs are scheduled on every first Sunday of month by default.

-- Mo Zhou <[email protected]> Fri, 2 Apr 2021 12:23:00 +0000
30 changes: 30 additions & 0 deletions README.Source
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
zfs-linux for Debian

Using DKMS is the recommended way of installing this kernel
module, however if you do have the need of building deb/udeb
packages containing the binary kernel module, here is the way.
Be careful when proceed with this way, as your attention is
required when kernel ABI get changed on target system that this
module needs to be rebuilt and it needs to replace the originally
installed package with this newly built one on target system.

You may first install all required build dependency on a machine
that runs the very same kernel as on your target system, then
execute following command at the top level directory of the
decompressed debian source package. Do not install the generated
package with kernels that have different configuration, which is
not supported and likely to break things.

* deb packages:
fakeroot debian/rules override_dh_binary-modules
* udeb packages:
fakeroot debian/rules override_dh_binary-modules-udeb

udeb packages for libraries and utilities are not generated by
default, if you need them then rebuild this package passing the
variable BUILD_UDEB=true.

zfs-initramfs is built on linux-any to avoid un-wanted installation
on non-linux architectures that do not need it.

-- Aron Xu <[email protected]> Sun, 14 July 2013 04:00:12 +0800
46 changes: 0 additions & 46 deletions README.md

This file was deleted.

Loading

0 comments on commit be166c3

Please sign in to comment.