summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/include/os.h
diff options
context:
space:
mode:
authorMatt Kangas <matt.kangas@mongodb.com>2014-11-18 23:17:10 -0500
committerMatt Kangas <matt.kangas@mongodb.com>2014-11-19 08:34:34 -0500
commitb1be46d80c999a4a583dd55dff5da42b28480f15 (patch)
treea3ec195919f882417e50a67c380a5e2ff73eea5f /src/third_party/wiredtiger/src/include/os.h
parent42d25fc0fd25d59fb2b2f29f79f09cb4f7f623c6 (diff)
downloadmongo-b1be46d80c999a4a583dd55dff5da42b28480f15.tar.gz
Import wiredtiger-wiredtiger-2.4.0-385-g35c6df1.tar.gz from wiredtiger branch mongodb-2.8
Diffstat (limited to 'src/third_party/wiredtiger/src/include/os.h')
-rw-r--r--src/third_party/wiredtiger/src/include/os.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/src/include/os.h b/src/third_party/wiredtiger/src/include/os.h
index 846249294fe..810b7adfa48 100644
--- a/src/third_party/wiredtiger/src/include/os.h
+++ b/src/third_party/wiredtiger/src/include/os.h
@@ -61,7 +61,12 @@ struct __wt_fh {
int direct_io; /* O_DIRECT configured */
- int fallocate_available; /* fallocate/posix_fallocate */
+ enum { /* file extend configuration */
+ WT_FALLOCATE_AVAILABLE,
+ WT_FALLOCATE_NOT_AVAILABLE,
+ WT_FALLOCATE_POSIX,
+ WT_FALLOCATE_STD,
+ WT_FALLOCATE_SYS } fallocate_available;
int fallocate_requires_locking;
};