RE: 2.6.18.4: flush_workqueue calls mutex_lock in interrupt environment

2006-12-15 Thread Trond Myklebust
On Fri, 2006-12-15 at 08:49 -0500, Trond Myklebust wrote: > On Thu, 2006-12-14 at 22:35 -0800, Chen, Kenneth W wrote: > > Chen, Kenneth wrote on Thursday, December 14, 2006 5:59 PM > > > > It seems utterly insane to have aio_complete() flush a workqueue. That > > > > function has to be called from

RE: 2.6.18.4: flush_workqueue calls mutex_lock in interrupt environment

2006-12-15 Thread Trond Myklebust
On Thu, 2006-12-14 at 22:35 -0800, Chen, Kenneth W wrote: > Chen, Kenneth wrote on Thursday, December 14, 2006 5:59 PM > > > It seems utterly insane to have aio_complete() flush a workqueue. That > > > function has to be called from a number of different environments, > > > including non-sleep

RE: 2.6.18.4: flush_workqueue calls mutex_lock in interrupt environment

2006-12-15 Thread Trond Myklebust
On Thu, 2006-12-14 at 22:35 -0800, Chen, Kenneth W wrote: Chen, Kenneth wrote on Thursday, December 14, 2006 5:59 PM It seems utterly insane to have aio_complete() flush a workqueue. That function has to be called from a number of different environments, including non-sleep tolerant

RE: 2.6.18.4: flush_workqueue calls mutex_lock in interrupt environment

2006-12-15 Thread Trond Myklebust
On Fri, 2006-12-15 at 08:49 -0500, Trond Myklebust wrote: On Thu, 2006-12-14 at 22:35 -0800, Chen, Kenneth W wrote: Chen, Kenneth wrote on Thursday, December 14, 2006 5:59 PM It seems utterly insane to have aio_complete() flush a workqueue. That function has to be called from a number

RE: 2.6.18.4: flush_workqueue calls mutex_lock in interrupt environment

2006-12-14 Thread Chen, Kenneth W
Chen, Kenneth wrote on Thursday, December 14, 2006 5:59 PM > > It seems utterly insane to have aio_complete() flush a workqueue. That > > function has to be called from a number of different environments, > > including non-sleep tolerant environments. > > > > For instance it means that directIO

RE: 2.6.18.4: flush_workqueue calls mutex_lock in interrupt environment

2006-12-14 Thread Chen, Kenneth W
Andrew Morton wrote on Thursday, December 14, 2006 5:20 PM > it's hard to disagree. > > Begin forwarded message: > > On Wed, 2006-12-13 at 08:25 +0100, xb wrote: > > > Hi all, > > > > > > Running some IO stress tests on a 8*ways IA64 platform, we got: > > > BUG: warning at

RE: 2.6.18.4: flush_workqueue calls mutex_lock in interrupt environment

2006-12-14 Thread Chen, Kenneth W
Chen, Kenneth wrote on Thursday, December 14, 2006 5:59 PM It seems utterly insane to have aio_complete() flush a workqueue. That function has to be called from a number of different environments, including non-sleep tolerant environments. For instance it means that directIO on NFS will

RE: 2.6.18.4: flush_workqueue calls mutex_lock in interrupt environment

2006-12-14 Thread Chen, Kenneth W
Andrew Morton wrote on Thursday, December 14, 2006 5:20 PM it's hard to disagree. Begin forwarded message: On Wed, 2006-12-13 at 08:25 +0100, xb wrote: Hi all, Running some IO stress tests on a 8*ways IA64 platform, we got: BUG: warning at

Re: 2.6.18.4: flush_workqueue calls mutex_lock in interrupt environment

2006-12-13 Thread Trond Myklebust
On Wed, 2006-12-13 at 09:02 +0100, Arjan van de Ven wrote: > On Wed, 2006-12-13 at 08:25 +0100, xb wrote: > > Hi all, > > > > Running some IO stress tests on a 8*ways IA64 platform, we got: > > BUG: warning at kernel/mutex.c:132/__mutex_lock_common() message > > followed by: > > Unable

Re: 2.6.18.4: flush_workqueue calls mutex_lock in interrupt environment

2006-12-13 Thread Arjan van de Ven
On Wed, 2006-12-13 at 08:25 +0100, xb wrote: > Hi all, > > Running some IO stress tests on a 8*ways IA64 platform, we got: > BUG: warning at kernel/mutex.c:132/__mutex_lock_common() message > followed by: > Unable to handle kernel paging request at virtual address > 00200200 >

Re: 2.6.18.4: flush_workqueue calls mutex_lock in interrupt environment

2006-12-13 Thread Arjan van de Ven
On Wed, 2006-12-13 at 08:25 +0100, xb wrote: Hi all, Running some IO stress tests on a 8*ways IA64 platform, we got: BUG: warning at kernel/mutex.c:132/__mutex_lock_common() message followed by: Unable to handle kernel paging request at virtual address 00200200 oops

Re: 2.6.18.4: flush_workqueue calls mutex_lock in interrupt environment

2006-12-13 Thread Trond Myklebust
On Wed, 2006-12-13 at 09:02 +0100, Arjan van de Ven wrote: On Wed, 2006-12-13 at 08:25 +0100, xb wrote: Hi all, Running some IO stress tests on a 8*ways IA64 platform, we got: BUG: warning at kernel/mutex.c:132/__mutex_lock_common() message followed by: Unable to handle