rocksdb/port
Aaron Gao 972f96b3fb direct io write support
Summary:
rocksdb direct io support

```
[gzh@dev11575.prn2 ~/rocksdb] ./db_bench -benchmarks=fillseq --num=1000000
Initializing RocksDB Options from the specified file
Initializing RocksDB Options from command-line flags
RocksDB:    version 5.0
Date:       Wed Nov 23 13:17:43 2016
CPU:        40 * Intel(R) Xeon(R) CPU E5-2660 v2 @ 2.20GHz
CPUCache:   25600 KB
Keys:       16 bytes each
Values:     100 bytes each (50 bytes after compression)
Entries:    1000000
Prefix:    0 bytes
Keys per prefix:    0
RawSize:    110.6 MB (estimated)
FileSize:   62.9 MB (estimated)
Write rate: 0 bytes/second
Compression: Snappy
Memtablerep: skip_list
Perf Level: 1
WARNING: Assertions are enabled; benchmarks unnecessarily slow
------------------------------------------------
Initializing RocksDB Options from the specified file
Initializing RocksDB Options from command-line flags
DB path: [/tmp/rocksdbtest-112628/dbbench]
fillseq      :       4.393 micros/op 227639 ops/sec;   25.2 MB/s

[gzh@dev11575.prn2 ~/roc
Closes https://github.com/facebook/rocksdb/pull/1564

Differential Revision: D4241093

Pulled By: lightmark

fbshipit-source-id: 98c29e3
2016-12-22 13:09:19 -08:00
..
win direct io write support 2016-12-22 13:09:19 -08:00
dirent.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
likely.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
port_example.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
port_posix.cc Alpine Linux Build (#990) 2016-04-22 16:49:12 -07:00
port_posix.h Handle overflow case of rate limiter's paramters 2016-05-27 16:15:28 -07:00
port.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
README reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
stack_trace.cc The array is malloced by backtrace_symbols(), and must be freed 2016-12-20 17:24:12 -08:00
stack_trace.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
sys_time.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
util_logger.h Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
xpress.h Introduce XPRESS compresssion on Windows. (#1081) 2016-04-19 22:54:24 -07:00

This directory contains interfaces and implementations that isolate the
rest of the package from platform details.

Code in the rest of the package includes "port.h" from this directory.
"port.h" in turn includes a platform specific "port_<platform>.h" file
that provides the platform specific implementation.

See port_posix.h for an example of what must be provided in a platform
specific header file.