diff options
author | dwight <dwight@10gen.com> | 2011-01-13 22:33:44 -0500 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2011-01-13 22:33:44 -0500 |
commit | e0ed2956116c8615b88514e32858a27940faaf3f (patch) | |
tree | 51fb81e2dbc42a2a344285542a8fe287e19cc35a /db/dur.h | |
parent | a1e801791c64e4183bdf1a66ef70145eee115b33 (diff) | |
download | mongo-e0ed2956116c8615b88514e32858a27940faaf3f.tar.gz |
implement setNoJournal
Diffstat (limited to 'db/dur.h')
-rw-r--r-- | db/dur.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |