Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: facebook/rocksdb
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bc31cbafea923f65be1ffe10bf8b1ef79634ffda
Choose a base ref
..
head repository: facebook/rocksdb
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5949ea898f080d554a139f348ce0a81918d779de
Choose a head ref
Showing with 5 additions and 1 deletion.
  1. +5 −1 include/rocksdb/file_system.h
6 changes: 5 additions & 1 deletion include/rocksdb/file_system.h
Original file line number Diff line number Diff line change
@@ -142,7 +142,11 @@ struct IOOptions {
// EXPERIMENTAL: Enables the file system to return less data than
// requested, even when the end of file has not been reached. Normally, our
// read semantics are defined so that we assume that less data is only
// returned when the end of file has been reached or an error has occurred
// returned when the end of file has been reached or an error has occurred. It
// may be useful to set optional_read_size > 0 when prefetching is being
// performed and some of the data is not needed immediately. In that case, the
// file system has the freedom to tune the read size optimally based on its
// storage internals.
size_t optional_read_size = 0;

// EXPERIMENTAL