diff options
author | mav <mav@FreeBSD.org> | 2017-01-26 21:00:49 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2017-01-26 21:00:49 +0000 |
commit | cce5ebe6044dbb57219042e8ebe92b059dac6dfc (patch) | |
tree | fe523c65c0b5f09e39a11dcbca403c759e10f1e5 /contrib/diff/lib/posixver.c | |
parent | 3b6d406303ea2f842f368051fefb6b4bb26f6aa5 (diff) | |
download | FreeBSD-src-cce5ebe6044dbb57219042e8ebe92b059dac6dfc.zip FreeBSD-src-cce5ebe6044dbb57219042e8ebe92b059dac6dfc.tar.gz |
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.
Diffstat (limited to 'contrib/diff/lib/posixver.c')
0 files changed, 0 insertions, 0 deletions