Dmitri Smirnov
324a0f988e
Follow up for DirectIO refactor
...
Summary: Windows follow up for dc2584eea0
Differential Revision: D4420337
Pulled By: IslamAbdelRahman
fbshipit-source-id: fedc5b5
8 years ago
Aaron Gao
3e6899d116
change UseDirectIO() to use_direct_io()
...
Summary:
also change variable name `direct_io_` to `use_direct_io_` in WritableFile to make it consistent with read path.
Closes https://github.com/facebook/rocksdb/pull/1770
Differential Revision: D4416435
Pulled By: lightmark
fbshipit-source-id: 4143c53
8 years ago
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
8 years ago
Edouard A
99c052a34f
Fix integer overflow in GetL0ThresholdSpeedupCompaction ( #1378 )
8 years ago
Dmitri Smirnov
b9311aa65c
Implement WinRandomRW file and improve code reuse ( #1388 )
8 years ago
Edouard A
66a91e2607
Add NoSpace subcode to IOError ( #1320 )
...
Add a sub code to distinguish "out of space" errors from regular I/O errors
8 years ago
Dmitri Smirnov
26adaad438
Split WinEnv into separate classes. ( #1128 )
...
For ease of reuse and customization as a library
without wrapping.
WinEnvThreads is a class for replacement.
WintEnvIO is a class for reuse and behavior override.
Added private virtual functions for custom override
of fallocate pread for io classes.
9 years ago