diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-02-10 11:32:57 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-02-21 22:00:51 -0500 |
commit | 93bc4a5d00e472003ae983bb21febd2519a64f62 (patch) | |
tree | 51afbf201d716917de2917c3c93f3c0fac83d5dc /net/unix/sysctl_net_unix.c | |
parent | 35cd2f5542df569122d48caf606b972642012c50 (diff) | |
download | linux-93bc4a5d00e472003ae983bb21febd2519a64f62.tar.gz linux-93bc4a5d00e472003ae983bb21febd2519a64f62.tar.bz2 linux-93bc4a5d00e472003ae983bb21febd2519a64f62.zip |
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/20230210193258.4004923-3-bvanassche@acm.org
Cc: Mike Christie <michael.christie@oracle.com>
Cc: John Garry <john.g.garry@oracle.com>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions