Sweet, thanks for digging that out.  Just two questions now:

1. Would it be safe to set these figures to 1, 3 and 9 seconds?  Obviously I'll 
need to test it, but are you aware of any major gotchas I should look out for?

2. How on earth do I change these values, recompile the iscsi initiator, and 
install it?

I appreciate the 2nd question is a bit of a biggie :-D.  Just a pointer in the 
direction of the relevant downloads & manuals would do.

Ross

==================================================
Right, these aren't configurable - respective parameters are
hard-coded in iscsi/hdrs/iscsi.h:

205 /*
206 * NOP delay is used to send a iSCSI NOP (ie. ping) across the
207 * wire to see if the target is still alive. NOPs are only
208 * sent when the RX thread hasn't received anything for the
209 * below amount of time.
210 */
211 #define ISCSI_DEFAULT_NOP_DELAY 5 /* seconds */
212 extern int iscsi_nop_delay;
213 /*
214 * If we haven't received anything in a specified period of time
215 * we will stop accepting IO via tran start. This will enable
216 * upper level drivers to see we might be having a problem and
217 * in the case of scsi_vhci will start to route IO down a better
218 * path.
219 */
220 #define ISCSI_DEFAULT_RX_WINDOW 20 /* seconds */
221 extern int iscsi_rx_window;
222 /*
223 * If we haven't received anything in a specified period of time
224 * we will stop accepting IO via tran start. This the max limit
225 * when encountered we will start returning a fatal error.
226 */
227 #define ISCSI_DEFAULT_RX_MAX_WINDOW 180 /* seconds */
228 extern int iscsi_rx_max_window;
 
 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to