<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/ctlstat, branch releng/12.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2019-03-13T20:28:48Z</updated>
<entry>
<title>MFC r344844: Flush stdout after each iteration.</title>
<updated>2019-03-13T20:28:48Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2019-03-13T20:28:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=05b9fb01152fa22502c7784070602002180de97e'/>
<id>urn:sha1:05b9fb01152fa22502c7784070602002180de97e</id>
<content type='text'>
Without this, if output is redirected from the console, it is buffered for
too long, making tool quite unusable.
</content>
</entry>
<entry>
<title>Remove hard coded number of lun definition</title>
<updated>2017-12-11T14:54:42Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2017-12-11T14:54:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5e4b2529e3e29ed34be82823ba4cf62ee097fe08'/>
<id>urn:sha1:5e4b2529e3e29ed34be82823ba4cf62ee097fe08</id>
<content type='text'>
The number of lun exposed is now exposed via sysctl by the kernel.
Use that number in ctlstat instead of the hardcoded version
Add a backward compatibility in case the sysctl(2) request fails.

This also allows ctlstat -l 1118 to actually work when having more than
1024 luns.

Reviewed by:	avg, manu (both before the backward compatibility addition)
Approved by:	avg, manu (both before the backward compatibility addition)
MFC after:	2 weeks
Sponsored by:	Gandi.net
Differential Revision:	https://reviews.freebsd.org/D13446
</content>
</entry>
<entry>
<title>various: general adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T15:37:16Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T15:37:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1de7b4b805ddbf2429da511c053686ac4591ed89'/>
<id>urn:sha1:1de7b4b805ddbf2429da511c053686ac4591ed89</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

No functional change intended.
</content>
</entry>
<entry>
<title>Make ctlstat -n option work reasonably for sparse LUN list.</title>
<updated>2017-11-27T15:24:13Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2017-11-27T15:24:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5be4479bfd0e0d494a58902c5fd47d1b54a8e50f'/>
<id>urn:sha1:5be4479bfd0e0d494a58902c5fd47d1b54a8e50f</id>
<content type='text'>
MFC after:	2 weeks
Sponsored by:	iXsystems, Inc.
</content>
</entry>
<entry>
<title>DIRDEPS_BUILD: Update dependencies.</title>
<updated>2017-10-31T00:07:04Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2017-10-31T00:07:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ea825d02749f382c3f7e17f28247f20a48733eab'/>
<id>urn:sha1:ea825d02749f382c3f7e17f28247f20a48733eab</id>
<content type='text'>
Sponsored by:	Dell EMC Isilon
</content>
</entry>
<entry>
<title>Adopt SRCTOP in usr.bin</title>
<updated>2017-03-12T18:58:44Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2017-03-12T18:58:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a35f04fba2ebb8f86d4cbdc710c89a094572b08e'/>
<id>urn:sha1:a35f04fba2ebb8f86d4cbdc710c89a094572b08e</id>
<content type='text'>
Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo
over ${.CURDIR}/../foo for paths in Makefiles.

Differential Revision:	https://reviews.freebsd.org/D9932
Sponsored by:		Netflix
Silence on:		arch@ (twice)
</content>
</entry>
<entry>
<title>Fix JSON output.</title>
<updated>2017-03-03T11:21:13Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2017-03-03T11:21:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=924233eb75618e4bf22cae7f7703e8d6617a9a53'/>
<id>urn:sha1:924233eb75618e4bf22cae7f7703e8d6617a9a53</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>Remove spaces at end of line</title>
<updated>2017-02-11T23:45:50Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2017-02-11T23:45:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f59f9337b627d59be4ab14a4e0169d5dbef4163e'/>
<id>urn:sha1:f59f9337b627d59be4ab14a4e0169d5dbef4163e</id>
<content type='text'>
Reported by:	make manlint
MFC after:	2 days
</content>
</entry>
<entry>
<title>Rewrite CTL statistics in more simple and scalable way.</title>
<updated>2017-01-09T18:18:15Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2017-01-09T18:18:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bb8f9017b30a4631b323bc30e08aa97756c4094e'/>
<id>urn:sha1:bb8f9017b30a4631b323bc30e08aa97756c4094e</id>
<content type='text'>
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.

MFC after:	2 weeks (probably keeping old API enabled for some time)
</content>
</entry>
<entry>
<title>Bunch of improvements to ctlstat.</title>
<updated>2015-09-21T09:37:49Z</updated>
<author>
<name>Alexander Motin</name>
<email>mav@FreeBSD.org</email>
</author>
<published>2015-09-21T09:37:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=61639a0a3f7d88dea6ee0e7efa7865a47b44616c'/>
<id>urn:sha1:61639a0a3f7d88dea6ee0e7efa7865a47b44616c</id>
<content type='text'>
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.
</content>
</entry>
</feed>
