Re: [PATCH v2 1/6] scsi: libsas: Add sas_task_find_rq()

From: Jason Yan
Date: Fri Sep 30 2022 - 05:23:05 EST



On 2022/9/30 16:56, John Garry wrote:
blk-mq already provides a unique tag per request. Some libsas LLDDs - like
hisi_sas - already use this tag as the unique per-IO HW tag.

Add a common function to provide the request associated with a sas_task
for all libsas LLDDs.

Signed-off-by: John Garry<john.garry@xxxxxxxxxx>
---
include/scsi/libsas.h | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)

Reviewed-by: Jason Yan <yanaijie@xxxxxxxxxx>