On 08/04/2018 02:03 AM, Bart Van Assche wrote:
> Rename "preempt-only" into "pm-only" because the primary purpose of
> this mode is power management. Since the power management core may
> but does not have to resume a runtime suspended device before
> performing system-wide suspend and since a later patch will set
> "pm-only" mode as long as a block device is runtime suspended, make
> it possible to set "pm-only" mode from more than one context.
> 
> Signed-off-by: Bart Van Assche <[email protected]>
> Cc: Christoph Hellwig <[email protected]>
> Cc: Jianchao Wang <[email protected]>
> Cc: Ming Lei <[email protected]>
> Cc: Johannes Thumshirn <[email protected]>
> Cc: Alan Stern <[email protected]>
> ---
>  block/blk-core.c        | 35 ++++++++++++++++++-----------------
>  block/blk-mq-debugfs.c  | 10 +++++++++-
>  drivers/scsi/scsi_lib.c |  8 ++++----
>  include/linux/blkdev.h  | 14 +++++++++-----
>  4 files changed, 40 insertions(+), 27 deletions(-)
> 
Reviewed-by: Hannes Reinecke <[email protected]>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                Teamlead Storage & Networking
[email protected]                                   +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)

Reply via email to