Please take me off of your list. -----Original Message----- From: Erez Zilber [mailto:erezzi.l...@gmail.com] Sent: Wednesday, November 18, 2009 11:30 AM To: open-iscsi@googlegroups.com Subject: Information about iSCSI pings that almost timed out
open-iscsi sends nop-outs to the target. If the target responds quick enough, we don't get a timeout. I'd like to know (for internal debug purposes) how many times the ping timer almost expired. This sounds like a useful feature also for other open-iscsi developers/users. I was thinking about adding the following mechanism: 1. Add an array of some length to store long nop-outs. Protect it with some lock. 2. If a nop-in (as a response to nop-out) was received after >= 0.7 * ping_to (or 0.8 or whatever), add some info about it to the array (when was the nop-out sent, how much time until we got a nop-in etc). 3. The array should be used in a cyclic way - when it gets full, overwrite the 1st entry. 4. We can dump the info from the array from time to time or the user may use iscsiadm to do that. When this is done, we can delete the contents of the array. Comments? Objections? Erez -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-is...@googlegroups.com. To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=. Under Florida Law, e-mail addresses and the contents of the e-mail are public records. If you do not want your e-mail address or the contents of the e-mail released in response to a public records request, do not send e-mail to this entity. This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to open-is...@googlegroups.com. To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=.