All of lore.kernel.org
 help / color / mirror / Atom feed
* libcrush.so
@ 2015-05-08  1:29 Zhou, Yuan
  2015-05-08  4:37 ` libcrush.so Gregory Farnum
  2015-05-08 17:40 ` libcrush.so James (Fei) Liu-SSI
  0 siblings, 2 replies; 12+ messages in thread
From: Zhou, Yuan @ 2015-05-08  1:29 UTC (permalink / raw)
  To: Ceph Development; +Cc: Cohen, David E, Yu, Zhidong

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-05-11 22:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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   ` libcrush.so Mark Nelson
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

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.