scsi_track_queue_full — track QUEUE_FULL events to adjust queue depth
int scsi_track_queue_full (
struct scsi_device * sdev, int depth)
;
sdev
SCSI Device in question
depth
Current number of outstanding SCSI commands on this device, not counting the one returned as QUEUE_FULL.
This function will track successive QUEUE_FULL events on a specific SCSI device to determine if and when there is a need to adjust the queue depth on the device.