Project

General

Profile

Actions

Bug #3291

closed

rbd: BUG in bio from rbd_rq_fn

Added by Josh Durgin over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
rbd
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

From #ceph, with linux 3.6.1:

(01:01:04 PM) tziOm: I do a " dd if=/dev/zero of=foo bs=1024k count=512" on a rbd
(01:01:14 PM) tziOm: and if hangs totally.. cant even kill dd
[42691.654211] ------------[ cut here ]------------
[42691.656012] kernel BUG at fs/bio.c:1504!
[42691.656012] invalid opcode: 0000 [#1] SMP 
[42691.656012] Modules linked in: rbd libceph fuse bonding raid456 async_raid6_recov async_pq raid6_pq async_xor xor async_memcpy async_tx md_mod loop radeon lpc_ich mfd_core ttm drm_kms_helper drm joydev i2c_algo_bit i2c_core hid_generic rng_core e752x_edac tpm_tis tpm tpm_bios edac_core shpchp snd_pcm dcdbas snd_timer snd evdev soundcore snd_page_alloc processor video microcode thermal_sys psmouse pcspkr serio_raw button ext3 jbd mbcache btrfs zlib_deflate crc32c libcrc32c sr_mod sg cdrom sd_mod crc_t10dif ata_generic usbhid hid pata_sil680 megaraid_mbox floppy ata_piix uhci_hcd megaraid_mm ehci_hcd libata scsi_mod e1000 usbcore usb_common
[42691.656012] CPU 1 
[42691.656012] Pid: 3456, comm: btrfs-submit-1 Not tainted 3.6.1 #1 Dell Computer Corporation PowerEdge 2850/0XC320
[42691.656012] RIP: 0010:[<ffffffff81135ece>]  [<ffffffff81135ece>] bio_split+0x81/0x1af
[42691.656012] RSP: 0018:ffff88001ecefb80  EFLAGS: 00010212
[42691.656012] RAX: 0000000000000000 RBX: ffff880034140580 RCX: 0000000000000200
[42691.656012] RDX: 00000000000001e8 RSI: ffff88003db61c00 RDI: ffffffff810caa72
[42691.656012] RBP: 0000000000000180 R08: 0000000000011200 R09: dead000000200200
[42691.656012] R10: dead000000100100 R11: 0000000000000000 R12: ffff88003db61c00
[42691.656012] R13: 0000000000000000 R14: ffff88007a7d1038 R15: 000000000017a000
[42691.656012] FS:  0000000000000000(0000) GS:ffff88007fc40000(0000) knlGS:0000000000000000
[42691.656012] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[42691.656012] CR2: 00007fa5a5c47c18 CR3: 000000000160b000 CR4: 00000000000007e0
[42691.656012] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[42691.656012] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[42691.656012] Process btrfs-submit-1 (pid: 3456, threadinfo ffff88001ecee000, task ffff88007ad7ade0)
[42691.768103] Stack:
[42691.768103]  0000000000000000 ffff8800091e6000 0000000000030000 ffff88002d97d348
[42691.768103]  0000000000000000 ffff880063df45c0 ffff880034140580 ffffffffa047e77c
[42691.768103]  0000000000000001 ffffffff811c0fa4 0000000000000000 00000000338a49c6
[42691.768103] Call Trace:
[42691.768103]  [<ffffffffa047e77c>] ? rbd_rq_fn+0x253/0x42b [rbd]
[42691.768103]  [<ffffffff811c0fa4>] ? cfq_add_rq_rb+0x77/0x8a
[42691.768103]  [<ffffffff811c28fb>] ? cfq_insert_request+0x1f1/0x3a6
[42691.768103]  [<ffffffff811adeae>] ? queue_unplugged+0x7f/0x93
[42691.768103]  [<ffffffff811ae5a3>] ? blk_flush_plug_list+0x1ca/0x1e3
[42691.768103]  [<ffffffff811ae5c7>] ? blk_finish_plug+0xb/0x2a
[42691.768103]  [<ffffffffa01d0870>] ? run_scheduled_bios+0x422/0x434 [btrfs]
[42691.768103]  [<ffffffffa01d72ca>] ? worker_loop+0x18c/0x4fe [btrfs]
[42691.768103]  [<ffffffffa01d713e>] ? btrfs_queue_worker+0x260/0x260 [btrfs]
[42691.768103]  [<ffffffffa01d713e>] ? btrfs_queue_worker+0x260/0x260 [btrfs]
[42691.768103]  [<ffffffff8105b451>] ? kthread+0x81/0x89
[42691.768103]  [<ffffffff813865c4>] ? kernel_thread_helper+0x4/0x10
[42691.768103]  [<ffffffff8105b3d0>] ? kthread_freezable_should_stop+0x53/0x53
[42691.768103]  [<ffffffff813865c0>] ? gs_change+0x13/0x13
[42691.768103] Code: 02 55 00 4d 85 ed 74 1c 49 8b 7d 08 44 89 f9 48 89 da 4c 89 f6 41 ff 55 00 49 83 c5 10 49 83 7d 00 00 eb e2 66 83 7b 28 01 74 04 <0f> 0b eb fe 66 83 7b 2a 00 74 04 0f 0b eb fe 41 c7 84 24 e0 01 
[42691.768103] RIP  [<ffffffff81135ece>] bio_split+0x81/0x1af
[42691.768103]  RSP <ffff88001ecefb80>
[42691.968358] ---[ end trace 4e48bf3d2ec08273 ]---

Files

btrfs_3291_fix.patch (4.99 KB) btrfs_3291_fix.patch Josef's btrfs fix Alex Elder, 10/19/2012 01:54 PM
Actions

Also available in: Atom PDF