summaryrefslogtreecommitdiff
path: root/db/dur.h
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2011-01-13 22:33:44 -0500
committerdwight <dwight@10gen.com>2011-01-13 22:33:44 -0500
commite0ed2956116c8615b88514e32858a27940faaf3f (patch)
tree51fb81e2dbc42a2a344285542a8fe287e19cc35a /db/dur.h
parenta1e801791c64e4183bdf1a66ef70145eee115b33 (diff)
downloadmongo-e0ed2956116c8615b88514e32858a27940faaf3f.tar.gz
implement setNoJournal
Diffstat (limited to 'db/dur.h')
-rw-r--r--db/dur.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/dur.h b/db/dur.h
index 812454c088f..83dacd88933 100644
--- a/db/dur.h
+++ b/db/dur.h
@@ -128,6 +128,8 @@ namespace mongo {
/** write something that doesn't have to be journaled, as this write is "unimportant".
a good example is paddingFactor.
can be thought of as memcpy(dst,src,len)
+ the dur implementation acquires a mutex in this method, so do not assume it is faster
+ without measuring!
*/
virtual void setNoJournal(void *dst, void *src, unsigned len) = 0;