Dmitri Smirnov cdad04b051 Remove double buffering on RandomRead on Windows.
Summary:
Remove double buffering on RandomRead on Windows.
  With more logic appear in file reader/write Read no longer
  obeys forwarding calls to Windows implementation.
  Previously direct_io (unbuffered) was only available on Windows
  but now is supported as generic.
  We remove intermediate buffering on Windows.
  Remove random_access_max_buffer_size option which was windows specific.
  Non-zero values for that opton introduced unnecessary lock contention.
  Remove Env::EnableReadAhead(), Env::ShouldForwardRawRequest() that are
  no longer necessary.
  Add aligned buffer reads for cases when requested reads exceed read ahead size.
Closes https://github.com/facebook/rocksdb/pull/2105

Differential Revision: D4847770

Pulled By: siying

fbshipit-source-id: 8ab48f8e854ab498a4fd398a6934859792a2788f
2017-04-27 12:30:05 -07:00
..
2017-03-30 16:54:52 -07:00
2016-12-05 17:39:17 -08:00
2017-04-21 20:48:04 -07:00
2017-04-21 20:48:04 -07:00
2017-03-29 17:39:19 -07:00
2017-02-06 14:54:18 -08:00
2017-04-18 12:42:38 -07:00
2017-04-18 12:42:38 -07:00
2016-12-01 10:09:22 -08:00
2016-11-09 15:09:18 -08:00
2016-12-14 19:24:25 -08:00
2016-12-13 18:39:14 -08:00
2016-06-10 16:37:36 -07:00
2017-01-03 18:39:14 -08:00
2016-04-01 11:06:06 -07:00
2017-04-21 20:48:04 -07:00
2017-04-21 20:48:04 -07:00
2017-02-06 14:54:18 -08:00
2017-03-30 16:54:52 -07:00
2017-02-06 14:54:18 -08:00