Re: [RFC v2 PATCH 1/4] block: add a flag to identify PM request

Alan Stern
2012-05-17T17:46:09Z

On Thu, 17 May 2012, Lin Ming wrote:

> Add a flag REQ_PM to identify the request is PM related.
> As an example, modify scsi code to use this flag.

Some systems need to use the SCSI error handler during suspend and
resume. You'll need to mark every command sent by the error handler
with the REQ_PM flag.

Alan Stern