All of lore.kernel.org
 help / color / mirror / Atom feed
* libcrush C API documentation
@ 2017-01-25 18:23 Loic Dachary
  2017-01-25 18:25 ` Adam C. Emerson
  0 siblings, 1 reply; 5+ messages in thread
From: Loic Dachary @ 2017-01-25 18:23 UTC (permalink / raw)
  To: Adam C. Emerson; +Cc: Ceph Development

Hi Adam,

I would be great if you could review the libcrush C API documentation merge request at http://libcrush.org/main/libcrush/merge_requests/1/diffs. I deliberately documented part of the external functions because some of them ( crush_make_uniform_bucket for instance ) are support functions for a higher level function ( crush_make_bucket for instance ). If you think a function should be documented and it is not, this is not because it's work in progress, it's because I may have misjudged it.

The unsupported features are undocumented (for instance the tree and straw algorithms). They should probably be compiled out via a #if before the first standalone release of the library binary package. But it did not seem to be a good idea to dive into that while documenting.

You can skip the review of the struct crush_map fields. Nothing was done except changing the existing comments to match Doxygen conventions. There is much to do to improve this. Explaining the tunables is not for the faint of heart.

The format chosen for the documentation is Doxygen, as we discussed. Thanks for suggesting it :-)

Cheers

-- 
Loïc Dachary, Artisan Logiciel Libre

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

end of thread, other threads:[~2017-01-25 22:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-25 18:23 libcrush C API documentation Loic Dachary
2017-01-25 18:25 ` Adam C. Emerson
2017-01-25 18:45   ` Loic Dachary
2017-01-25 21:36     ` Ming Lin
2017-01-25 22:26       ` Loic Dachary

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.