Re: [PATCH 1/2] scsi-ml: Add helper code so transport classes can control queueing

2008-01-31 Thread Mike Christie
[EMAIL PROTECTED] wrote: +static inline int scsi_target_ready(struct scsi_device *sdev) +{ + struct scsi_target *starget = scsi_target(sdev); + + if (starget->single_lun) { + if (starget->starget_sdev_user && + starget->starget_sdev_user != sdev) +

[PATCH 1/2] scsi-ml: Add helper code so transport classes can control queueing

2008-01-31 Thread michaelc
From: Mike Christie <[EMAIL PROTECTED]> SCSI-ml manages the queueing limits for the device and host, but does not do so at the target level. Currently this is not needed and is probably more for the transport code to handle. However, for bnx2i we will need to be able to limit queueing at this leve