[Bugme-new] [Bug 12582] New: btrfs: __btree_submit_bio_start WARNINGs when running fstress

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Fri Jan 30 09:59:10 PST 2009


http://bugzilla.kernel.org/show_bug.cgi?id=12582

           Summary: btrfs: __btree_submit_bio_start WARNINGs when running
                    fstress
           Product: File System
           Version: 2.5
     KernelVersion: 2.6.29-rc1
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: btrfs
        AssignedTo: fs_btrfs at kernel-bugs.osdl.org
        ReportedBy: eric.whitney at hp.com


Latest working kernel version: Warning not observed prior to mainline merge
Earliest failing kernel version:  2.6.29-rc1

Distribution:  uname -a:
Linux bl465cb.lnx.usa.hp.com 2.6.29-rc1-custom #1 SMP Mon Jan 12 18:41:32 EST
2009 x86_64 GNU/Linux

Hardware Environment: dual socket quad core x86_64 AMD system with backplane
RAID supplying six volumes for filesystem

Software Environment:  Autotest client code modified to run fstress on btrfs
Filesystem mounted as:  /dev/cciss/c1d5 on /mnt type btrfs (rw)

Problem Description:  Running fstress against a btrfs filesystem will
occasionally result in a WARNING.  This behavior is hard to reproduce, but has
been observed on both 2.6.29-rc1 and btrfs-unstable (2.6.29-rc3 based, 29 Jan
09) while running against multi-device filesystems.  It has not yet been
observed while running against single device filesystems.  No options were
specified while making or mounting the filesystems used.

The warning backtraces are different, but they were both triggered by the same
line of code.

For 2.6.29-rc1:

[ 3853.883872] ------------[ cut here ]------------
[ 3853.885805] WARNING: at fs/btrfs/disk-io.c:312
__btree_submit_bio_start+0x180/0x260()
[ 3853.889468] Hardware name: ProLiant BL465c G5  
[ 3853.891258] Modules linked in: iptable_filter ip_tables x_tables parport_pc
lp parport loop ipmi_devintf serio_raw i2c_piix4 pcspkr ipmi_si i2c_core
psmouse shpchp pci_hotplug ipmi_msghandler container button ipv6 evdev ext3 jbd
mbcache usbhid hid cciss scsi_mod ohci_hcd bnx2 ehci_hcd uhci_hcd usbcore
thermal processor fan thermal_sys fuse
[ 3853.905006] Pid: 5241, comm: btrfs-worker-6 Not tainted 2.6.29-rc1-custom #1
[ 3853.908931] Call Trace:
[ 3853.909962]  [<ffffffff8023d5a2>] warn_slowpath+0xf2/0x130
[ 3853.912823]  [<ffffffff802bf33c>] get_partial_node+0x1c/0x80
[ 3853.915025]  [<ffffffff802c1641>] __slab_alloc+0x2c1/0x440
[ 3853.917222]  [<ffffffff802930b3>] mempool_alloc+0x53/0x130
[ 3853.919632]  [<ffffffff8022f512>] target_load+0x32/0x70
[ 3853.923496]  [<ffffffff8023050f>] update_curr+0x7f/0xc0
[ 3853.925752]  [<ffffffff803a690c>] chksum_update+0xc/0x20
[ 3853.927857]  [<ffffffff803c5a8d>] crc32c+0x4d/0x70
[ 3853.929926]  [<ffffffff803424d0>] btree_get_extent+0x0/0x190
[ 3853.932260]  [<ffffffff803424d0>] btree_get_extent+0x0/0x190
[ 3853.936287]  [<ffffffff80340395>] btree_read_extent_buffer_pages+0x65/0xb0
[ 3853.944112]  [<ffffffff80342100>] __btree_submit_bio_start+0x180/0x260
[ 3853.948414]  [<ffffffff80368311>] worker_loop+0x61/0x160
[ 3853.950581]  [<ffffffff803682b0>] worker_loop+0x0/0x160
[ 3853.953395]  [<ffffffff802524cb>] kthread+0x4b/0x80
[ 3853.956479]  [<ffffffff8020d23a>] child_rip+0xa/0x20
[ 3853.959237]  [<ffffffff80292f80>] mempool_free_slab+0x0/0x10
[ 3853.961657]  [<ffffffff80252480>] kthread+0x0/0x80
[ 3853.963474]  [<ffffffff8020d230>] child_rip+0x0/0x20
[ 3853.965668] ---[ end trace 22a4abd0eab852d1 ]---


For btrfs-unstable, commit 92d7351f0df96ce5b754837cc01b28c694072b22:

[ 4292.650662] ------------[ cut here ]------------
[ 4292.654298] WARNING: at fs/btrfs/disk-io.c:311
__btree_submit_bio_start+0x184/0x260()
[ 4292.658078] Hardware name: ProLiant BL460c G1
[ 4292.659816] Modules linked in: iptable_filter ip_tables x_tables parport_pc
lp parport loop ipmi_devintf ipmi_si iTCO_wdt ipmi_msghandler
iTCO_vendor_support button container pcspkr i5k_amb i5000_edac psmouse
serio_raw edac_core shpchp pci_hotplug ipv6 evdev ext3 jbd mbcache usbhid hid
ehci_hcd uhci_hcd usbcore cciss bnx2 scsi_mod thermal processor fan thermal_sys
fuse
[ 4292.673572] Pid: 5491, comm: btrfs-worker-4 Not tainted
2.6.29-rc3-btrfs-unstable #1
[ 4292.676965] Call Trace:
[ 4292.677888]  [<ffffffff8023ecdc>] warn_slowpath+0xdc/0x110
[ 4292.681546]  [<ffffffff802326bf>] ? enqueue_task_fair+0x3f/0x110
[ 4292.683870]  [<ffffffff80295a41>] ? mempool_alloc_slab+0x11/0x20
[ 4292.686649]  [<ffffffff803619f2>] ? test_range_bit+0x42/0x100
[ 4292.689109]  [<ffffffff803ab6b0>] ? chksum_update+0x10/0x20
[ 4292.691263]  [<ffffffff803646af>] ? read_extent_buffer_pages+0x6f/0x370
[ 4292.695621]  [<ffffffff80344cab>] ? btree_read_extent_buffer_pages+0x6b/0xb0
[ 4292.699344]  [<ffffffff80346d94>] __btree_submit_bio_start+0x184/0x260
[ 4292.701985]  [<ffffffff8034751c>] run_one_async_start+0x1c/0x20
[ 4292.705868]  [<ffffffff8036c9e0>] worker_loop+0x120/0x1e0
[ 4292.708850]  [<ffffffff8036c8c0>] ? worker_loop+0x0/0x1e0
[ 4292.710843]  [<ffffffff8025436d>] kthread+0x4d/0x80
[ 4292.712791]  [<ffffffff8020d33a>] child_rip+0xa/0x20
[ 4292.715394]  [<ffffffff80254320>] ? kthread+0x0/0x80
[ 4292.717223]  [<ffffffff8020d330>] ? child_rip+0x0/0x20
[ 4292.719231] ---[ end trace 4185b3aed6b8c095 ]---


Steps to reproduce:
1) mkfs a multi-device filesystem
2) mount w/o options
3) run fstress as found in autotest


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the Bugme-new mailing list