Commit 93bc4a5
scsi: ufs: core: Rely on the block layer for setting RQF_PM
Do not set RQF_PM explicitly since scsi_alloc_request() sets it indirectly
if BLK_MQ_REQ_PM is set. The call chain for the code that sets RQF_PM is as
follows:
scsi_alloc_request()
blk_mq_alloc_request()
__blk_mq_alloc_requests()
blk_mq_rq_ctx_init()
if (data->flags & BLK_MQ_REQ_PM)
data->rq_flags |= RQF_PM;
Link: https://lore.kernel.org/r/[email protected]
Cc: Mike Christie <[email protected]>
Cc: John Garry <[email protected]>
Reviewed-by: John Garry <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>1 parent 35cd2f5 commit 93bc4a5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9150 | 9150 | | |
9151 | 9151 | | |
9152 | 9152 | | |
9153 | | - | |
| 9153 | + | |
9154 | 9154 | | |
9155 | 9155 | | |
9156 | 9156 | | |
| |||
0 commit comments