hang in ext4_journal_start_sb making an lvm snapshot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
[maverick]
I'm trying to use lvm snapshots under schroot to create a reproducible build environment. The first few uses of them worked, but after that I find more and more processes are getting locked up like this:
[168841.490770] INFO: task flush-252:13:27159 blocked for more than 120 seconds.
[168841.490777] "echo 0 > /proc/sys/
[168841.490783] flush-252:13 D 000000010100cf86 0 27159 2 0x00000000
[168841.490793] ffff8801f6643ac0 0000000000000046 ffff880100000000 0000000000015900
[168841.490802] ffff8801f6643fd8 0000000000015900 ffff8801f6643fd8 ffff88008269c4a0
[168841.490810] 0000000000015900 0000000000015900 ffff8801f6643fd8 0000000000015900
[168841.490818] Call Trace:
[168841.490831] [<ffffffff81201
[168841.490841] [<ffffffff8107e
[168841.490850] [<ffffffff811ef
[168841.490859] [<ffffffff81053
[168841.490869] [<ffffffff81109
[168841.490877] [<ffffffff81173
[168841.490884] [<ffffffff81174
[168841.490892] [<ffffffff81174
[168841.490900] [<ffffffff8106e
[168841.490908] [<ffffffff8106f
[168841.490915] [<ffffffff81175
[168841.490922] [<ffffffff8106f
[168841.490930] [<ffffffff81175
[168841.490936] [<ffffffff8107e
[168841.490945] [<ffffffff81119
[168841.490952] [<ffffffff81119
[168841.490957] [<ffffffff8107d
[168841.490965] [<ffffffff8100a
[168841.490971] [<ffffffff8107d
[168841.490977] [<ffffffff8100a
[168841.490984] INFO: task lvcreate:27338 blocked for more than 120 seconds.
tags: | added: kj-triage |
Also on observed on one of my machines.
- Linux RAID10 (f2)
- SATA disks
- Ext4
- KVM
- Multi gigabyte files (qcow2 images)
- Multiple frozen, unkillable 'lvcreate --snapshot' commands
[1360167.174975] INFO: task flush-251:4:479 blocked for more than 120 seconds. kernel/ hung_task_ timeout_ secs" disables this message. 32d>] ext4_force_ commit+ 0x8d/0xe0 090>] ? autoremove_ wake_function+ 0x0/0x40 405>] ext4_write_ inode+0x75/ 0x110 a64>] writeback_ single_ inode+0x2b4/ 0x3d0 50e>] writeback_ inodes_ wb+0x40e/ 0x5e0 6b0>] ? finish_ task_switch+ 0x50/0xe0 7ea>] wb_writeback+ 0x10a/0x1d0 719>] ? try_to_ del_timer_ sync+0x79/ 0xd0 d9d>] ? schedule_ timeout+ 0x19d/0x300 abd>] wb_do_writeback +0x12d/ 0x1a0 b83>] bdi_writeback_ task+0x53/ 0xe0 546>] bdi_start_ fn+0x86/ 0x100 4c0>] ? bdi_start_ fn+0x0/ 0x100 d16>] kthread+0x96/0xa0 1ea>] child_rip+0xa/0x20 c80>] ? kthread+0x0/0xa0 1e0>] ? child_rip+0x0/0x20
[1360167.187216] "echo 0 > /proc/sys/
[1360167.211359] flush-251:4 D ffff88031d2e33d8 0 479 2 0x00000000
[1360167.211363] ffff88031f7c9bb0 0000000000000046 0000000000015bc0 0000000000015bc0
[1360167.211366] ffff880322589ab0 ffff88031f7c9fd8 0000000000015bc0 ffff8803225896f0
[1360167.211369] 0000000000015bc0 ffff88031f7c9fd8 0000000000015bc0 ffff880322589ab0
[1360167.211371] Call Trace:
[1360167.211377] [<ffffffff811f6
[1360167.211381] [<ffffffff81085
[1360167.211385] [<ffffffff811de
[1360167.211388] [<ffffffff81166
[1360167.211390] [<ffffffff81167
[1360167.211393] [<ffffffff81058
[1360167.211395] [<ffffffff81167
[1360167.211398] [<ffffffff81077
[1360167.211402] [<ffffffff81558
[1360167.211404] [<ffffffff81167
[1360167.211406] [<ffffffff81167
[1360167.211409] [<ffffffff8110f
[1360167.211411] [<ffffffff8110f
[1360167.211413] [<ffffffff81084
[1360167.211416] [<ffffffff81014
[1360167.211418] [<ffffffff81084
[1360167.211419] [<ffffffff81014