Commit 3ffbe8d1 authored by Kirill Smelkov's avatar Kirill Smelkov

go/zodb: OpenOptions: Document that NoCache disables prefetch

This should be in 1f92a4e2 (go/zodb: Allow to open a storage in "direct"
mode - without local cache).
parent 65a81865
// Copyright (C) 2017 Nexedi SA and Contributors.
// Copyright (C) 2017-2018 Nexedi SA and Contributors.
// Kirill Smelkov <kirr@nexedi.com>
//
// This program is free software: you can Use, Study, Modify and Redistribute
......@@ -32,7 +32,7 @@ import (
// OpenOptions describes options for OpenStorage.
type OpenOptions struct {
ReadOnly bool // whether to open storage as read-only
NoCache bool // don't use cache for read/write operations
NoCache bool // don't use cache for read/write operations; prefetch will be noop
}
// DriverOpener is a function to open a storage driver.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment