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.
This commit is contained in:
cinap_lenrek 2016-11-05 20:05:40 +01:00
parent 240590ab0a
commit 963497f06b
4 changed files with 20 additions and 53 deletions

View file

@ -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;