Comment 12 for bug 1784665

Revision history for this message
Ryan Harper (raharper) wrote : Re: mkfs.ext4 over /dev/bcache0 hangs

4.10:
  Status: OK
  Comment: Survived 30 minute loop over recreating with no issues.
4.13:
  Status: OK
  Comment: Survived 30 minute loop over recreating with no issues.
4.15:
  Status: FAIL
  Comment: triggered within less than a minute of the loop.
  Kernel Trace:

[ 122.500943] Oops: 0000 [#24] SMP PTI
[ 122.501612] Modules linked in: bcache nls_utf8 isofs nls_iso8859_1 ppdev kvm_intel kvm irqbypass parport_pc input_leds parport joydev mac_hid serio_raw sch_fq_codel ib_iser rdma_cm iw_cm ib_cm ib_core iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi virtio_rng ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear psmouse virtio_net virtio_blk virtio_scsi i2c_piix4 pata_acpi floppy
[ 122.508306] CPU: 3 PID: 2212 Comm: kworker/3:249 Tainted: G D 4.15.0-041500-generic #201802011154
[ 122.510459] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
[ 122.512541] Workqueue: bcache bch_data_insert_keys [bcache]
[ 122.513779] RIP: 0010:__bch_bset_search+0x80/0x470 [bcache]
[ 122.515015] RSP: 0018:ffffb49141a83c10 EFLAGS: 00010286
[ 122.516127] RAX: fffffffffff6cacc RBX: fffffffffff6cacc RCX: 0000000000000000
[ 122.516947] RDX: ffffb49141a83e18 RSI: 0000000000000069 RDI: ffff8f6a7ad64cc8
[ 122.517768] RBP: ffffb49141a83c70 R08: 0000000000000001 R09: ffff8f6a7ad64ce0
[ 122.518586] R10: ffff8f6a6735ab80 R11: 0000000000027ec0 R12: ffffb49141a83e18
[ 122.519858] R13: 0000000400656369 R14: 0000000066643165 R15: ffff8f6a7ad64ce0
[ 122.521302] FS: 0000000000000000(0000) GS:ffff8f6a7fd80000(0000) knlGS:0000000000000000
[ 122.522272] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 122.522969] CR2: 0000000400656389 CR3: 0000000038fc2000 CR4: 00000000000006e0
[ 122.524521] Call Trace:
[ 122.525153] ? ttwu_do_activate+0x7a/0x90
[ 122.526147] __bch_btree_iter_init+0x5d/0xc0 [bcache]
[ 122.527411] bch_btree_iter_init+0x12/0x20 [bcache]
[ 122.528578] bch_btree_map_nodes_recurse+0x93/0x190 [bcache]
[ 122.529904] ? __slab_free+0x14d/0x2c0
[ 122.530814] ? bch_btree_insert_check_key+0x1f0/0x1f0 [bcache]
[ 122.532331] __bch_btree_map_nodes+0x142/0x1a0 [bcache]
[ 122.533685] ? bch_btree_insert_check_key+0x1f0/0x1f0 [bcache]
[ 122.534994] bch_btree_insert+0xf9/0x170 [bcache]
[ 122.536059] ? wait_woken+0x80/0x80
[ 122.536876] bch_data_insert_keys+0x36/0x130 [bcache]
[ 122.538004] process_one_work+0x1ef/0x410
[ 122.538928] worker_thread+0x32/0x410
[ 122.539779] kthread+0x121/0x140
[ 122.540538] ? process_one_work+0x410/0x410
[ 122.541487] ? kthread_create_worker_on_cpu+0x70/0x70
[ 122.542619] ret_from_fork+0x35/0x40
[ 122.543547] Code: 41 08 81 e3 ff ff 0f 00 25 ff ff 0f 00 48 39 d8 48 89 5d d0 0f 85 b6 03 00 00 48 8b 42 08 49 2b 41 10 48 85 c0 0f 89 7c 03 00 00 <49> 8b 45 20 25 ff ff 0f 00 48 39 45 d0 0f 85 c0 03 00 00 48 8b
[ 122.546019] RIP: __bch_bset_search+0x80/0x470 [bcache] RSP: ffffb49141a83c10
[ 122.546836] CR2: 0000000400656389
[ 122.547567] ---[ end trace c539406c76c0edd2 ]---