Re: usage of max_sectors in scsi_host_template

2007-11-07 Thread Mike Christie
Erez Zilber wrote: Stefan Richter wrote: Erez Zilber wrote: I'm not sure that I understand the meaning of max_sectors in scsi_host_template. Did you have a look at scsi_mid_low_api.txt? http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/scsi/scsi_mid_low_ap

Re: usage of max_sectors in scsi_host_template

2007-11-07 Thread Stefan Richter
Erez Zilber wrote: > I'm running sgp_dd (on RHAS 4 up4 - kernel version is 2.6.9), so it > calls scsi-ml directly (without going through ll_rw_blk). ... > I guess that the max_sectors value is never used. Am I right? I have no idea. However you might be able to track how max_sectors trickles thr

Re: usage of max_sectors in scsi_host_template

2007-11-07 Thread Erez Zilber
Stefan Richter wrote: Erez Zilber wrote: > I'm not sure that I understand the meaning of max_sectors in > scsi_host_template. Did you have a look at scsi_mid_low_api.txt? http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/scsi/scsi_mid_low_api.txt;h=6f70f2b9

Re: usage of max_sectors in scsi_host_template

2007-11-06 Thread Stefan Richter
Erez Zilber wrote: > I'm not sure that I understand the meaning of max_sectors in > scsi_host_template. Did you have a look at scsi_mid_low_api.txt? http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=Documentation/scsi/scsi_mid_low_api.txt;h=6f70f2b9327e1f0db7bc05bdbf2d6ce3

usage of max_sectors in scsi_host_template

2007-11-06 Thread Erez Zilber
I'm not sure that I understand the meaning of max_sectors in scsi_host_template. Is it the maximum data length of a single SCSI command? Is it in bytes? What's the size of a sector? Thanks, -- Erez Zilber | 972-9-971-7689 Softwar