Re: scsi_track_queue_full function - static values ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 07, 2006 at 02:32:44PM +0100, Frederic TEMPORELLI wrote:
> I was looking at the scsi_track_queue_full (driver/scsi/scsi.c) function.
> 
> Can someone tell me how have been defined all the static values in this 
> function ?
> 
> - we may have (max) 16 (>>4) jiffies between calls (else there's no need to 
> call this function...),
> 
> - queue_full_depth_count should be > 10 (else queue depth still not 
> changed),
> 
> - if lun queue depth < 8, lun queue depth is set with cmd_per_lun
> (what's happen if cmd_per_lun > 8 ???)
> 
> 
> May someone add some #define for these values ?
> Is it a way to use 'auto-adapted' values ?

I think Doug Ledford wrote that code, I've added him to the cc list
as he's probably the best one to answer your question.

While we're at it, it would be nice if more drivers used this functionality..

-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux