1. NAME

scsi_adjust_queue_depth - Let low level drivers change a deviceAqs queue depth

2. SYNOPSIS

void scsi_adjust_queue_depth(struct scsi_device *  sdev , int  tagged , int  tags );

3. ARGUMENTS

sdev
    SCSI Device in question

tagged
    Do we use tagged queueing (non-0) or do we treat this device as an untagged device (0)

tags
    Number of tags allowed if tagged queueing enabled, or number of commands the low level driver can queue up in non-tagged mode (as per cmd_per_lun).

4. RETURNS

Nothing

5. LOCK STATUS

None held on entry

6. NOTES

Low level drivers may call this at any time and we will do the right thing depending on whether or not the device is currently active and whether or not it even has the command blocks built yet.

7. AUTHORS

James Bottomley < >
    Author.

Rob Landley < >
    Author.

8. COPYRIGHT