On 2/6/23 01:50, John Garry wrote:
On 02/02/2023 22:04, Bart Van Assche wrote:
Allow SCSI LLDs to specify RQF_* and SCMD_* flags.
As I see, if BLK_MQ_REQ_PM is set for scsi_exec_args.req_flags, then
RQF_PM gets set automatically in blk_mq_rq_ctx_init() for
request.rq_flags. Christoph previously mentioned that we are required to
set both (BLK_MQ_REQ_PM and RQF_PM). So where does it matter that we
need to set RQF_PM (that setting BLK_MQ_REQ_PM doesn't cover)?
I will rework this patch such that both flags are set instead of only
one of the two.
Thanks,
Bart.