diff options
author | Rajesh Amaravathi <rajesh@redhat.com> | 2013-06-17 16:28:17 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-06-18 20:28:04 -0700 |
commit | bda60de187aadc885bbc705ccb9317f680f4b9d3 (patch) | |
tree | 8c3d06b3156dc92e10c8f02905cd2b5f2df5e122 /xlators/nfs/server/src/nfs3.h | |
parent | eb6b81e1fc182daba4d202d15362250eee1c86d6 (diff) |
nfs: log stale mount errors occasionally
log the state mount errors only occasionally so
as not to fill log file with too many of them.
Change-Id: Ib5a2485dc2ce3a181cff34bbb6d7aba17a2e4d4d
BUG: 804301
Signed-off-by: Rajesh Amaravathi <rajesh@redhat.com>
Reviewed-on: http://review.gluster.org/5229
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/nfs/server/src/nfs3.h')
-rw-r--r-- | xlators/nfs/server/src/nfs3.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/nfs3.h b/xlators/nfs/server/src/nfs3.h index 111542bc6ca..6b37cd458bc 100644 --- a/xlators/nfs/server/src/nfs3.h +++ b/xlators/nfs/server/src/nfs3.h @@ -134,6 +134,7 @@ typedef struct nfs3_state { struct list_head fdlru; gf_lock_t fdlrulock; int fdcount; + uint32_t occ_logger; } nfs3_state_t; typedef enum nfs3_lookup_type { |