On 08/03/2011 12:24 PM, rahul gupta wrote: > For integers, like timeout:- > while fetching from sysfs_get_str(), I am setting timeouts to -1 for > indicating error and also in qla card's case where chap is not supported in > /sys, > and then while printing, checking same value by taking its complement. > > I found in iscsid.conf file setting timeout value to -1 to huge -ve value is > valid (as after setting that can restart iscsid successfully) but not really > sure does user uses it. > I assume user never uses -1 for timeout in iscsid.conf file, so I have used > it in following code for error purpose:- > > Signed-off-by: Rahul Gupta <rahulrgupt...@gmail.com> > > iSCSI user space TODO item-2 : Displaying timeout and CHAP. > > Date: Wed Aug 3 22:35:30 2011 IST. >
Thank you for your work on this. Merged in commit 42a5950919038cac331c7fa69304478bd62bec15. It should show up on kernel.org in a couple hours. -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to email@example.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=en.