Re: [PATCH v2] cifs: Fix possible deadlock with cifs and work queues

2014-03-22 Thread Shirish Pargaonkar
Just a thought, although leasing code does not cause such deadlocks with rwsems, perhaps leasing and oplock code can reside on one workqueue! On Fri, Mar 21, 2014 at 10:07 AM, Steven Rostedt wrote: > > We just had a customer report a deadlock in their 3.8-rt kernel. > Looking into this, it is ve

[PATCH v2] cifs: Fix possible deadlock with cifs and work queues

2014-03-21 Thread Steven Rostedt
We just had a customer report a deadlock in their 3.8-rt kernel. Looking into this, it is very possible to have the same deadlock in mainline in Linus's tree as it stands today. It is much easier to deadlock in the -rt kernel because reader locks are serialized, where a down_read() can block anot