Deletion of subvolumes by docker system prune causes btrfs to become unusable/unmountable because of skinny extends
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
`docker system prune` caused a few processes to hang a few minutes while I could still capture
```
[ 85.821088] ------------[ cut here ]------------
[ 85.821108] WARNING: CPU: 6 PID: 75 at /build/
[ 85.821109] Modules linked in: rfcomm msr nf_conntrack_
[ 85.821133] media hid_multitouch zfs(POE) zunicode(POE) zavl(POE) icp(POE) nls_iso8859_1 zcommon(POE) znvpair(POE) spl(OE) intel_rapl x86_pkg_
[ 85.821163] libahci drm
[ 85.821165] CPU: 6 PID: 75 Comm: kworker/u16:1 Tainted: P OE 4.13.0-21-generic #24-Ubuntu
[ 85.821166] Hardware name: LENOVO 20221/INVALID, BIOS 71CN51WW(V1.21) 07/12/2013
[ 85.821181] Workqueue: btrfs-extent-refs btrfs_extent_
[ 85.821182] task: ffff9a5c6c6b8000 task.stack: ffffa8f681b58000
[ 85.821192] RIP: 0010:btrfs_
[ 85.821193] RSP: 0018:ffffa8f681
[ 85.821194] RAX: 0000000000000026 RBX: 00000000ffffffef RCX: 0000000000000000
[ 85.821194] RDX: 0000000000000000 RSI: ffff9a5c7f38dc78 RDI: ffff9a5c7f38dc78
[ 85.821195] RBP: ffffa8f681b5bdd8 R08: 0000000000000001 R09: 000000000000042f
[ 85.821196] R10: ffffa8f681b5bc70 R11: 0000000000000000 R12: ffff9a5c6b3c5438
[ 85.821196] R13: ffff9a5c5fc30000 R14: ffff9a5b85529a00 R15: 000000000000028f
[ 85.821197] FS: 000000000000000
[ 85.821198] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 85.821199] CR2: 00005643c2753020 CR3: 00000002e8e09000 CR4: 00000000001406e0
[ 85.821200] Call Trace:
[ 85.821211] delayed_
[ 85.821224] btrfs_worker_
[ 85.821235] btrfs_extent_
[ 85.821239] process_
[ 85.821241] worker_
[ 85.821242] kthread+0x125/0x140
[ 85.821244] ? process_
[ 85.821245] ? kthread_
[ 85.821248] ret_from_
[ 85.821249] Code: fe ff 89 d9 ba c1 0b 00 00 48 c7 c6 60 28 7d c0 4c 89 e7 e8 e5 a2 09 00 e9 b5 fe ff ff 89 de 48 c7 c7 98 93 7d c0 e8 8d 02 7b ec <0f> ff eb d3 e8 60 a4 09 00 0f 1f 00 0f 1f 44 00 00 55 48 89 e5
[ 85.821268] ---[ end trace 9bddba90bd2dbd28 ]---
[ 85.821271] BTRFS: error (device sda5) in btrfs_run_
[ 85.821274] BTRFS info (device sda5): forced readonly
```
from `dmesg`. After a forced restart with the power button, I could reproduce the issue (and had to restart with the power button every time), so that finally the filesystem because unmountable because of skinny extents (couldn't capture the stack for the unmountable state).
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: linux-image-
ProcVersionSign
Uname: Linux 4.13.0-21-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.7-0ubuntu3.6
Architecture: amd64
AudioDevicesInUse:
BEN. PID ZUGR. BEFEHL
/dev/snd/pcmC0D0p: richter 19894 F...m pulseaudio
/dev/snd/
CurrentDesktop: Unity:Unity7:ubuntu
Date: Fri Dec 29 06:51:06 2017
HibernationDevice: RESUME=
InstallationDate: Installed on 2015-12-12 (747 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
MachineType: LENOVO 20221
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.169.1
SourcePackage: linux
UpgradeStatus: Upgraded to artful on 2017-10-19 (70 days ago)
dmi.bios.date: 07/12/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: 71CN51WW(V1.21)
dmi.board.
dmi.board.name: INVALID
dmi.board.vendor: LENOVO
dmi.board.version: 31900003WIN8 STD MLT
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: IDEAPAD
dmi.product.name: 20221
dmi.product.
dmi.sys.vendor: LENOVO
This change was made by a bot.