Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contrib/initramfs: add missing conf.d/zfs #7158

Merged
merged 1 commit into from
Feb 12, 2018

Conversation

loli10K
Copy link
Contributor

@loli10K loli10K commented Feb 10, 2018

Description

When upgrading from the distribution-provided zfs-initramfs package on root-on-zfs Ubuntu and Debian the system may fail to boot: this change adds the missing initramfs configuration file.

Motivation and Context

Fix #6606

How Has This Been Tested?

Tested on local Ubuntu16 builder (root-on-zfs), upgrading from "0.6.5.6-0ubuntu18" to current master:

Without this change (modified /init with set -x):

+ export PATH=/sbin:/usr/sbin:/bin:/usr/bin
+ [ -d /dev ]
+ [ -d /root ]
+ [ -d /sys ]
+ mkdir /sys
+ [ -d /proc ]
+ mkdir /proc
+ [ -d /tmp ]
+ mkdir /tmp
+ mkdir -p /var/lock
+ mount -t sysfs -o nodev,noexec,nosuid sysfs /sys
+ mount -t proc -o nodev,noexec,nosuid proc /proc
+ ln -sf /proc/mounts /etc/mtab
+ grep -q \<quiet\> /proc/cmdline
+ echo Loading, please wait...
Loading, please wait...
+ mount -t devtmpfs -o nosuid,mode=0755 udev /dev
+ mkdir /dev/pts
+ mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts
+ mount -t tmpfs -o noexec,nosuid,size=10%,mode=0755 tmpfs /run
+ mkdir -m 0755 /run/initramfs
+ export DPKG_ARCH=
+ . /conf/arch.conf
+ DPKG_ARCH=amd64
+ export MODPROBE_OPTIONS=-qb
+ export ROOT=
+ export ROOTDELAY=
+ export ROOTFLAGS=
+ export ROOTFSTYPE=
+ export IP=
+ export BOOT=
+ export BOOTIF=
+ export UBIMTD=
+ export break=
+ export init=/sbin/init
+ export quiet=n
+ export readonly=y
+ export rootmnt=/root
+ export debug=
+ export panic=
+ export blacklist=
+ export resume=
+ export resume_offset=
+ export drop_caps=
+ export fastboot=n
+ export forcefsck=n
+ export fsckfix=
+ export recovery=
+ [ -f /etc/hostname ]
+ /bin/hostname -F /etc/hostname
+ . /conf/initramfs.conf
+ MODULES=most
+ BUSYBOX=auto
+ COMPCACHE_SIZE=
+ COMPRESS=gzip
+ DEVICE=
+ NFSROOT=auto
+ [ -f conf/conf.d/* ]
+ . /scripts/functions
+ cat /proc/cmdline
+ ROOT=ZFS=rpool/ROOT/ubuntu
+ [ -z  ]
+ [ ZFS=rpool/ROOT/ubuntu = /dev/nfs ]
+ readonly=y
+ debug=y
+ quiet=n
+ [ -n  ]
+ exec
[    1.281584] systemd-udevd[109]: starting version 229
[    1.282735] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.283202] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.283217] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.287792] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.288992] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.289020] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.289112] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.289148] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.289183] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.289220] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.323888] virtio_net virtio0 ens3: renamed from eth0
[    1.335592] FDC 0 is a S82078B
[    2.369106] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
[   14.951271] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x30e5dd94d34, max_idle_ns: 440795304975 ns
[   31.478888] hidraw: raw HID events driver (C) Jiri Kosina
[   31.482243] usbcore: registered new interface driver usbhid
[   31.483568] usbhid: USB HID core driver


BusyBox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) modprobe zfs
[   38.061921] spl: module verification failed: signature and/or required key missing - tainting kernel
[   38.066081] SPL: Loaded module v0.7.0-26_g48ef8ba
[   38.067550] zavl: module license 'CDDL' taints kernel.
[   38.068960] Disabling lock debugging due to kernel taint
[   39.744181] ZFS: Loaded module v0.7.0-307_gba779f7, ZFS pool version 5000, ZFS filesystem version 5
(initramfs) zpool import 
   pool: rpool
     id: 6578963701138440634
  state: ONLINE
 action: The pool can be imported using its name or numeric identifier.
 config:

	rpool       ONLINE
	  vda1      ONLINE
(initramfs) 

With change applied:

+ export PATH=/sbin:/usr/sbin:/bin:/usr/bin
+ [ -d /dev ]
+ [ -d /root ]
+ [ -d /sys ]
+ mkdir /sys
+ [ -d /proc ]
+ mkdir /proc
+ [ -d /tmp ]
+ mkdir /tmp
+ mkdir -p /var/lock
+ mount -t sysfs -o nodev,noexec,nosuid sysfs /sys
+ mount -t proc -o nodev,noexec,nosuid proc /proc
+ ln -sf /proc/mounts /etc/mtab
+ grep -q \<quiet\> /proc/cmdline
+ echo Loading, please wait...
Loading, please wait...
+ mount -t devtmpfs -o nosuid,mode=0755 udev /dev
+ mkdir /dev/pts
+ mount -t devpts -o noexec,nosuid,gid=5,mode=0620 devpts /dev/pts
+ mount -t tmpfs -o noexec,nosuid,size=10%,mode=0755 tmpfs /run
+ mkdir -m 0755 /run/initramfs
+ export DPKG_ARCH=
+ . /conf/arch.conf
+ DPKG_ARCH=amd64
+ export MODPROBE_OPTIONS=-qb
+ export ROOT=
+ export ROOTDELAY=
+ export ROOTFLAGS=
+ export ROOTFSTYPE=
+ export IP=
+ export BOOT=
+ export BOOTIF=
+ export UBIMTD=
+ export break=
+ export init=/sbin/init
+ export quiet=n
+ export readonly=y
+ export rootmnt=/root
+ export debug=
+ export panic=
+ export blacklist=
+ export resume=
+ export resume_offset=
+ export drop_caps=
+ export fastboot=n
+ export forcefsck=n
+ export fsckfix=
+ export recovery=
+ [ -f /etc/hostname ]
+ /bin/hostname -F /etc/hostname
+ . /conf/initramfs.conf
+ MODULES=most
+ BUSYBOX=auto
+ COMPCACHE_SIZE=
+ COMPRESS=gzip
+ DEVICE=
+ NFSROOT=auto
+ [ -f conf/conf.d/zfs ]
+ . conf/conf.d/zfs
+ cat /proc/cmdline
+ BOOT=zfs
+ . /scripts/functions
+ cat /proc/cmdline
+ ROOT=ZFS=rpool/ROOT/ubuntu
+ [ -z zfs ]
+ readonly=y
+ debug=y
+ quiet=n
+ [ -n  ]
+ exec
[    1.260596] systemd-udevd[110]: starting version 229
[    1.261794] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.262281] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.262301] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.265749] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.267124] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.268951] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.270252] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.271569] random: systemd-udevd: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.271906] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.271953] random: udevadm: uninitialized urandom read (16 bytes read, 3 bits of entropy available)
[    1.307922] virtio_net virtio0 ens3: renamed from eth0
[    1.350815] FDC 0 is a S82078B
[    1.397165] spl: module verification failed: signature and/or required key missing - tainting kernel
[    1.399976] SPL: Loaded module v0.7.0-26_g48ef8ba
[    1.400748] zavl: module license 'CDDL' taints kernel.
[    1.401499] Disabling lock debugging due to kernel taint
[    2.033948] tsc: Refined TSC clocksource calibration: 3392.218 MHz
[    2.034893] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x30e59788ac7, max_idle_ns: 440795283321 ns
[    2.799444] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
[    3.060062] ZFS: Loaded module v0.7.0-307_gba779f7, ZFS pool version 5000, ZFS filesystem version 5
[    5.899320] systemd[1]: Mounting cgroup to /sys/fs/cgroup/hugetlb of type cgroup with options hugetlb.
[    5.902681] systemd[1]: Mounting cgroup to /sys/fs/cgroup/memory of type cgroup with options memory.
[    5.906314] systemd[1]: Mounting cgroup to /sys/fs/cgroup/perf_event of type cgroup with options perf_event.
[    5.908941] systemd[1]: Mounting cgroup to /sys/fs/cgroup/cpuset of type cgroup with options cpuset.
[    5.910532] systemd[1]: Mounting cgroup to /sys/fs/cgroup/cpu,cpuacct of type cgroup with options cpu,cpuacct.
[    5.911735] systemd[1]: Mounting cgroup to /sys/fs/cgroup/net_cls,net_prio of type cgroup with options net_cls,net_prio.
[    5.913011] systemd[1]: Mounting cgroup to /sys/fs/cgroup/devices of type cgroup with options devices.
[    5.914945] systemd[1]: Mounting cgroup to /sys/fs/cgroup/pids of type cgroup with options pids.
[    5.916176] systemd[1]: Mounting cgroup to /sys/fs/cgroup/blkio of type cgroup with options blkio.
[    5.917618] systemd[1]: Mounting cgroup to /sys/fs/cgroup/freezer of type cgroup with options freezer.
[    5.918927] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[    5.921331] systemd[1]: Detected virtualization qemu.
[    5.922069] systemd[1]: Detected architecture x86-64.

Welcome to Ubuntu 16.04 LTS!

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation (a change to man pages or other documentation)

Checklist:

  • My code follows the ZFS on Linux code style requirements.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • All commit messages are properly formatted and contain Signed-off-by.
  • Change has been approved by a ZFS on Linux member.

When upgrading from the distribution-provided zfs-initramfs package on
root-on-zfs Ubuntu and Debian the system may fail to boot: this change
adds the missing initramfs configuration file.

Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
@codecov
Copy link

codecov bot commented Feb 10, 2018

Codecov Report

Merging #7158 into master will increase coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #7158      +/-   ##
==========================================
+ Coverage   76.29%   76.33%   +0.03%     
==========================================
  Files         324      324              
  Lines      103006   102935      -71     
==========================================
- Hits        78593    78579      -14     
+ Misses      24413    24356      -57
Flag Coverage Δ
#kernel 76.19% <ø> (+0.26%) ⬆️
#user 65.89% <ø> (+0.07%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ba779f7...7f37c91. Read the comment docs.

@loli10K loli10K requested a review from rlaager February 11, 2018 07:37
Copy link
Member

@rlaager rlaager left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. The conf.d/zfs code is definitely required.

I know the root=ZFS= syntax is used by stock GRUB. What used the root=zfs: syntax?

@loli10K
Copy link
Contributor Author

loli10K commented Feb 11, 2018

What used the root=zfs: syntax?

@rlaager https://github.com/zfsonlinux/zfs/blob/master/contrib/initramfs/README.initramfs.markdown claims to support both root=zfs:<pool>/<dataset> and root=zfs:AUTO, so i added it.

@rlaager
Copy link
Member

rlaager commented Feb 11, 2018

That seems reasonable to me.

@behlendorf behlendorf merged commit a893627 into openzfs:master Feb 12, 2018
Nasf-Fan pushed a commit to Nasf-Fan/zfs that referenced this pull request Feb 13, 2018
When upgrading from the distribution-provided zfs-initramfs package on
root-on-zfs Ubuntu and Debian the system may fail to boot: this change
adds the missing initramfs configuration file.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes openzfs#7158
@loli10K loli10K deleted the contrib-initramfs-zfsroot branch February 21, 2018 20:40
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Mar 7, 2018
When upgrading from the distribution-provided zfs-initramfs package on
root-on-zfs Ubuntu and Debian the system may fail to boot: this change
adds the missing initramfs configuration file.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes openzfs#7158
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Mar 7, 2018
This is a squashed patchset for zfs-0.7.7.  The individual commits are
in the tonyhutter:zfs-0.7.7-hutter branch.  I squashed the commits so
that buildbot wouldn't have to run against each one, and because
github/builbot seem to have a maximum limit of 30 commits they can
test from a PR.

- Linux 4.16 compat: get_disk_and_module() openzfs#7264
- Change checksum & IO delay ratelimit values openzfs#7252
- Increment zil_itx_needcopy_bytes properly openzfs#6988  openzfs#7176
- Fix some typos openzfs#7237
- Fix zpool(8) list example to match actual format openzfs#7244
- Add SMART self-test results to zpool status -c openzfs#7178
- Add scrub after resilver zed script openzfs#4662  openzfs#7086
- Fix free memory calculation on v3.14+ openzfs#7170
- Report duration and error in mmp_history entries openzfs#7190
- Do not initiate MMP writes while pool is suspended openzfs#7182
- Linux 4.16 compat: use correct *_dec_and_test() openzfs#7179  openzfs#7211
- Allow modprobe to fail when called within systemd openzfs#7174
- Add SMART attributes for SSD and NVMe openzfs#7183  openzfs#7193
- Correct count_uberblocks in mmp.kshlib openzfs#7191
- Fix config issues: frame size and headers openzfs#7169
- Clarify zinject(8) explanation of -e openzfs#7172
- OpenZFS 8857 - zio_remove_child() panic due to already destroyed
  parent zio openzfs#7168
- 'zfs receive' fails with "dataset is busy" openzfs#7129  openzfs#7154
- contrib/initramfs: add missing conf.d/zfs openzfs#7158
- mmp should use a fixed tag for spa_config locks openzfs#6530  openzfs#7155
- Handle zap_add() failures in mixed case mode openzfs#7011 openzfs#7054
- Fix zdb -ed on objset for exported pool openzfs#7099 openzfs#6464
- Fix zdb -E segfault openzfs#7099
- Fix zdb -R decompression openzfs#7099  openzfs#4984
- Fix racy assignment of zcb.zcb_haderrors openzfs#7099
- Fix zle_decompress out of bound access openzfs#7099
- Fix zdb -c traverse stop on damaged objset root openzfs#7099
- Linux 4.11 compat: avoid refcount_t name conflict openzfs#7148
- Linux 4.16 compat: inode_set_iversion() openzfs#7148
- OpenZFS 8966 - Source file zfs_acl.c, function zfs_aclset_common
  contains a use after end of the lifetime of a local variable openzfs#7141
- Remove deprecated zfs_arc_p_aggressive_disable openzfs#7135
- Fix default libdir for Debian/Ubuntu openzfs#7083  openzfs#7101
- Bug fix in qat_compress.c for vmalloc addr check openzfs#7125
- Fix systemd_ RPM macros usage on Debian-based distributions openzfs#7074
  openzfs#7100
- Emit an error message before MMP suspends pool openzfs#7048
- ZTS: Fix create-o_ashift test case openzfs#6924  openzfs#6977
- Fix --with-systemd on Debian-based distributions (openzfs#6963) openzfs#6591  openzfs#6963
- Remove vn_rename and vn_remove dependency openzfs/spl#648 openzfs#6753
- Add support for "--enable-code-coverage" option openzfs#6670
- Make "-fno-inline" compile option more accessible openzfs#6605
- Add configure option to enable gcov analysis openzfs#6642
- Implement --enable-debuginfo to force debuginfo openzfs#2734
- Make --enable-debug fail when given bogus args openzfs#2734

Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Requires-spl: refs/pull/690/head
@tonyhutter tonyhutter mentioned this pull request Mar 7, 2018
13 tasks
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Mar 12, 2018
When upgrading from the distribution-provided zfs-initramfs package on
root-on-zfs Ubuntu and Debian the system may fail to boot: this change
adds the missing initramfs configuration file.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes openzfs#7158
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Mar 13, 2018
This is a squashed patchset for zfs-0.7.7.  The individual commits are
in the tonyhutter:zfs-0.7.7-hutter branch.  I squashed the commits so
that buildbot wouldn't have to run against each one, and because
github/builbot seem to have a maximum limit of 30 commits they can
test from a PR.

- Fix MMP write frequency for large pools openzfs#7205 openzfs#7289
- Handle zio_resume and mmp => off openzfs#7286
- Fix zfs-kmod builds when using rpm >= 4.14 openzfs#7284
- zdb and inuse tests don't pass with real disks openzfs#6939 openzfs#7261
- Take user namespaces into account in policy checks openzfs#6800 openzfs#7270
- Detect long config lock acquisition in mmp openzfs#7212
- Linux 4.16 compat: get_disk_and_module() openzfs#7264
- Change checksum & IO delay ratelimit values openzfs#7252
- Increment zil_itx_needcopy_bytes properly openzfs#6988 openzfs#7176
- Fix some typos openzfs#7237
- Fix zpool(8) list example to match actual format openzfs#7244
- Add SMART self-test results to zpool status -c openzfs#7178
- Add scrub after resilver zed script openzfs#4662 openzfs#7086
- Fix free memory calculation on v3.14+ openzfs#7170
- Report duration and error in mmp_history entries openzfs#7190
- Do not initiate MMP writes while pool is suspended openzfs#7182
- Linux 4.16 compat: use correct *_dec_and_test()
- Allow modprobe to fail when called within systemd openzfs#7174
- Add SMART attributes for SSD and NVMe openzfs#7183 openzfs#7193
- Correct count_uberblocks in mmp.kshlib openzfs#7191
- Fix config issues: frame size and headers openzfs#7169
- Clarify zinject(8) explanation of -e openzfs#7172
- OpenZFS 8857 - zio_remove_child() panic due to already destroyed parent zio openzfs#7168
- 'zfs receive' fails with "dataset is busy" openzfs#7129 openzfs#7154
- contrib/initramfs: add missing conf.d/zfs openzfs#7158
- mmp should use a fixed tag for spa_config locks openzfs#6530 openzfs#7155
- Handle zap_add() failures in mixed case mode openzfs#7011 openzfs#7054
- Fix zdb -ed on objset for exported pool openzfs#7099 openzfs#6464
- Fix zdb -E segfault openzfs#7099
- Fix zdb -R decompression openzfs#7099 openzfs#4984
- Fix racy assignment of zcb.zcb_haderrors openzfs#7099
- Fix zle_decompress out of bound access openzfs#7099
- Fix zdb -c traverse stop on damaged objset root openzfs#7099
- Linux 4.11 compat: avoid refcount_t name conflict openzfs#7148
- Linux 4.16 compat: inode_set_iversion() openzfs#7148
- OpenZFS 8966 - Source file zfs_acl.c, function zfs_aclset_common contains a use after end of the lifetime of a local variable openzfs#7141
- Remove deprecated zfs_arc_p_aggressive_disable openzfs#7135
- Fix default libdir for Debian/Ubuntu openzfs#7083 openzfs#7101
- Bug fix in qat_compress.c for vmalloc addr check openzfs#7125
- Fix systemd_ RPM macros usage on Debian-based distributions openzfs#7074 openzfs#7100
- Emit an error message before MMP suspends pool openzfs#7048
- ZTS: Fix create-o_ashift test case openzfs#6924 openzfs#6977
- Fix --with-systemd on Debian-based distributions (openzfs#6963) openzfs#6591 openzfs#6963
- Remove vn_rename and vn_remove dependency openzfs/spl#648 openzfs#6753
- Add support for "--enable-code-coverage" option openzfs#6670
- Make "-fno-inline" compile option more accessible openzfs#6605
- Add configure option to enable gcov analysis openzfs#6642
- Implement --enable-debuginfo to force debuginfo openzfs#2734
- Make --enable-debug fail when given bogus args openzfs#2734

Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Requires-spl: refs/pull/690/head
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Mar 13, 2018
This is a squashed patchset for zfs-0.7.7.  The individual commits are
in the tonyhutter:zfs-0.7.7-hutter branch.  I squashed the commits so
that buildbot wouldn't have to run against each one, and because
github/builbot seem to have a maximum limit of 30 commits they can
test from a PR.

- Fix MMP write frequency for large pools openzfs#7205 openzfs#7289
- Handle zio_resume and mmp => off openzfs#7286
- Fix zfs-kmod builds when using rpm >= 4.14 openzfs#7284
- zdb and inuse tests don't pass with real disks openzfs#6939 openzfs#7261
- Take user namespaces into account in policy checks openzfs#6800 openzfs#7270
- Detect long config lock acquisition in mmp openzfs#7212
- Linux 4.16 compat: get_disk_and_module() openzfs#7264
- Change checksum & IO delay ratelimit values openzfs#7252
- Increment zil_itx_needcopy_bytes properly openzfs#6988 openzfs#7176
- Fix some typos openzfs#7237
- Fix zpool(8) list example to match actual format openzfs#7244
- Add SMART self-test results to zpool status -c openzfs#7178
- Add scrub after resilver zed script openzfs#4662 openzfs#7086
- Fix free memory calculation on v3.14+ openzfs#7170
- Report duration and error in mmp_history entries openzfs#7190
- Do not initiate MMP writes while pool is suspended openzfs#7182
- Linux 4.16 compat: use correct *_dec_and_test()
- Allow modprobe to fail when called within systemd openzfs#7174
- Add SMART attributes for SSD and NVMe openzfs#7183 openzfs#7193
- Correct count_uberblocks in mmp.kshlib openzfs#7191
- Fix config issues: frame size and headers openzfs#7169
- Clarify zinject(8) explanation of -e openzfs#7172
- OpenZFS 8857 - zio_remove_child() panic due to already destroyed
  parent zio openzfs#7168
- 'zfs receive' fails with "dataset is busy" openzfs#7129 openzfs#7154
- contrib/initramfs: add missing conf.d/zfs openzfs#7158
- mmp should use a fixed tag for spa_config locks openzfs#6530 openzfs#7155
- Handle zap_add() failures in mixed case mode openzfs#7011 openzfs#7054
- Fix zdb -ed on objset for exported pool openzfs#7099 openzfs#6464
- Fix zdb -E segfault openzfs#7099
- Fix zdb -R decompression openzfs#7099 openzfs#4984
- Fix racy assignment of zcb.zcb_haderrors openzfs#7099
- Fix zle_decompress out of bound access openzfs#7099
- Fix zdb -c traverse stop on damaged objset root openzfs#7099
- Linux 4.11 compat: avoid refcount_t name conflict openzfs#7148
- Linux 4.16 compat: inode_set_iversion() openzfs#7148
- OpenZFS 8966 - Source file zfs_acl.c, function zfs_aclset_common
  contains a use after end of the lifetime of a local variable openzfs#7141
- Remove deprecated zfs_arc_p_aggressive_disable openzfs#7135
- Fix default libdir for Debian/Ubuntu openzfs#7083 openzfs#7101
- Bug fix in qat_compress.c for vmalloc addr check openzfs#7125
- Fix systemd_ RPM macros usage on Debian-based distributions openzfs#7074
  openzfs#7100
- Emit an error message before MMP suspends pool openzfs#7048
- ZTS: Fix create-o_ashift test case openzfs#6924 openzfs#6977
- Fix --with-systemd on Debian-based distributions (openzfs#6963) openzfs#6591 openzfs#6963
- Remove vn_rename and vn_remove dependency openzfs/spl#648 openzfs#6753
- Add support for "--enable-code-coverage" option openzfs#6670
- Make "-fno-inline" compile option more accessible openzfs#6605
- Add configure option to enable gcov analysis openzfs#6642
- Implement --enable-debuginfo to force debuginfo openzfs#2734
- Make --enable-debug fail when given bogus args openzfs#2734

Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Requires-spl: refs/pull/690/head
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Mar 13, 2018
When upgrading from the distribution-provided zfs-initramfs package on
root-on-zfs Ubuntu and Debian the system may fail to boot: this change
adds the missing initramfs configuration file.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes openzfs#7158
tonyhutter pushed a commit to tonyhutter/zfs that referenced this pull request Mar 13, 2018
This is a squashed patchset for zfs-0.7.7.  The individual commits are
in the tonyhutter:zfs-0.7.7-hutter branch.  I squashed the commits so
that buildbot wouldn't have to run against each one, and because
github/builbot seem to have a maximum limit of 30 commits they can
test from a PR.

- Fix MMP write frequency for large pools openzfs#7205 openzfs#7289
- Handle zio_resume and mmp => off openzfs#7286
- Fix zfs-kmod builds when using rpm >= 4.14 openzfs#7284
- zdb and inuse tests don't pass with real disks openzfs#6939 openzfs#7261
- Take user namespaces into account in policy checks openzfs#6800 openzfs#7270
- Detect long config lock acquisition in mmp openzfs#7212
- Linux 4.16 compat: get_disk_and_module() openzfs#7264
- Change checksum & IO delay ratelimit values openzfs#7252
- Increment zil_itx_needcopy_bytes properly openzfs#6988 openzfs#7176
- Fix some typos openzfs#7237
- Fix zpool(8) list example to match actual format openzfs#7244
- Add SMART self-test results to zpool status -c openzfs#7178
- Add scrub after resilver zed script openzfs#4662 openzfs#7086
- Fix free memory calculation on v3.14+ openzfs#7170
- Report duration and error in mmp_history entries openzfs#7190
- Do not initiate MMP writes while pool is suspended openzfs#7182
- Linux 4.16 compat: use correct *_dec_and_test()
- Allow modprobe to fail when called within systemd openzfs#7174
- Add SMART attributes for SSD and NVMe openzfs#7183 openzfs#7193
- Correct count_uberblocks in mmp.kshlib openzfs#7191
- Fix config issues: frame size and headers openzfs#7169
- Clarify zinject(8) explanation of -e openzfs#7172
- OpenZFS 8857 - zio_remove_child() panic due to already destroyed
  parent zio openzfs#7168
- 'zfs receive' fails with "dataset is busy" openzfs#7129 openzfs#7154
- contrib/initramfs: add missing conf.d/zfs openzfs#7158
- mmp should use a fixed tag for spa_config locks openzfs#6530 openzfs#7155
- Handle zap_add() failures in mixed case mode openzfs#7011 openzfs#7054
- Fix zdb -ed on objset for exported pool openzfs#7099 openzfs#6464
- Fix zdb -E segfault openzfs#7099
- Fix zdb -R decompression openzfs#7099 openzfs#4984
- Fix racy assignment of zcb.zcb_haderrors openzfs#7099
- Fix zle_decompress out of bound access openzfs#7099
- Fix zdb -c traverse stop on damaged objset root openzfs#7099
- Linux 4.11 compat: avoid refcount_t name conflict openzfs#7148
- Linux 4.16 compat: inode_set_iversion() openzfs#7148
- OpenZFS 8966 - Source file zfs_acl.c, function zfs_aclset_common
  contains a use after end of the lifetime of a local variable openzfs#7141
- Remove deprecated zfs_arc_p_aggressive_disable openzfs#7135
- Fix default libdir for Debian/Ubuntu openzfs#7083 openzfs#7101
- Bug fix in qat_compress.c for vmalloc addr check openzfs#7125
- Fix systemd_ RPM macros usage on Debian-based distributions openzfs#7074
  openzfs#7100
- Emit an error message before MMP suspends pool openzfs#7048
- ZTS: Fix create-o_ashift test case openzfs#6924 openzfs#6977
- Fix --with-systemd on Debian-based distributions (openzfs#6963) openzfs#6591 openzfs#6963
- Remove vn_rename and vn_remove dependency openzfs/spl#648 openzfs#6753
- Fix "--enable-code-coverage" debug build openzfs#6674
- Update codecov.yml openzfs#6669
- Add support for "--enable-code-coverage" option openzfs#6670
- Make "-fno-inline" compile option more accessible openzfs#6605
- Add configure option to enable gcov analysis openzfs#6642
- Implement --enable-debuginfo to force debuginfo openzfs#2734
- Make --enable-debug fail when given bogus args openzfs#2734

Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Requires-spl: refs/pull/690/head
tonyhutter pushed a commit that referenced this pull request Mar 19, 2018
When upgrading from the distribution-provided zfs-initramfs package on
root-on-zfs Ubuntu and Debian the system may fail to boot: this change
adds the missing initramfs configuration file.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #7158
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Various Packaging issues on Debian (Stretch/Buster) and likely Ubuntu
3 participants