Max queue depth per target device???
Scott Long
scott4long at yahoo.com
Wed Aug 5 18:14:32 UTC 2015
> On Aug 5, 2015, at 11:52 AM, Sibananda Sahu via freebsd-scsi <freebsd-scsi at freebsd.org> wrote:
>
> Hi All,
>
>
>
> Is the CAM layer provides per target queue depth setting?
>
> If yes then can anybody tell me how to implement that in the SIM driver?
>
> Or, if no, then is there any proposal to implement per target queue depth
> in FreeBSD CAM layer, similar to that of the Linux SCSI sub-system?
>
For the SATA transport, CAM takes care of probing the SATA NCQ register and setting the appropriate queue depth.
For the SCSI transport, CAM assumes that the drives will continue to take commands until they are full, and then will report a QUEUE_FULL status. When CAM gets that status, it adjusts the queue depth automatically.
So no, there are no plans to set a simple static value like in Linux. CAM probes for it automatically, so long as the driver passes the QUEUE FULL status up correctly.
Scott
More information about the freebsd-scsi
mailing list