Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/nfs PR/48426: Dimitris Karagkasidis: Convert to sized, u...
details: https://anonhg.NetBSD.org/src/rev/4bdd6c94859d
branches: trunk
changeset: 328925:4bdd6c94859d
user: christos <christos%NetBSD.org@localhost>
date: Thu Apr 24 18:43:02 2014 +0000
description:
PR/48426: Dimitris Karagkasidis: Convert to sized, unsigned types.
Ideally we could use uint64_t, but for compatibility and performance
we don't (for now)
diffstat:
sys/nfs/nfs.h | 68 +++++++++++++++++++++++++++++-----------------------------
1 files changed, 34 insertions(+), 34 deletions(-)
diffs (82 lines):
diff -r d2c08f368d28 -r 4bdd6c94859d sys/nfs/nfs.h
--- a/sys/nfs/nfs.h Thu Apr 24 18:40:35 2014 +0000
+++ b/sys/nfs/nfs.h Thu Apr 24 18:43:02 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs.h,v 1.73 2013/03/01 18:26:10 joerg Exp $ */
+/* $NetBSD: nfs.h,v 1.74 2014/04/24 18:43:02 christos Exp $ */
/*
* Copyright (c) 1989, 1993, 1995
* The Regents of the University of California. All rights reserved.
@@ -238,39 +238,39 @@
* Stats structure
*/
struct nfsstats {
- int attrcache_hits;
- int attrcache_misses;
- int lookupcache_hits;
- int lookupcache_misses;
- int direofcache_hits;
- int direofcache_misses;
- int biocache_reads;
- int read_bios;
- int read_physios;
- int biocache_writes;
- int write_bios;
- int write_physios;
- int biocache_readlinks;
- int readlink_bios;
- int biocache_readdirs;
- int readdir_bios;
- int rpccnt[NFSSTATS_NPROCS];
- int rpcretries;
- int srvrpccnt[NFSSTATS_NPROCS];
- int srvrpc_errs;
- int srv_errs;
- int rpcrequests;
- int rpctimeouts;
- int rpcunexpected;
- int rpcinvalid;
- int srvcache_inproghits;
- int srvcache_idemdonehits;
- int srvcache_nonidemdonehits;
- int srvcache_misses;
- int __srvnqnfs_leases; /* unused */
- int __srvnqnfs_maxleases; /* unused */
- int __srvnqnfs_getleases; /* unused */
- int srvvop_writes;
+ uint32_t attrcache_hits;
+ uint32_t attrcache_misses;
+ uint32_t lookupcache_hits;
+ uint32_t lookupcache_misses;
+ uint32_t direofcache_hits;
+ uint32_t direofcache_misses;
+ uint32_t biocache_reads;
+ uint32_t read_bios;
+ uint32_t read_physios;
+ uint32_t biocache_writes;
+ uint32_t write_bios;
+ uint32_t write_physios;
+ uint32_t biocache_readlinks;
+ uint32_t readlink_bios;
+ uint32_t biocache_readdirs;
+ uint32_t readdir_bios;
+ uint32_t rpccnt[NFSSTATS_NPROCS];
+ uint32_t rpcretries;
+ uint32_t srvrpccnt[NFSSTATS_NPROCS];
+ uint32_t srvrpc_errs;
+ uint32_t srv_errs;
+ uint32_t rpcrequests;
+ uint32_t rpctimeouts;
+ uint32_t rpcunexpected;
+ uint32_t rpcinvalid;
+ uint32_t srvcache_inproghits;
+ uint32_t srvcache_idemdonehits;
+ uint32_t srvcache_nonidemdonehits;
+ uint32_t srvcache_misses;
+ uint32_t __srvnqnfs_leases; /* unused */
+ uint32_t __srvnqnfs_maxleases; /* unused */
+ uint32_t __srvnqnfs_getleases; /* unused */
+ uint32_t srvvop_writes;
};
/*
Home |
Main Index |
Thread Index |
Old Index