diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-11-05 20:05:40 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-11-05 20:05:40 +0100 |
commit | 963497f06b39a4fd9d80476fab732682122479e9 (patch) | |
tree | 23a0ef26d37861d99a451861769b2018ceffd540 /sys/lib/acid | |
parent | 240590ab0a2f22011cd36f87220cde7136b18b83 (diff) |
kernel: avoid padblock copying for devtls/devssl/esp, cleanup debugging
to avoid copying in padblock() when adding cryptographics macs to a block
in devtls/devssl/esp we reserve 16 extra bytes to the allocation.
remove qio ixsummary() function and add acid function qiostats() to
/sys/lib/acid/kernel
simplify iallocb(), remove iallocsummary() statitics.
Diffstat (limited to 'sys/lib/acid')
-rw-r--r-- | sys/lib/acid/kernel | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/lib/acid/kernel b/sys/lib/acid/kernel index ab392e4db..bee079e40 100644 --- a/sys/lib/acid/kernel +++ b/sys/lib/acid/kernel @@ -55,6 +55,16 @@ defn imagecache() { } } +defn qiostats() { + print ("padblockcnt=", *padblockcnt\D, "\n"); + print ("concatblockcnt=", *concatblockcnt\D, "\n"); + print ("pullupblockcnt=", *pullupblockcnt\D, "\n"); + print ("copyblockcnt=", *copyblockcnt\D, "\n"); + print ("consumecnt=", *consumecnt\D, "\n"); + print ("producecnt=", *producecnt\D, "\n"); + print ("qcopycnt=", *qcopycnt\D, "\n"); +} + // dump channels defn chan(c) { local d, q; |