diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/os_posix/os_fs.c')
-rw-r--r-- | src/third_party/wiredtiger/src/os_posix/os_fs.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/third_party/wiredtiger/src/os_posix/os_fs.c b/src/third_party/wiredtiger/src/os_posix/os_fs.c index bb5a80644fb..e5d07fb2cce 100644 --- a/src/third_party/wiredtiger/src/os_posix/os_fs.c +++ b/src/third_party/wiredtiger/src/os_posix/os_fs.c @@ -411,8 +411,9 @@ __posix_file_read( session = (WT_SESSION_IMPL *)wt_session; pfh = (WT_FILE_HANDLE_POSIX *)file_handle; - __wt_verbose(session, WT_VERB_READ, "read: %s, fd=%d, offset=%" PRId64 ", len=%" WT_SIZET_FMT, - file_handle->name, pfh->fd, offset, len); + __wt_verbose_debug2(session, WT_VERB_READ, + "read: %s, fd=%d, offset=%" PRId64 ", len=%" WT_SIZET_FMT, file_handle->name, pfh->fd, offset, + len); /* Assert direct I/O is aligned and a multiple of the alignment. */ WT_ASSERT(session, @@ -456,7 +457,7 @@ __posix_file_read_mmap( if (!pfh->mmap_file_mappable || pfh->mmap_resizing) return (__posix_file_read(file_handle, wt_session, offset, len, buf)); - __wt_verbose(session, WT_VERB_READ, + __wt_verbose_debug2(session, WT_VERB_READ, "read-mmap: %s, fd=%d, offset=%" PRId64 ", len=%" WT_SIZET_FMT ", mapped buffer: %p, mapped size = %" PRId64, file_handle->name, pfh->fd, offset, len, (void *)pfh->mmap_buf, pfh->mmap_size); @@ -564,7 +565,7 @@ __posix_file_truncate(WT_FILE_HANDLE *file_handle, WT_SESSION *wt_session, wt_of session = (WT_SESSION_IMPL *)wt_session; pfh = (WT_FILE_HANDLE_POSIX *)file_handle; - __wt_verbose(session, WT_VERB_FILEOPS, + __wt_verbose_debug2(session, WT_VERB_FILEOPS, "%s, file-truncate: size=%" PRId64 ", mapped size=%" PRId64, file_handle->name, len, pfh->mmap_size); @@ -602,8 +603,9 @@ __posix_file_write( session = (WT_SESSION_IMPL *)wt_session; pfh = (WT_FILE_HANDLE_POSIX *)file_handle; - __wt_verbose(session, WT_VERB_WRITE, "write: %s, fd=%d, offset=%" PRId64 ", len=%" WT_SIZET_FMT, - file_handle->name, pfh->fd, offset, len); + __wt_verbose_debug2(session, WT_VERB_WRITE, + "write: %s, fd=%d, offset=%" PRId64 ", len=%" WT_SIZET_FMT, file_handle->name, pfh->fd, + offset, len); /* Assert direct I/O is aligned and a multiple of the alignment. */ WT_ASSERT(session, @@ -640,7 +642,7 @@ __posix_file_write_mmap( session = (WT_SESSION_IMPL *)wt_session; pfh = (WT_FILE_HANDLE_POSIX *)file_handle; - __wt_verbose(session, WT_VERB_WRITE, + __wt_verbose_debug2(session, WT_VERB_WRITE, "write-mmap: %s, fd=%d, offset=%" PRId64 ", len=%" WT_SIZET_FMT ", mapped buffer: %p, mapped size = %" PRId64, file_handle->name, pfh->fd, offset, len, (void *)pfh->mmap_buf, pfh->mmap_size); |