Re: libcrush C API documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 01/25/2017 07:25 PM, Adam C. Emerson wrote:
> On 25/01/2017, Loic Dachary wrote:
>> 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
> 
> I will be happy to! Do you want me to read for, mostly, technical
> coverage etc. or for style and usage and whatnot, too?

As much as you can :-) You can create the HTML pages localy with

git clone http://libcrush.org/main/libcrush.git
cd libcrush
doxygen doc/Doxygen
firefox doc/output/html/index.html

Cheers

-- 
Loïc Dachary, Artisan Logiciel Libre
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux