From: Loic Dachary <loic@dachary.org>
To: Sage Weil <sage@inktank.com>
Cc: Ceph Development <ceph-devel@vger.kernel.org>
Subject: Re: Review request : Erasure Code plugin loader implementation
Date: Mon, 19 Aug 2013 15:27:01 +0200 [thread overview]
Message-ID: <52121D25.9050309@dachary.org> (raw)
In-Reply-To: <alpine.DEB.2.00.1308181719340.1479@cobra.newdream.net>
[-- Attachment #1: Type: text/plain, Size: 1712 bytes --]
Hi Sage,
This makes a lot more sense indeed. I updated the http://tracker.ceph.com/issues/5878 description accordingly.
ceph osd pool create poolname erasure-code-dir=/var/lib/ceph/erasure-code
erasure-code-plugin=jerasure erasure-code-m=10 erasure-code-k=3 erasure-code-algorithm=Reed-Solomon
Thanks :-)
On 19/08/2013 02:24, Sage Weil wrote:
> Hi Loic,
>
> One other thought on http://tracker.ceph.com/issues/5878:
>
> The user interface there would let you adjust various parameters of the
> pool's erasure coding scheme after the pool is created. As a practical
> matter, I suspect that many/most of these fields will be specified exactly
> once (at pool creation time) and will be immutable properties of the pool
> after that. The m/k at a minimum need to match up with what we are
> requesting out of crush. And once there is data stored, I don't think it
> will make sense to be able to change the encoding scheme for new objects
> and still be able to deal with old objects. (Or maybe it will be, if the
> code metadata is in the object_info_t.)
>
> Even if we do support changing some of these on the fly, though, I suspect
> the most important interface, and the first we implement, will be
> something like
>
> ceph osd pool create <name> [key=value ...]
>
> the various parameters listed, like EC algorithm, m, k, and pg_num. We
> can probably generalize the mon command interface to have a key/value list
> type that will make this easy to plumb from the CLI (and trivial via
> ceph-rest-api).
>
> sage
>
--
Loïc Dachary, Artisan Logiciel Libre
All that is necessary for the triumph of evil is that good people do nothing.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
prev parent reply other threads:[~2013-08-19 13:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-18 16:19 Review request : Erasure Code plugin loader implementation Loic Dachary
2013-08-18 17:34 ` Sage Weil
2013-08-18 20:05 ` Loic Dachary
2013-08-19 0:01 ` Sage Weil
2013-08-19 15:06 ` Loic Dachary
2013-08-19 16:19 ` Sage Weil
2013-08-20 11:32 ` Loic Dachary
2013-08-19 0:24 ` Sage Weil
2013-08-19 13:27 ` Loic Dachary [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52121D25.9050309@dachary.org \
--to=loic@dachary.org \
--cc=ceph-devel@vger.kernel.org \
--cc=sage@inktank.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.