about summary refs log tree commit homepage
path: root/cmogstored.h
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-07-03 07:32:52 +0000
committerEric Wong <normalperson@yhbt.net>2013-07-10 00:56:22 +0000
commitb600fc854d2a813dc7cf08eb58590ada90db4c02 (patch)
tree7ddfd78ce312179e50d39fd1bbfdb439fab5df79 /cmogstored.h
parent013e903340a75b12523bd795d15fe5f23d725be9 (diff)
downloadcmogstored-b600fc854d2a813dc7cf08eb58590ada90db4c02.tar.gz
This allows us to avoid a redundant hash lookup every time we
"activate" an open file for reading or writing.
Diffstat (limited to 'cmogstored.h')
-rw-r--r--cmogstored.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmogstored.h b/cmogstored.h
index 7d32817..c12234b 100644
--- a/cmogstored.h
+++ b/cmogstored.h
@@ -273,6 +273,7 @@ struct mog_file {
         size_t pathlen;
         char *tmppath; /* NULL-ed if rename()-ed away */
         void *mmptr;
+        struct mog_ioq *ioq;
         struct mog_svc *svc;
         struct mog_digest digest;
 };