Bug 801689

Summary: Incorrect last-cache-validation-time in statedump
Product: [Community] GlusterFS Reporter: Anush Shetty <ashetty>
Component: io-cacheAssignee: Vijay Bellur <vbellur>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: amarts, gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-24 17:53:11 UTC Type: ---
Regression: --- Mount Type: fuse
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 817967    

Description Anush Shetty 2012-03-09 07:10:18 UTC
Description of problem: The last-cache-validation-time in xlator.performance.io-cache.priv in statedump have the value reset.


Version-Release number of selected component (if applicable): Upstream


How reproducible: Consistently


Steps to Reproduce:
1. kill -USR1 <pid-of-glusterfs>

Actual results:

[]
page_size=131072
cache_size=33554432
cache_used=0
inode_count=2
cache_timeout=1
min-file-size=0
max-file-size=0
inode.weight=1
last-cache-validation-time=1970-01-01 05:30:00.000000
inode.weight=1
last-cache-validation-time=1970-01-01 05:30:00.000000

Comment 1 Anand Avati 2012-03-12 06:52:20 UTC
CHANGE: http://review.gluster.com/2912 (Print non-zero timestamps in statedump) merged in master by Vijay Bellur (vijay)

Comment 2 Anush Shetty 2012-05-14 10:53:17 UTC
Fixed now.