summaryrefslogtreecommitdiffstats
path: root/xlators/performance/io-cache/src/io-cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance/io-cache/src/io-cache.h')
-rw-r--r--xlators/performance/io-cache/src/io-cache.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/xlators/performance/io-cache/src/io-cache.h b/xlators/performance/io-cache/src/io-cache.h
index 2ff7e2dbb..2f354c67f 100644
--- a/xlators/performance/io-cache/src/io-cache.h
+++ b/xlators/performance/io-cache/src/io-cache.h
@@ -141,10 +141,14 @@ struct ioc_inode {
* weight of the inode, increases on each
* read
*/
- time_t mtime; /*
- * mtime of the server file when last
- * cached
+ uint32_t mtime; /*
+ * seconds component of file mtime on
+ * server
*/
+ uint32_t mtime_nsec; /* nanosecond component of file mtime
+ * on server
+ */
+
struct timeval tv; /*
* time-stamp at last re-validate
*/