summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorRahul Gupta <rahulrgupta27@gmail.com>2011-08-08 21:46:01 -0500
committerMike Christie <michaelc@cs.wisc.edu>2011-08-08 21:49:09 -0500
commit42a5950919038cac331c7fa69304478bd62bec15 (patch)
tree9201936ecff4698800bb7eee35a7d96fbe180c12 /etc
parent77e1ab9f73921171d5f684e0c20836e78957b5af (diff)
downloadopen-iscsi-42a5950919038cac331c7fa69304478bd62bec15.tar.gz
iscsi tools: Displaying timeout and CHAP in iscisadm info
I have analysed and coded on some part of it on this weekend :- For timeout and CHAP I have taken following parameters values from /sys and printed it. 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 <rahulrgupta27@gmail.com> iSCSI user space TODO item-2 : Displaying timeout and CHAP.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions