From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Neil Brown <neilb@suse.de>,
linux-kernel@vger.kernel.org, nfs@lists.sourceforge.net,
Johannes Berg <johannes@sipsolutions.net>,
Oleg Nesterov <oleg@tv-sign.ru>,
Marc Dietrich <Marc.Dietrich@ap.physik.uni-giessen.de>
Subject: Re: 2.6.23-rc1-mm2
Date: Fri, 03 Aug 2007 13:03:28 -0400 [thread overview]
Message-ID: <1186160608.7255.10.camel@localhost> (raw)
In-Reply-To: <20070803093830.39852a01.akpm@linux-foundation.org>
On Fri, 2007-08-03 at 09:38 -0700, Andrew Morton wrote:
> On Fri, 3 Aug 2007 13:00:46 +0200 Marc Dietrich <Marc.Dietrich@ap.physik.uni-giessen.de> wrote:
>
> >
> > Hi,
> >
> > Am Wednesday 01 August 2007 08:09 schrieb Andrew Morton:
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc1/2.
> > >6.23-rc1-mm2/
> > >
> > >
> > > - the git-block tree remains dropped due to disageement with the Vaio
> > >
> > > - git-e1000new was withdrawn by the authors
> > >
> > > - git-wireless is back. It is still a >3MB diff, and appears to compile.
> > >
> > > - Is anyone testing the kgdb code in here?
> >
> > I still get some nfs related locking bug.
> >
> > I applied
> >
> > linux-2.6.23-001-fix_rpciod_down_race.dif
> > linux-2.6.23-003-fix_locking_regression.dif
> > linux-2.6.23-004-fix_stateid_regression.dif
> >
> > =============================================
> > [ INFO: possible recursive locking detected ]
> > 2.6.23-rc1-mm2 #3
> > ---------------------------------------------
> > events/0/5 is trying to acquire lock:
> > (events){--..}, at: [<c012ed90>] flush_workqueue+0x0/0x70
> >
> > but task is already holding lock:
> > (events){--..}, at: [<c012e5c4>] run_workqueue+0xd4/0x1e0
> >
> > other info that might help us debug this:
> > 2 locks held by events/0/5:
> > #0: (events){--..}, at: [<c012e5c4>] run_workqueue+0xd4/0x1e0
> > #1: ((nfs_automount_task).work){--..}, at: [<c012e5c4>]
> > run_workqueue+0xd4/0x1e0
> >
> > stack backtrace:
> > [<c0104fda>] show_trace_log_lvl+0x1a/0x30
> > [<c0105c02>] show_trace+0x12/0x20
> > [<c0105d15>] dump_stack+0x15/0x20
> > [<c013ee42>] __lock_acquire+0xc22/0x1030
> > [<c013f2b1>] lock_acquire+0x61/0x80
> > [<c012edd9>] flush_workqueue+0x49/0x70
> > [<c012ee0d>] flush_scheduled_work+0xd/0x10
> > [<dcf55c0c>] nfs_release_automount_timer+0x2c/0x30 [nfs]
> > [<dcf45d8e>] nfs_free_server+0x9e/0xd0 [nfs]
> > [<dcf4e626>] nfs_kill_super+0x16/0x20 [nfs]
> > [<c017b38d>] deactivate_super+0x7d/0xa0
> > [<c018f94b>] mntput_no_expire+0x4b/0x80
> > [<c018fd94>] expire_mount_list+0xe4/0x140
> > [<c0191219>] mark_mounts_for_expiry+0x99/0xb0
> > [<dcf55d1d>] nfs_expire_automounts+0xd/0x40 [nfs]
> > [<c012e61b>] run_workqueue+0x12b/0x1e0
> > [<c012f05b>] worker_thread+0x9b/0x100
> > [<c0131c72>] kthread+0x42/0x70
> > [<c0104c0f>] kernel_thread_helper+0x7/0x18
> > =======================
> >
>
> There is new debugging stuff in -mm: deadlockable usage of workqueue
> primitives will now trigger lockdep warnings. See
>
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc1/2.6.23-rc1-mm2/broken-out/workqueue-debug-flushing-deadlocks-with-lockdep.patch
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc1/2.6.23-rc1-mm2/broken-out/workqueue-debug-work-related-deadlocks-with-lockdep.patch
>
> I am suspecting that running flush_scheduled_work() from within run_workqueue()
> isn't good.
I'll have a look at this. I suspect that most if not all of our calls to
run_workqueue()/flush_scheduled_work() can now be replaced by more
targeted calls to cancel_work_sync() and cancel_delayed_work_sync().
Trond
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
next prev parent reply other threads:[~2007-08-03 17:04 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070731230932.a9459617.akpm@linux-foundation.org>
2007-08-03 11:00 ` 2.6.23-rc1-mm2 Marc Dietrich
2007-08-03 16:38 ` 2.6.23-rc1-mm2 Andrew Morton
2007-08-03 17:03 ` Trond Myklebust [this message]
2007-08-03 17:21 ` 2.6.23-rc1-mm2 Oleg Nesterov
2007-08-06 6:24 ` 2.6.23-rc1-mm2 Johannes Berg
2007-08-06 10:53 ` 2.6.23-rc1-mm2 Oleg Nesterov
2007-08-06 10:58 ` 2.6.23-rc1-mm2 Johannes Berg
2007-08-06 11:05 ` 2.6.23-rc1-mm2 Marc Dietrich
2007-08-06 11:13 ` 2.6.23-rc1-mm2 Johannes Berg
2007-08-06 16:24 ` 2.6.23-rc1-mm2 Trond Myklebust
2007-08-07 12:09 ` [NFS] 2.6.23-rc1-mm2 Marc Dietrich
2007-08-07 21:08 ` 2.6.23-rc1-mm2 Trond Myklebust
2007-08-07 21:37 ` 2.6.23-rc1-mm2 Oleg Nesterov
2007-08-07 22:05 ` 2.6.23-rc1-mm2 Trond Myklebust
2007-08-07 22:20 ` 2.6.23-rc1-mm2 Oleg Nesterov
2007-08-07 23:08 ` 2.6.23-rc1-mm2 Trond Myklebust
2007-08-07 23:14 ` 2.6.23-rc1-mm2 Oleg Nesterov
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=1186160608.7255.10.camel@localhost \
--to=trond.myklebust@fys.uio.no \
--cc=Marc.Dietrich@ap.physik.uni-giessen.de \
--cc=akpm@linux-foundation.org \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=neilb@suse.de \
--cc=nfs@lists.sourceforge.net \
--cc=oleg@tv-sign.ru \
/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