func (rso *RadosStripedObject) Connect() (err error) { ret := C.rados_striper_create(rso.Ioctx, &rso.Striper) if ret < 0 { return errors.New("create striper failed") } return }
func (p *Pool) CreateStriper() (StriperPool, error) { sp := StriperPool{} ret := C.rados_striper_create(p.ioctx, &sp.striper) if ret < 0 { return sp, RadosError(int(ret)) } else { return sp, nil } }