summaryrefslogtreecommitdiffstats
path: root/xlators/performance/quick-read/src/quick-read.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/performance/quick-read/src/quick-read.h')
-rw-r--r--xlators/performance/quick-read/src/quick-read.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/xlators/performance/quick-read/src/quick-read.h b/xlators/performance/quick-read/src/quick-read.h
index d3f4ecf0ca2..44db762437b 100644
--- a/xlators/performance/quick-read/src/quick-read.h
+++ b/xlators/performance/quick-read/src/quick-read.h
@@ -41,6 +41,16 @@
#include <sys/stat.h>
#include <unistd.h>
+#define GLUSTERFS_CONTENT_KEY "glusterfs.content"
+
+struct qr_file {
+ dict_t *xattr;
+ struct stat stbuf;
+ struct timeval tv;
+ gf_lock_t lock;
+};
+typedef struct qr_file qr_file_t;
+
struct qr_conf {
uint64_t max_file_size;
int32_t cache_timeout;