package
1.1.4
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.
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 to use of FADV_SEQUENTIAL.
NoReadahead disables readahead altogether.
SysReadahead enables the use of SYS_READAHEAD call to prefetch data.

# Variables

DefaultReadaheadConfig is the readahead config used when ReadaheadConfigFn is not specified.

# Structs

PreallocatedReadHandle is used to avoid an allocation in NewReadHandle; see UsePreallocatedReadHandle.
ReadaheadConfig controls 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.