Revision 10d7546961acf61f20a9b713a0ab43de37ab8b0c authored by Aaron Gao on 11 April 2017, 23:59:50 UTC, committed by Facebook Github Bot on 12 April 2017, 00:13:33 UTC
Summary: Users usually set readahead buffer to a multiple of 4k, more than that, usually a multiple of blocks. So previously we set real buffer size 512 * n + 4k, which may introduce an additional block reading. Closes https://github.com/facebook/rocksdb/pull/2138 Differential Revision: D4871504 Pulled By: lightmark fbshipit-source-id: b070faa51d92e976e8e8468c00692699e585e243
1 parent ba7da43
File | Mode | Size |
---|---|---|
env.cc | -rw-r--r-- | 9.3 KB |
env_basic_test.cc | -rw-r--r-- | 12.6 KB |
env_chroot.cc | -rw-r--r-- | 11.7 KB |
env_chroot.h | -rw-r--r-- | 722 bytes |
env_hdfs.cc | -rw-r--r-- | 18.4 KB |
env_posix.cc | -rw-r--r-- | 27.3 KB |
env_test.cc | -rw-r--r-- | 46.3 KB |
io_posix.cc | -rw-r--r-- | 25.8 KB |
io_posix.h | -rw-r--r-- | 7.5 KB |
memenv.cc | -rw-r--r-- | 11.4 KB |
mock_env.cc | -rw-r--r-- | 20.4 KB |
mock_env.h | -rw-r--r-- | 4.2 KB |
mock_env_test.cc | -rw-r--r-- | 2.6 KB |
posix_logger.h | -rw-r--r-- | 5.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...