package
2.0.2
Repository: https://github.com/cockroachdb/pebble.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

DefaultSettings initializes default settings (with no remote storage), suitable for tests and tools.
NewFileWritable returns a Writable that uses a file as underlying storage.
NewReadaheadConfig returns a new readahead config container initialized with default values.
NewRemoteReadable creates an objstorage.Readable out of a remote.ObjectReader.
NewRemoteWritable creates an objstorage.Writable out of an io.WriteCloser.
Open creates the provider.
TestingCheckMaxReadahead returns true if the ReadHandle has switched to OS-level read-ahead.
UsePreallocatedReadHandle is equivalent to calling readable.NewReadHandle() but uses the existing storage of a PreallocatedReadHandle when possible (currently this happens if we are reading from a local file).

# Constants

FadviseSequential enables the use of FADV_SEQUENTIAL.
NoReadahead disables readahead altogether.
SysReadahead enables the use of SYS_READAHEAD call to prefetch data.

# Structs

PreallocatedReadHandle is used to avoid an allocation in NewReadHandle; see UsePreallocatedReadHandle.
ReadaheadConfig is a container for the settings that control the use of read-ahead.
Settings that must be specified when creating the provider.

# Type aliases

ReadaheadMode indicates the type of read-ahead to use, either for informed read-ahead (e.g.