]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
UBUNTU: SAUCE: Fix non-prefaulted page deadlock (LP: #1754584)
authorColin Ian King <colin.king@canonical.com>
Wed, 28 Mar 2018 15:42:00 +0000 (17:42 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 3 Apr 2018 15:54:47 +0000 (17:54 +0200)
commit3f5d8d55629630dafe8b9d0e6c27cf0cc4941153
tree58cce1c5abf149d0e4092201c4676cdaa680b2ac
parentcd3ea10866cd849aebd9de8135c0a2b728a016a7
UBUNTU: SAUCE: Fix non-prefaulted page deadlock (LP: #1754584)

BugLink: https://bugs.launchpad.net/bugs/1754584
Fix mmap'd libaio read on non-prefaulted page deadlock. This is a hot fix
from ZFS upstream that ensure pages do not deadlock.

Performing a read with the target data in a mmap'd page that is map'd into
the same blocks that are being read causes a lock on the page and a further
lock on the same page when the page is being faulted in, causing deadlock.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
15 files changed:
zfs/META
zfs/Makefile.in
zfs/aclocal.m4
zfs/config/user-libaio.m4 [new file with mode: 0644]
zfs/config/user.m4
zfs/config/zfs-build.m4
zfs/configure
zfs/include/Makefile.in
zfs/include/linux/Makefile.in
zfs/include/sys/Makefile.in
zfs/include/sys/fm/Makefile.in
zfs/include/sys/fm/fs/Makefile.in
zfs/include/sys/fs/Makefile.in
zfs/module/zfs/zfs_vnops.c
zfs/zfs_config.h.in