The request associated with a SCSI command coming from the block layer has
a unique tag, so use that when possible for getting a slot.
Unfortunately we don't support reserved commands in the SCSI midlayer yet.
As such, SMP tasks - as an example - will not have a request associated, so
in the interim continue to manage those tags for that type of sas_task
internally.
We reserve an arbitrary 4 tags for these internal tags. Indeed, we already
decrement MVS_RSVD_SLOTS by 2 for the shost can_queue when flag
MVF_FLAG_SOC is set. This change was made in commit
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mv_64xx.c | ||
| mv_64xx.h | ||
| mv_94xx.c | ||
| mv_94xx.h | ||
| mv_chips.h | ||
| mv_defs.h | ||
| mv_init.c | ||
| mv_sas.c | ||
| mv_sas.h | ||