patch-2.4.20 linux-2.4.20/drivers/scsi/README.st

Next file: linux-2.4.20/drivers/scsi/aacraid/Makefile
Previous file: linux-2.4.20/drivers/scsi/NCR53C9x.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/scsi/README.st linux-2.4.20/drivers/scsi/README.st
@@ -2,7 +2,7 @@
 The driver is currently maintained by Kai Mäkisara (email
 Kai.Makisara@metla.fi)
 
-Last modified: Tue Feb  5 21:33:23 2002 by makisara
+Last modified: Tue Apr 16 22:32:10 2002 by makisara
 
 
 BASICS
@@ -188,6 +188,8 @@
 max_buffers=xxx            the maximum number of tape buffer set to xxx
 max_sg_segs=xxx		   the maximum number of scatter/gather
 			   segments
+blocking_open=xxx	   block in open() if drive not ready, O_NONBLOCK
+			   not used, and blocking_open non-zero
 
 Note that if the buffer size is changed but the write threshold is not
 set, the write threshold is set to the new buffer size - 2 kB.
@@ -395,6 +397,11 @@
 The recovered write errors are considered fatal if ST_RECOVERED_WRITE_FATAL
 is defined.
 
+By default, open() does not block if the drive is not ready. The
+behaviour can be changed by setting ST_BLOCKING_OPEN to one. The
+behaviour can be changed also with the boot/module option
+blocking_open. The blocking open times out after ST_BLOCK_SECONDS.
+
 The maximum number of tape devices is determined by the define
 ST_MAX_TAPES. If more tapes are detected at driver initialization, the
 maximum is adjusted accordingly.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)