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:
parent
240590ab0a
commit
963497f06b
4 changed files with 20 additions and 53 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue