1SCSI_ADJUST_QUEUE_DE(9) SCSI mid layer SCSI_ADJUST_QUEUE_DE(9)
2
3
4
6 scsi_adjust_queue_depth - Let low level drivers change a device's queue
7 depth
8
10 void scsi_adjust_queue_depth(struct scsi_device * sdev, int tagged,
11 int tags);
12
14 sdev
15 SCSI Device in question
16
17 tagged
18 Do we use tagged queueing (non-0) or do we treat this device as an
19 untagged device (0)
20
21 tags
22 Number of tags allowed if tagged queueing enabled, or number of
23 commands the low level driver can queue up in non-tagged mode (as
24 per cmd_per_lun).
25
27 Nothing
28
30 None held on entry
31
33 Low level drivers may call this at any time and we will do the right
34 thing depending on whether or not the device is currently active and
35 whether or not it even has the command blocks built yet.
36
38 James Bottomley <James.Bottomley@hansenpartnership.com>
39 Author.
40
41 Rob Landley <rob@landley.net>
42 Author.
43
45Kernel Hackers Manual 3.10 June 2019 SCSI_ADJUST_QUEUE_DE(9)