All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Nelson <mnelson@redhat.com>
To: "James (Fei) Liu-SSI" <james.liu@ssi.samsung.com>,
	"Zhou, Yuan" <yuan.zhou@intel.com>,
	Ceph Development <ceph-devel@vger.kernel.org>
Cc: "Cohen, David E" <david.e.cohen@intel.com>,
	"Yu, Zhidong" <zhidong.yu@intel.com>
Subject: Re: libcrush.so
Date: Fri, 08 May 2015 12:57:32 -0500	[thread overview]
Message-ID: <554CF90C.8050404@redhat.com> (raw)
In-Reply-To: <99767EA2E27DD44DB4E9F9B9ACA458C03B313F2B@SSIEXCH-MB3.ssi.samsung.com>

FWIW, an easily buildable libcrush would be fantastic for simulation 
purposes (and things like avalanche analysis!) as well.

Mark

On 05/08/2015 12:40 PM, James (Fei) Liu-SSI wrote:
> Hi Yuan,
>     Very interesting. Would be possible to know why application needs to access the cursh map directly instead of accessing through ceph tool?
>
>    Regards,
>    James
>
> -----Original Message-----
> From: ceph-devel-owner@vger.kernel.org [mailto:ceph-devel-owner@vger.kernel.org] On Behalf Of Zhou, Yuan
> Sent: Thursday, May 07, 2015 6:29 PM
> To: Ceph Development
> Cc: Cohen, David E; Yu, Zhidong
> Subject: libcrush.so
>
> Ceph use crush algorithm to provide the mapping of objects to OSD servers. This is great for clients so they could talk to with these OSDs directly. However there are some scenarios where the application needs to access the crush map, for load-balancing as an example.
>
> Currently Ceph doesn't provides any API to render the layout. If your application needs to access the crush map you'll going to rely on the command 'ceph osd map pool_name obj_name'. With this libcrush.so we could let the application to choose which nodes to access. The other advantage is we could provide some other bindings(python, go) based on this also.
>
>  From the git log we find libcrush was there before but removed out since Argonaut. Can anyone kindly share us the background of this change?
>
>
> Thanks, -yuan
>
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

  reply	other threads:[~2015-05-08 17:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-08  1:29 libcrush.so Zhou, Yuan
2015-05-08  4:37 ` libcrush.so Gregory Farnum
2015-05-09  1:39   ` libcrush.so Zhou, Yuan
2015-05-08 17:40 ` libcrush.so James (Fei) Liu-SSI
2015-05-08 17:57   ` Mark Nelson [this message]
2015-05-08 18:13     ` libcrush.so James (Fei) Liu-SSI
2015-05-09  1:25   ` libcrush.so Zhou, Yuan
2015-05-11  2:34     ` libcrush.so Sage Weil
2015-05-11 11:41       ` libcrush.so Cohen, David E
2015-05-11 17:01         ` libcrush.so Sage Weil
2015-05-11 22:39           ` libcrush.so Zhou, Yuan
2015-05-11 22:52             ` libcrush.so Sage Weil

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=554CF90C.8050404@redhat.com \
    --to=mnelson@redhat.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=david.e.cohen@intel.com \
    --cc=james.liu@ssi.samsung.com \
    --cc=yuan.zhou@intel.com \
    --cc=zhidong.yu@intel.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.