Re: [PATCH 2/2] Fix console handling during suspend/resume

David Brownell
2006-06-21T21:18:15Z

On Tuesday 20 June 2006 7:40 pm, Linus Torvalds wrote:
>
> It's not up to the driver to worry about request queues.

Maybe for block drivers. But USB and network controller drivers
are fundamentally about managing request queues, by collaborating
with upper level drivers.

Alternatively, you may be observing that just like block queues
are managed by the upper layer code, so are USB queues managed
by the usb_driver entities that freeze their own contributions,
like network interfaces manage their network queues. (Though in
both cases the controller drivers must still wait for queues to
empty before they are fully quiesced).

- Dave