Hello
Could anyone advice how a SCSI target device can IO-throttle its
initiators, i.e. prevent them from queuing too many commands, please?
I suppose, the best way for doing this is to inform the initiators about
the maximum queue depth X of the target device, so any of the initiators
will not send more than X commands. But I have not found anything
similar to that on INQUIRY or MODE SENSE pages. Have I missed something?
Just returning QUEUE FULL status doesn't look to be correct, because it
can lead to out of order commands execution.
Apparently, hardware SCSI targets don't suffer from queuing overflow and
don't return all the time QUEUE FULL status, so the must be a way to do
the throttling more elegantly.
Regards,
Vlad
-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html