]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
UBUNTU: SAUCE: Fix ioctl loop-spin in zed (LP: #1751796)
authorColin Ian King <colin.king@canonical.com>
Mon, 26 Mar 2018 10:58:14 +0000 (11:58 +0100)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Mon, 26 Mar 2018 13:22:13 +0000 (10:22 -0300)
commitf73e894b70499ea945453f32b8f95928db98f06e
tree66dc79765e894dc9faddc3bdcafd309fc9ee658a
parent4cae93646310d8f478078756d2c48815eebef472
UBUNTU: SAUCE: Fix ioctl loop-spin in zed (LP: #1751796)

BugLink: https://bugs.launchpad.net/bugs/1751796
Add ZFS 0.6.x kernel ioctl binary compat shim, detect ZFS kernel driver
version and copy zfs ioctl command to the newer ZFS 0.7.0 ioctl command layout.
This allows zed to be upgraded from a pre-0.7.0 ZFS to 0.7.0 without causing
ioctl breakage.

This patch sync's the kernel drivers to the module fixes in userspace, introduced
in version zfsutils-linux 0.7.5-1ubuntu8.  No functional change in the kernel drivers;
this just adds compat structures to allow userspace to copy ioctl data appropriately
in the userspace tools.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
zfs/META
zfs/include/sys/zfs_ioctl.h