zfs system process hung on container stop/delete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Native ZFS for Linux |
Fix Released
|
Unknown
|
|||
linux (Ubuntu) |
Fix Released
|
High
|
Colin Ian King | ||
Xenial |
Fix Released
|
High
|
Colin Ian King | ||
Artful |
Fix Released
|
High
|
Colin Ian King | ||
Bionic |
Fix Released
|
High
|
Colin Ian King | ||
zfs-linux (Ubuntu) |
Fix Released
|
High
|
Colin Ian King | ||
Xenial |
Fix Released
|
High
|
Colin Ian King | ||
Artful |
Fix Released
|
High
|
Colin Ian King | ||
Bionic |
Fix Released
|
High
|
Colin Ian King |
Bug Description
== SRU Request [Xenial][Artful] ==
== Justification ==
It is possible to hang zfs asynchronous reads if a read to a page that is mmap'd onto the the file being read is the same offset in the mapping as in the file. This is caused by two lock operations on the page.
== Fix ==
Upstream ZFS fix to ensure the page is not double-locked during async I/O of one or more pages.
== Testing ==
Create a zfs pool + zfs file system, run the reproducer program in comment #28 on the zfs filesystem. Without the fix this can lock up, with the fix this runs to completion.
== Regression Potential ==
Minimal, the locking fix addresses a fundamental bug in the locking and this should not affect ZFS read/write I/O with this fix.
-------
Summary:
On a Bionic system running 4.15.0-10-generic, after attempting to build libaio in a Bionic daily container I cannot stop or delete the container. dmesg shows a variety of hung tasks
Steps to Reproduce:
Use the following script and watch for the the hang. At that point attempt to stop or delete the container: http://
Originally filed against LXD: https:/
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-10-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 9 09:19:11 2018
HibernationDevice: RESUME=
InstallationDate: Installed on 2018-02-19 (17 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180214)
Lsusb:
Bus 001 Device 002: ID 8087:8001 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 04f2:b45d Chicony Electronics Co., Ltd
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 20BSCTO1WW
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.172
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/13/2017
dmi.bios.vendor: LENOVO
dmi.bios.version: N14ET42W (1.20 )
dmi.board.
dmi.board.name: 20BSCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50512 STD
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X1 Carbon 3rd
dmi.product.name: 20BSCTO1WW
dmi.product.
dmi.sys.vendor: LENOVO
---
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 18.04
HibernationDevice: RESUME=
InstallationDate: Installed on 2018-02-19 (17 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180214)
Lsusb:
Bus 001 Device 002: ID 8087:8001 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 04f2:b45d Chicony Electronics Co., Ltd
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: LENOVO 20BSCTO1WW
NonfreeKernelMo
Package: linux (not installed)
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.172
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Tags: bionic
Uname: Linux 4.15.0-12-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip libvirt lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 09/13/2017
dmi.bios.vendor: LENOVO
dmi.bios.version: N14ET42W (1.20 )
dmi.board.
dmi.board.name: 20BSCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50512 STD
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X1 Carbon 3rd
dmi.product.name: 20BSCTO1WW
dmi.product.
dmi.sys.vendor: LENOVO
summary: |
- stack trace on system process hung + system process hung on container stop/delete |
tags: |
added: kernel-key removed: kernel-da-key |
summary: |
- system process hung on container stop/delete + zfs system process hung on container stop/delete |
Changed in zfs-linux (Ubuntu Artful): | |
importance: | Undecided → High |
Changed in zfs-linux (Ubuntu Bionic): | |
importance: | Undecided → High |
Changed in zfs-linux (Ubuntu Artful): | |
assignee: | nobody → Colin Ian King (colin-king) |
Changed in zfs-linux (Ubuntu Bionic): | |
assignee: | nobody → Colin Ian King (colin-king) |
tags: | removed: kernel-key |
Changed in zfs: | |
status: | Unknown → New |
Changed in zfs-linux (Ubuntu Bionic): | |
status: | New → Fix Committed |
Changed in linux (Ubuntu Bionic): | |
status: | Triaged → Fix Committed |
information type: | Private → Public |
Changed in linux (Ubuntu Xenial): | |
status: | New → Triaged |
Changed in zfs-linux (Ubuntu Xenial): | |
status: | New → Invalid |
Changed in zfs-linux (Ubuntu Artful): | |
status: | New → In Progress |
Changed in zfs-linux (Ubuntu Xenial): | |
status: | Invalid → In Progress |
Changed in linux (Ubuntu Xenial): | |
status: | Triaged → In Progress |
Changed in linux (Ubuntu Artful): | |
status: | Triaged → In Progress |
Changed in linux (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in zfs-linux (Ubuntu Xenial): | |
importance: | Undecided → High |
assignee: | nobody → Colin Ian King (colin-king) |
Changed in linux (Ubuntu Xenial): | |
assignee: | nobody → Colin Ian King (colin-king) |
Changed in linux (Ubuntu Artful): | |
assignee: | nobody → Colin Ian King (colin-king) |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → Colin Ian King (colin-king) |
description: | updated |
Changed in linux (Ubuntu Artful): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in zfs: | |
status: | New → Fix Released |
tags: | added: cscc |
This change was made by a bot.