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

From: Alan Stern
Date: Thu May 17 2012 - 13:46:05 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/