rocksdb/port/win
akankshamahajan fbd2f563bb Add an interface to provide support for underlying FS to pass their own buffer during reads (#11324)
Summary:
1. Public API change: Replace `use_async_io`  API in file_system with `SupportedOps` API which is used by underlying FileSystem to indicate to upper layers whether the FileSystem supports different operations introduced in `enum FSSupportedOps `. Right now operations are `async_io` and whether FS will provide its own buffer during reads or not. The api is changed to extend it to various FileSystem operations in one API rather than creating a separate API for each operation.

2. Provide support for underlying FS to pass their own buffer during Reads (async and sync read) instead of using RocksDB provided `scratch` (buffer) in `FSReadRequest`. Currently only MultiRead supports it and later will be extended to other reads as well (point lookup, scan etc). More details in how to enable in file_system.h

Pull Request resolved: https://github.com/facebook/rocksdb/pull/11324

Test Plan: Tested locally

Reviewed By: anand1976

Differential Revision: D44465322

Pulled By: akankshamahajan15

fbshipit-source-id: 9ec9e08f839b5cc815e75d5dade6cd549998d0ec
2023-06-23 11:48:49 -07:00
..
env_default.cc
env_win.cc
env_win.h Add an interface to provide support for underlying FS to pass their own buffer during reads (#11324) 2023-06-23 11:48:49 -07:00
io_win.cc
io_win.h clang format files under port/ (#10849) 2022-10-24 16:56:01 -07:00
port_win.cc
port_win.h remove dependency on options.h for port_posix.h andport_win.h (#11214) 2023-02-13 02:21:38 -08:00
win_jemalloc.cc clang format files under port/ (#10849) 2022-10-24 16:56:01 -07:00
win_logger.cc clang format files under port/ (#10849) 2022-10-24 16:56:01 -07:00
win_logger.h clang format files under port/ (#10849) 2022-10-24 16:56:01 -07:00
win_thread.cc clang format files under port/ (#10849) 2022-10-24 16:56:01 -07:00
win_thread.h clang format files under port/ (#10849) 2022-10-24 16:56:01 -07:00
xpress_win.cc clang format files under port/ (#10849) 2022-10-24 16:56:01 -07:00
xpress_win.h clang format files under port/ (#10849) 2022-10-24 16:56:01 -07:00