Skip to contentSkip to conversation

scsi_host_template.can_queue and "software host adapters"

DISCUSSION Stefan Richter 1 participant 1 message Aug 13, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

Hi all,

the "hosts" usb-storage and sbp2 currently use one instance of struct Scsi_Host per instance of struct scsi_device. I believe certain other similar "pseudo host adapters" did or do the same for various reasons.

I am thinking about converting sbp2 to use a single Scsi_Host for all SBP-2 targets. This would mean that the sbp2 "host's" command queuing capacity will be unlimited. There will only be the queuing limits of each logical unit.

Given there are no other show stoppers for my planned rework of sbp2, which value should I set sbp2's host template's can_queue to? INT_MAX?

Signature · 3 lines
Stefan Richter
-=====-=-==- =--- -==-=
http://arcgraph.de/sr/