blob: 4f28a0b9e83148b9299352424c7a0b306e0ef2b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
struct Cfsmsg {
ulong n; /* number of messages (of some type) */
vlong t; /* time spent in these messages */
vlong s; /* start time of last call */
};
struct Cfsstat {
struct Cfsmsg cm[128]; /* client messages */
struct Cfsmsg sm[128]; /* server messages */
ulong ndirread; /* # of directory read ops */
ulong ndelegateread; /* # of read ops delegated */
ulong ninsert; /* # of cache insert ops */
ulong ndelete; /* # of cache delete ops */
ulong nupdate; /* # of cache update ops */
uvlong bytesread; /* # of bytes read by client */
uvlong byteswritten; /* # of bytes written by client */
uvlong bytesfromserver; /* # of bytes read from server */
uvlong bytesfromdirs; /* # of directory bytes read from server */
uvlong bytesfromcache; /* # of bytes read from cache */
uvlong bytestocache; /* # of bytes written to cache */
};
extern struct Cfsstat cfsstat, cfsprev;
extern int statson;
|