|
u_longlong_t nread; /* number of bytes read */
u_longlong_t nwritten; /* number of bytes written *]/
ulong_t reads; /* number of read operations */
ulong_t writes; /* number of write operations */
|
The nread field should be updated by the driver with the number of bytes successfully read upon completion.
The nwritten field should be updated by the driver with the number of bytes successfully written upon completion.
The reads field should be updated by the driver after each successful read operation.
The writes field should be updated by the driver after each successful write operation
Other I/O statistics are updated through the use of the kstat_queue(9F) functions.
|