Documentation ¶
Index ¶
- Constants
- type Layout
- func (l *Layout) FileOpen(path string, openFlags int, mode int) (int, error)
- func (cl *Layout) Free()
- func (l *Layout) OstIndex(stripe uint64) (uint64, error)
- func (l *Layout) OstIndexSet(stripe int, index uint64) error
- func (l *Layout) Pattern() uint64
- func (l *Layout) PatternSet(c uint64) error
- func (l *Layout) StripeCount() uint64
- func (l *Layout) StripeCountSet(c uint64) error
- func (l *Layout) StripeSize() uint64
- func (l *Layout) StripeSizeSet(c uint64) error
- type LayoutError
Constants ¶
View Source
const ( DEFAULT = uint64(C.LLAPI_LAYOUT_DEFAULT) RAID0 = uint64(C.LLAPI_LAYOUT_RAID0) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Layout ¶
type Layout struct {
// contains filtered or unexported fields
}
func (*Layout) PatternSet ¶
func (*Layout) StripeCount ¶
func (*Layout) StripeCountSet ¶
func (*Layout) StripeSize ¶
func (*Layout) StripeSizeSet ¶
type LayoutError ¶
type LayoutError error
Click to show internal directories.
Click to hide internal directories.