On Sat, 2005-06-11 at 19:54 +0100, Jeff Garzik wrote: > On Sat, Jun 11, 2005 at 10:02:02AM -0500, James Bottomley wrote: > > After this, we just have some drivers, all the ULDs and the SPI > > transport class using scsi_wait_req(). > > > > James > > > > --- a/drivers/scsi/scsi_ioctl.c > > +++ b/drivers/scsi/scsi_ioctl.c > > @@ -88,25 +88,21 @@ static int ioctl_probe(struct Scsi_Host > > static int ioctl_internal_command(struct scsi_device *sdev, char *cmd, > > int timeout, int retries) > > { > > - struct scsi_request *sreq; > > int result; > > struct scsi_sense_hdr sshdr; > > + char sense[SCSI_SENSE_BUFFERSIZE]; > > What is the average stack size at this call depth? Erm, well that's architecture dependent, as I'm sure you know. On parisc64, none of the prior callers really goes over a stack frame, so it's 128*depth. James - : 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