diff options
author | Lin Ming <ming.m.lin@intel.com> | 2013-03-23 11:42:24 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-03-22 22:22:15 -0600 |
commit | 66311274691ec65972cad3626057fa8d00c146d8 (patch) | |
tree | 218017587f9f10069585f7ad6f3da6fd363d7923 /block | |
parent | a937536b868b8369b98967929045f1df54234323 (diff) | |
download | linux-stable-66311274691ec65972cad3626057fa8d00c146d8.tar.gz linux-stable-66311274691ec65972cad3626057fa8d00c146d8.tar.bz2 linux-stable-66311274691ec65972cad3626057fa8d00c146d8.zip |
block: add a flag to identify PM request
Add a flag REQ_PM to identify the request is PM related, such requests
will not change the device request queue's runtime status. It is
intended to be used in driver's runtime PM callback, so that driver can
perform some IO to the device there with the queue's runtime status
unaffected. e.g. in SCSI disk's runtime suspend callback, the disk will
be put into stopped power state, and this require sending a command to
the device. Such command processing should not change the disk's runtime
status.
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions