mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Print out the filesystem read counts now collected by the kernel.
Submitted by: Craig A Soules <soules+@andrew.cmu.edu> Reviewed by: Kirk McKusick <mckusick@mckusick.com>
This commit is contained in:
parent
e9cc475851
commit
461bb71e4f
2 changed files with 6 additions and 0 deletions
|
|
@ -524,6 +524,9 @@ prmount(sfp)
|
|||
if (sfp->f_syncwrites != 0 || sfp->f_asyncwrites != 0)
|
||||
(void)printf(", writes: sync %ld async %ld",
|
||||
sfp->f_syncwrites, sfp->f_asyncwrites);
|
||||
if (sfp->f_syncreads != 0 || sfp->f_asyncreads != 0)
|
||||
(void)printf(", reads: sync %ld async %ld",
|
||||
sfp->f_syncreads, sfp->f_asyncreads);
|
||||
(void)printf(")\n");
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -524,6 +524,9 @@ prmount(sfp)
|
|||
if (sfp->f_syncwrites != 0 || sfp->f_asyncwrites != 0)
|
||||
(void)printf(", writes: sync %ld async %ld",
|
||||
sfp->f_syncwrites, sfp->f_asyncwrites);
|
||||
if (sfp->f_syncreads != 0 || sfp->f_asyncreads != 0)
|
||||
(void)printf(", reads: sync %ld async %ld",
|
||||
sfp->f_syncreads, sfp->f_asyncreads);
|
||||
(void)printf(")\n");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue