[Gluster-devel] cluster/ec: Added the erasure code xlator

Kaushal M kshlmster at gmail.com
Tue May 13 14:52:06 UTC 2014


The syntax looks good. If you need help with the cli and glusterd changes,
I'll be happy to help.


On Tue, May 13, 2014 at 8:08 PM, Xavier Hernandez <xhernandez at datalab.es>wrote:

> I'm trying to modify the cli to allow the creation of dispersed volumes.
>
> Current syntax for volume creation is like this:
>
>     volume create <volname> [stripe <count>] \
>                             [replica <count>] \
>                             [transport <tcp|rdma|tcp,rdma>] \
>                             <brick>?<vg_name>... \
>                             [force]
>
> I propose to use this modified syntax:
>
>     volume create <volname> [stripe <count>] \
>                             [replica <count>] \
>                             [disperse <count>] \
>                             [redundancy <count>] \
>                             [transport <tcp|rdma|tcp,rdma>] \
>                             <brick>?<vg_name>... \
>                             [force]
>
> If 'disperse' is specified and 'redundancy' is not, 1 is assumed for
> redundancy.
>
> If 'redundancy' is specified and 'disperse' is not, disperse count is taken
> from the number of bricks.
>
> If 'disperse' is specified and the number of bricks is greater than the
> number
> indicated (and it is a multiple), a distributed-dispersed volume is
> created.
>
> 'disperse' and 'redundancy' cannot be combined with 'stripe' or 'replica'.
>
> Would this syntax be ok ?
>
> Xavi
>
> On Tuesday 13 May 2014 12:29:34 Xavier Hernandez wrote:
> > I forgot to say that performance is not good, however there are some
> > optimizations not yet incorporated that may improve it. They will be
> added
> > in following patches.
> >
> > Xavi
> >
> > On Tuesday 13 May 2014 12:23:15 Xavier Hernandez wrote:
> > > Hello,
> > >
> > > I've just added the cluster/ec translator for review [1].
> > >
> > > It's a rewrite that does not use any additional translator or library.
> > > It's
> > > still a work in progress with some bugs to solve, but its architecture
> > > should be stable. The main missing feature is self-heal, that will be
> > > added
> > > once the main code is stabilized and reviewed.
> > >
> > > Feel free to review it and send any comment you think appropiate.
> > >
> > > Thanks,
> > >
> > > Xavi
> > >
> > > [1] http://review.gluster.org/7749
> > > _______________________________________________
> > > Gluster-devel mailing list
> > > Gluster-devel at gluster.org
> > > http://supercolony.gluster.org/mailman/listinfo/gluster-devel
> >
> > _______________________________________________
> > Gluster-devel mailing list
> > Gluster-devel at gluster.org
> > http://supercolony.gluster.org/mailman/listinfo/gluster-devel
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20140513/98141369/attachment-0002.html>


More information about the Gluster-devel mailing list