Messages in this thread | | | Date | Fri, 12 Oct 2012 11:01:07 -0600 | From | Jens Axboe <> | Subject | Re: [PATCH] block: Remove deadlock in disk_clear_events |
| |
On 2012-10-11 15:52, Derek Basehore wrote: > In disk_clear_events, do not put work on system_nrt_freezable_wq. Instead, put > it on system_nrt_wq. > > There is a race between probing a usb and suspending the device. Since probing a > usb calls disk_clear_events, which puts work on a frozen workqueue, probing > cannot finish after the workqueue is frozen. However, suspending cannot finish > until the usb probe is finished, so we get a deadlock.
Thanks, applied to later inclusion into 3.7. You did not mark this as stable, though it seems it should be?
-- Jens Axboe
| |