History log of /freebsd-10-stable/usr.bin/ctlstat/ctlstat.c
Revision Date Author Comments
# 314992 10-Mar-2017 mav

MFC r314592: Fix JSON output.


# 312841 26-Jan-2017 mav

MFC r311804: Rewrite CTL statistics in more simple and scalable way.

Instead of collecting statistics for each combination of ports and logical
units, that consumed ~45KB per LU with present number of ports, collect
separate statistics for every port and every logical unit separately, that
consume only 176 bytes per each single LU/port. This reduces struct
ctl_lun size down to just 6KB.

Also new IOCTL API/ABI does not hardcode number of LUs/ports, and should
allow handling of very large quantities.

Old API is still enabled in stable branches for compatibility reasons.


# 288784 05-Oct-2015 mav

MFC r288059: Bunch of improvements to ctlstat.

Add -p option to allow filtering by ports.
Make -l and -p options work in all modes as filters.
Improve output formatting to better fit columns.


# 288783 05-Oct-2015 mav

MFC r288043:
Output times as normal microseconds, rather then in bintime format.


# 288719 05-Oct-2015 mav

MFC r286806: Drop "internal" CTL frontend.

Its idea was to be a simple initiator and execute several commands from
kernel level, but FreeBSD never had consumer for that functionality,
while its implementation polluted many unrelated places.


# 278747 14-Feb-2015 mav

MFC r278362: Fix couple issues in ctlstat header printing.


# 288784 05-Oct-2015 mav

MFC r288059: Bunch of improvements to ctlstat.

Add -p option to allow filtering by ports.
Make -l and -p options work in all modes as filters.
Improve output formatting to better fit columns.


# 288783 05-Oct-2015 mav

MFC r288043:
Output times as normal microseconds, rather then in bintime format.


# 288719 05-Oct-2015 mav

MFC r286806: Drop "internal" CTL frontend.

Its idea was to be a simple initiator and execute several commands from
kernel level, but FreeBSD never had consumer for that functionality,
while its implementation polluted many unrelated places.


# 278747 14-Feb-2015 mav

MFC r278362: Fix couple issues in ctlstat header printing.