Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762262Ab2EQRqJ (ORCPT ); Thu, 17 May 2012 13:46:09 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:47508 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1756323Ab2EQRqF (ORCPT ); Thu, 17 May 2012 13:46:05 -0400 Date: Thu, 17 May 2012 13:46:04 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Lin Ming cc: Jens Axboe , Jeff Moyer , , , Subject: Re: [RFC v2 PATCH 1/4] block: add a flag to identify PM request In-Reply-To: <1337269686-3781-2-git-send-email-ming.m.lin@intel.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 568 Lines: 16 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/