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.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/xlators/performance/io-cache/src/io-cache.h b/xlators/performance/io-cache/src/io-cache.h
index 44f621f8078..63c2609ec7f 100644
--- a/xlators/performance/io-cache/src/io-cache.h
+++ b/xlators/performance/io-cache/src/io-cache.h
@@ -130,9 +130,12 @@ struct ioc_page {
struct ioc_cache {
rbthash_table_t *page_table;
struct list_head page_lru;
- 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