History log of /openbsd-current/usr.sbin/iscsictl/iscsictl.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.13 21-Feb-2023 mbuhl

spelling.
ok jmc


Revision tags: OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
# 1.12 16-Apr-2021 claudio

When loading a config poll iscsid for up to 10 seconds and check if the
sessions all managed to connect to the targets.
With this slow session establishment should not cause mount errors
during startup.
Initial version from Dr Ashton Fagg ashton (at) fagg id au
OK dlg@ deraadt@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.11 16-Aug-2016 tedu

stop including sys/param.h for nitems. define locally as needed.
ok natano reyk


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.10 11-Nov-2015 deraadt

claudio twice told me pledge "stdio rpath dns" is probably enough.
He'll test it next time he builds...


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.9 16-Jan-2015 deraadt

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)


Revision tags: OPENBSD_5_6_BASE
# 1.8 21-Apr-2014 claudio

Print bytes read and written in human readable form, like:
2849359 I2T calls (5 read, 2849352 writes)
5 data reads (2.3K bytes read)
2849352 data writes (43.5G bytes written)
2849358 T2I calls (2849358 done, 0 sense errors, 0 errors)


# 1.7 21-Apr-2014 claudio

Print the target and initiator name in show command.


# 1.6 21-Apr-2014 claudio

Cope with the iscsid changes. Makes the msg handling a lot easier.
This also introduces some stuff that is work in progress.


# 1.5 20-Apr-2014 claudio

Add iscsictl bits to show the vscsi stats.


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.4 02-May-2012 gsoares

s/ospfd/iscsid/ in comment

sure claudio@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.3 27-Apr-2011 claudio

Implement "log verbose|brief" and allow the configuratuin of the
initiatior config which is just the ISID in case someone needs
to fix them to a specific value.


Revision tags: OPENBSD_4_9_BASE
# 1.2 25-Sep-2010 sobrado

spacing, no binary changes.


# 1.1 24-Sep-2010 claudio

Import iscsictl -- the control tool for iscsid.
Currently only discovery and reload work.
OK dlg@, matthew@, deraadt@


# 1.12 16-Apr-2021 claudio

When loading a config poll iscsid for up to 10 seconds and check if the
sessions all managed to connect to the targets.
With this slow session establishment should not cause mount errors
during startup.
Initial version from Dr Ashton Fagg ashton (at) fagg id au
OK dlg@ deraadt@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE
# 1.11 16-Aug-2016 tedu

stop including sys/param.h for nitems. define locally as needed.
ok natano reyk


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.10 11-Nov-2015 deraadt

claudio twice told me pledge "stdio rpath dns" is probably enough.
He'll test it next time he builds...


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.9 16-Jan-2015 deraadt

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)


Revision tags: OPENBSD_5_6_BASE
# 1.8 21-Apr-2014 claudio

Print bytes read and written in human readable form, like:
2849359 I2T calls (5 read, 2849352 writes)
5 data reads (2.3K bytes read)
2849352 data writes (43.5G bytes written)
2849358 T2I calls (2849358 done, 0 sense errors, 0 errors)


# 1.7 21-Apr-2014 claudio

Print the target and initiator name in show command.


# 1.6 21-Apr-2014 claudio

Cope with the iscsid changes. Makes the msg handling a lot easier.
This also introduces some stuff that is work in progress.


# 1.5 20-Apr-2014 claudio

Add iscsictl bits to show the vscsi stats.


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.4 02-May-2012 gsoares

s/ospfd/iscsid/ in comment

sure claudio@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.3 27-Apr-2011 claudio

Implement "log verbose|brief" and allow the configuratuin of the
initiatior config which is just the ISID in case someone needs
to fix them to a specific value.


Revision tags: OPENBSD_4_9_BASE
# 1.2 25-Sep-2010 sobrado

spacing, no binary changes.


# 1.1 24-Sep-2010 claudio

Import iscsictl -- the control tool for iscsid.
Currently only discovery and reload work.
OK dlg@, matthew@, deraadt@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.11 16-Aug-2016 tedu

stop including sys/param.h for nitems. define locally as needed.
ok natano reyk


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.10 11-Nov-2015 deraadt

claudio twice told me pledge "stdio rpath dns" is probably enough.
He'll test it next time he builds...


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.9 16-Jan-2015 deraadt

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)


Revision tags: OPENBSD_5_6_BASE
# 1.8 21-Apr-2014 claudio

Print bytes read and written in human readable form, like:
2849359 I2T calls (5 read, 2849352 writes)
5 data reads (2.3K bytes read)
2849352 data writes (43.5G bytes written)
2849358 T2I calls (2849358 done, 0 sense errors, 0 errors)


# 1.7 21-Apr-2014 claudio

Print the target and initiator name in show command.


# 1.6 21-Apr-2014 claudio

Cope with the iscsid changes. Makes the msg handling a lot easier.
This also introduces some stuff that is work in progress.


# 1.5 20-Apr-2014 claudio

Add iscsictl bits to show the vscsi stats.


Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.4 02-May-2012 gsoares

s/ospfd/iscsid/ in comment

sure claudio@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE
# 1.3 27-Apr-2011 claudio

Implement "log verbose|brief" and allow the configuratuin of the
initiatior config which is just the ISID in case someone needs
to fix them to a specific value.


Revision tags: OPENBSD_4_9_BASE
# 1.2 25-Sep-2010 sobrado

spacing, no binary changes.


# 1.1 24-Sep-2010 claudio

Import iscsictl -- the control tool for iscsid.
Currently only discovery and reload work.
OK dlg@, matthew@, deraadt@