Re: [PATCH] functionfs: Avoid aio locking problem

2015-07-01 Thread Robert Baldyga
Hi John, On 06/22/2015 08:01 PM, John Stultz wrote: > The functionfs aio logic seems broken. When using functionfs, > I was seeing frequent hangs, and enabling spinlock debugging, > I got: > > g_ffs gadget: g_ffs ready > ci_hdrc ci_hdrc.0: CI_HDRC_CONTROLLER_RESET_EVENT received > BUG: spinlock l

[PATCH] functionfs: Avoid aio locking problem

2015-06-22 Thread John Stultz
The functionfs aio logic seems broken. When using functionfs, I was seeing frequent hangs, and enabling spinlock debugging, I got: g_ffs gadget: g_ffs ready ci_hdrc ci_hdrc.0: CI_HDRC_CONTROLLER_RESET_EVENT received BUG: spinlock lockup suspected on CPU#0, adbd/2791 lock: 0xe7764880, .magic: e776