Documentation
¶
Index ¶
- Variables
- func NewRemoteBackingStore() (api.BackingStore, error)
- type RemBackingStore
- func (bs *RemBackingStore) Close(dev *api.SCSILu) error
- func (bs *RemBackingStore) DataAdvise(offset, length int64, advise uint32) error
- func (bs *RemBackingStore) DataSync(offset, length int64) (err error)
- func (bs *RemBackingStore) Exit(dev *api.SCSILu) error
- func (bs *RemBackingStore) Init(dev *api.SCSILu, Opts string) error
- func (bs *RemBackingStore) Open(dev *api.SCSILu, path string) error
- func (bs *RemBackingStore) Read(offset, tl int64) ([]byte, error)
- func (bs *RemBackingStore) Size(dev *api.SCSILu) uint64
- func (bs *RemBackingStore) Unmap(bd []api.UnmapBlockDescriptor) (err error)
- func (bs *RemBackingStore) Write(wbuf []byte, offset int64) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Size uint64
)
Functions ¶
func NewRemoteBackingStore ¶
func NewRemoteBackingStore() (api.BackingStore, error)
Types ¶
type RemBackingStore ¶
type RemBackingStore struct { scsi.BaseBackingStore // Remote backing store, remote server exposing // read and write methods. RemBs api.RemoteBackingStore }
RemBackingStore
func (*RemBackingStore) DataAdvise ¶
func (bs *RemBackingStore) DataAdvise(offset, length int64, advise uint32) error
func (*RemBackingStore) DataSync ¶
func (bs *RemBackingStore) DataSync(offset, length int64) (err error)
func (*RemBackingStore) Unmap ¶
func (bs *RemBackingStore) Unmap(bd []api.UnmapBlockDescriptor) (err error)
Click to show internal directories.
Click to hide internal directories.