summaryrefslogtreecommitdiff
path: root/src/os_posix
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2016-03-29 12:28:56 -0400
committerKeith Bostic <keith@wiredtiger.com>2016-03-29 12:28:56 -0400
commit5039556f7853264e9b11422f7e52b208562e9e32 (patch)
tree40f3f05f71e98a9426b48081a140ecbafeea39fd /src/os_posix
parentfcc6d047fa36d302be5cb4d24c43083829a8fa6f (diff)
downloadmongo-5039556f7853264e9b11422f7e52b208562e9e32.tar.gz
WT-2330: in-memory configurations should not create on-disk collection files
Now the mmap functions are methods off the WT_FH handle, their verbose messges should be HANDLEOPS, not FILEOPS.
Diffstat (limited to 'src/os_posix')
-rw-r--r--src/os_posix/os_map.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os_posix/os_map.c b/src/os_posix/os_map.c
index 8d8168362e2..304bb32df31 100644
--- a/src/os_posix/os_map.c
+++ b/src/os_posix/os_map.c
@@ -37,7 +37,7 @@ __wt_posix_map(WT_SESSION_IMPL *session, WT_FH *fh, void *mapp, size_t *lenp)
WT_RET(__wt_filesize(session, fh, &file_size));
len = (size_t)file_size;
- (void)__wt_verbose(session, WT_VERB_FILEOPS,
+ (void)__wt_verbose(session, WT_VERB_HANDLEOPS,
"%s: memory-map: %" WT_SIZET_FMT " bytes", fh->name, len);
if ((map = mmap(NULL, len,
@@ -177,7 +177,7 @@ __wt_posix_map_unmap(WT_SESSION_IMPL *session, WT_FH *fh, void *map, size_t len)
{
WT_ASSERT(session, !F_ISSET(S2C(session), WT_CONN_IN_MEMORY));
- (void)__wt_verbose(session, WT_VERB_FILEOPS,
+ (void)__wt_verbose(session, WT_VERB_HANDLEOPS,
"%s: memory-unmap: %" WT_SIZET_FMT " bytes", fh->name, len);
if (munmap(map, len) == 0)