Re: [patch] aio: fix buggy put_ioctx call in aio_complete - v2

2007-02-01 Thread Jeff Moyer
==> On Fri, 29 Dec 2006 17:34:26 -0800, "Chen, Kenneth W" <[EMAIL PROTECTED]> said: Kenneth> An AIO bug was reported that sleeping function is being called in softirq Kenneth> context: Kenneth> The real problem is that the condition check of ctx->reqs_active in Kenneth> wait_for_all_aios() is

Re: [patch] aio: fix buggy put_ioctx call in aio_complete - v2

2007-02-01 Thread Jeff Moyer
== On Fri, 29 Dec 2006 17:34:26 -0800, Chen, Kenneth W [EMAIL PROTECTED] said: Kenneth An AIO bug was reported that sleeping function is being called in softirq Kenneth context: Kenneth The real problem is that the condition check of ctx-reqs_active in Kenneth wait_for_all_aios() is incorrect

[patch] aio: fix buggy put_ioctx call in aio_complete - v2

2006-12-29 Thread Chen, Kenneth W
An AIO bug was reported that sleeping function is being called in softirq context: BUG: warning at kernel/mutex.c:132/__mutex_lock_common() Call Trace: [] __mutex_lock_slowpath+0x640/0x6c0 [] mutex_lock+0x20/0x40 [] flush_workqueue+0xb0/0x1a0 [] __put_ioctx+0xc0/0x240 []

[patch] aio: fix buggy put_ioctx call in aio_complete - v2

2006-12-29 Thread Chen, Kenneth W
An AIO bug was reported that sleeping function is being called in softirq context: BUG: warning at kernel/mutex.c:132/__mutex_lock_common() Call Trace: [a00100577b00] __mutex_lock_slowpath+0x640/0x6c0 [a00100577ba0] mutex_lock+0x20/0x40 [a001000a25b0]