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-02-06 14:54:18 -08:00
2017-04-07 10:54:12 -07:00
2017-04-26 17:13:46 -07:00
2017-04-18 12:42:38 -07:00
2017-03-13 11:54:10 -07:00
2017-04-13 16:12:04 -07:00
2017-04-18 16:56:48 -07:00
2017-03-13 09:54:11 -07:00
2017-03-13 09:54:11 -07:00
2017-04-18 16:56:48 -07:00
2017-04-21 20:48:04 -07:00
2017-04-26 15:57:01 -07:00
2017-04-21 20:48:04 -07:00
2017-03-28 12:09:12 -07:00
2017-04-26 17:13:46 -07:00
2016-07-08 17:50:51 -07:00
2017-04-21 20:48:04 -07:00
2016-10-13 08:48:40 -07:00
2017-04-18 12:42:38 -07:00
2016-07-08 17:50:51 -07:00
2016-11-03 18:54:20 -07:00
2017-04-18 12:42:38 -07:00
2017-04-21 20:48:04 -07:00
2016-12-29 15:54:19 -08:00
2017-04-21 20:48:04 -07:00
2017-02-16 10:39:13 -08:00
2017-02-06 14:54:18 -08:00
2016-07-13 15:36:22 -07:00
2017-04-13 16:12:04 -07:00
2017-04-13 16:12:04 -07:00