diff options
author | Keith Bostic <keith@wiredtiger.com> | 2016-03-28 16:31:37 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2016-03-28 16:31:37 -0400 |
commit | 7108d61115849c1274c2b940392b0df92a14d3c4 (patch) | |
tree | 935e92ff7122aee844e4b82b899ed299cd7fc68e /src/include/misc.i | |
parent | 2772745499e8ec05fa9c002af954fe679ffa38b1 (diff) | |
download | mongo-7108d61115849c1274c2b940392b0df92a14d3c4.tar.gz |
WT-2330: in-memory configurations should not create on-disk collection files
Make the 4 mmap functions methods off the WT_FH handle.
Diffstat (limited to 'src/include/misc.i')
-rw-r--r-- | src/include/misc.i | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/include/misc.i b/src/include/misc.i index 5d9e5943254..2926ff07e58 100644 --- a/src/include/misc.i +++ b/src/include/misc.i @@ -180,20 +180,6 @@ __wt_directory_sync_fh(WT_SESSION_IMPL *session, WT_FH *fh) } /* - * __wt_posix_fadvise -- - * POSIX fadvise. - */ -static inline int -__wt_posix_fadvise(WT_SESSION_IMPL *session, - WT_FH *fh, wt_off_t offset, wt_off_t len, int advice) -{ - WT_RET(__wt_verbose( - session, WT_VERB_HANDLEOPS, "%s: handle-advise", fh->name)); - - return (fh->fh_advise(session, fh, offset, len, advice)); -} - -/* * __wt_fallocate -- * Extend a file. */ |