linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com>
To: Jens Axboe <jens.axboe@oracle.com>
Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	chris.mason@oracle.com, david@fromorbit.com, hch@infradead.org,
	akpm@linux-foundation.org, jack@suse.cz
Subject: Re: [PATCH 0/13] Per-bdi writeback flusher threads #3
Date: Mon, 13 Apr 2009 11:18:03 +0800	[thread overview]
Message-ID: <1239592683.2567.796.camel@ymzhang> (raw)
In-Reply-To: <20090410072109.GK5178@kernel.dk>

On Fri, 2009-04-10 at 09:21 +0200, Jens Axboe wrote:
> On Fri, Apr 10 2009, Zhang, Yanmin wrote:
> > On Wed, 2009-04-08 at 14:00 +0200, Jens Axboe wrote:
> > > Hi,
> > > 
> > > This is the third version of the patchset. Changes since v2:
> > Jens,
> > 
> > The patchset forgets kernel/sysctl.c part, so the compilation link fails.
> 
> Yep, noticed that as well. Not really great timing with adding more
> pdflush tunables...
When I run a fio testing with a partition on one of my machines, I hit below bug
checking. It's a  fio_mmap_randwrite_4k_preread testing. I'm not sure if it happens
after the testing and before the next testing, or just happens when the testing is
ongoing. When I see it, next testing stops at the beginning when mounting the partition.

----------------------sys log--------------------

kernel BUG at fs/jbd/journal.c:1166!
invalid opcode: 0000 [#1] SMP 
last sysfs file: /sys/block/sdb/stat
CPU 0 
Modules linked in: igb
Pid: 18329, comm: umount Not tainted 2.6.30-rc1-bdiflusherv3 #1 X8DTN
RIP: 0010:[<ffffffff80344747>]  [<ffffffff80344747>] journal_destroy+0x108/0x1b4
RSP: 0018:ffff8800bd95fe08  EFLAGS: 00010286
RAX: 000000000000c7c7 RBX: ffff8800bc93dc00 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000246 RDI: ffff8800bc93dd64
RBP: ffff8800bc93dd64 R08: ffff8800bc93dc88 R09: 00000000bd95fcc0
R10: 0000000000000246 R11: 00000000fffffffb R12: ffff8800bd95fe08
R13: ffff8800bd95fe20 R14: ffff8800bc93dc98 R15: ffff8800bc93dcc8
FS:  00007f3f26c717d0(0000) GS:ffffc20000000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00007f3f263fe000 CR3: 00000000bc18e000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process umount (pid: 18329, threadinfo ffff8800bd95e000, task ffff8800bcdcdca0)
Stack:
 0000000000000000 ffff8800bcdcdca0 ffffffff8024ddaa ffff8800bd95fe20
 ffff8800bd95fe20 ffffffff802e53ac ffff8800bd95fe38 ffff8800bd0e3a00
 ffff8800a1ff2400 ffff8800bc93b000 ffff8800bb8cb400 0000000000000000
Call Trace:
 [<ffffffff8024ddaa>] ? autoremove_wake_function+0x0/0x2e
 [<ffffffff802e53ac>] ? mb_cache_shrink+0x22/0x9e
 [<ffffffff8032fbcc>] ? ext3_put_super+0x29/0x204
 [<ffffffff802ac7ab>] ? generic_shutdown_super+0x70/0xde
 [<ffffffff802ac83b>] ? kill_block_super+0x22/0x3a
 [<ffffffff802ac8fe>] ? deactivate_super+0x5f/0x77
 [<ffffffff802bf20a>] ? sys_umount+0x2da/0x309
 [<ffffffff8020ba2b>] ? system_call_fastpath+0x16/0x1b
Code: ff 48 8d ab 64 01 00 00 eb 0b fe 45 00 48 89 df e8 cc e8 ff ff 48 89 ef e8 2f e8 3d 00 48 83 7b 60 00 75 e6 48 83 7b 50 00 74 04 <0f> 0b eb fe 48 83 7b 58 00 74 04 0f 0b eb fe fe 83 64 01 00 00 
RIP  [<ffffffff80344747>] journal_destroy+0x108/0x1b4
 RSP <ffff8800bd95fe08>
---[ end trace 14f5ccbafee46eb4 ]---


> 
> There's also an issue with the SRCU init, so it will not even work
> irregardless of the compilation problem. I'll have to update and repost
> next week.
> 


  reply	other threads:[~2009-04-13  3:17 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-08 12:00 [PATCH 0/13] Per-bdi writeback flusher threads #3 Jens Axboe
2009-04-08 12:00 ` [PATCH 01/13] buffer: switch do_emergency_thaw() away from pdflush_operation() Jens Axboe
2009-04-08 13:03   ` Christoph Hellwig
2009-04-08 13:08     ` Jens Axboe
2009-04-08 12:00 ` [PATCH 02/13] writeback: move dirty inodes from super_block to backing_dev_info Jens Axboe
2009-04-08 12:00 ` [PATCH 03/13] writeback: switch to per-bdi threads for flushing data Jens Axboe
2009-04-08 12:00 ` [PATCH 04/13] writeback get rid of pdflush completely Jens Axboe
2009-04-08 12:00 ` [PATCH 05/13] writeback: separate the flushing state/task from the bdi Jens Axboe
2009-04-08 12:00 ` [PATCH 06/13] writeback: support > 1 flusher thread per bdi Jens Axboe
2009-04-08 12:00 ` [PATCH 07/13] writeback: include default_backing_dev_info in writeback Jens Axboe
2009-04-08 12:00 ` [PATCH 08/13] writeback: allow sleepy exit of default writeback task Jens Axboe
2009-04-08 12:00 ` [PATCH 09/13] writeback: btrfs must register its backing_devices Jens Axboe
2009-04-08 12:00 ` [PATCH 10/13] writeback: add some debug inode list counters to bdi stats Jens Axboe
2009-04-08 12:00 ` [PATCH 11/13] writeback: add name to backing_dev_info Jens Axboe
2009-04-08 12:00 ` [PATCH 12/13] writeback: check for registered bdi in flusher add and inode dirty Jens Axboe
2009-04-08 12:00 ` [PATCH 13/13] writeback: ensure consistency for generic_sync_sb_inodes() with WB_SYNC_ALL Jens Axboe
2009-04-10  3:46 ` [PATCH 0/13] Per-bdi writeback flusher threads #3 Zhang, Yanmin
2009-04-10  7:21   ` Jens Axboe
2009-04-13  3:18     ` Zhang, Yanmin [this message]
2009-04-17 13:07       ` Jens Axboe
2009-04-21 13:25         ` Jan Kara

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1239592683.2567.796.camel@ymzhang \
    --to=yanmin_zhang@linux.intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=chris.mason@oracle.com \
    --cc=david@fromorbit.com \
    --cc=hch@infradead.org \
    --cc=jack@suse.cz \
    --cc=jens.axboe@oracle.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).