Re: Backward compatibility of librados in Firefly

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

 



I believe it's just that there was an issue for a while where the
return codes were incorrectly not being filled in, and now they are.
So the prval params you pass in when constructing the compound ops are
where the values will be set.
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com


On Fri, Mar 28, 2014 at 1:59 AM, Ray Lv <raylv@xxxxxxxxxxxxx> wrote:
> Thanks Josh for answering them.
>
> I noticed the documentation at
> https://github.com/ceph/ceph/pull/1256/files#diff-91e5380318f1e66a0b2ad9476
> 85cb4caR13
> , but got no luck to find the interface to get individual op return codes
> in compound operations from
> https://github.com/ceph/ceph/blob/firefly/src/include/rados/librados.h .
>
> Could you please show me a hint which API to use? So I gonna test against
> this change.
>
> Thanks,
> Ray
>
>
> On 3/26/14, 3:07 PM, "Josh Durgin" <josh.durgin@xxxxxxxxxxx> wrote:
>
>>On 03/25/2014 12:18 AM, Ray Lv wrote:
>>> Hi there,
>>>
>>> We got a case to use the C APIs of compound operation in librados. These
>>> interfaces are only exported as C APIs from Firefly release, such as
>>>
>>>https://github.com/ceph/ceph/blob/firefly/src/include/rados/librados.h#L1
>>>834.
>>> But our RADOS deployment will stick to the Dumpling release right now.
>>> So here are a few questions on that:
>>>
>>>   * Is the librados in Firefly backward compatible with RADOS servers in
>>>     Dumpling by design?
>>
>>Yes. ABI compatibility is always preserved. There are some rare issues
>>that require changing minor semantics, but they are few and documented
>>in release notes. In this case the most important change is with
>>firefly osds and firefly librados the individual op return codes in
>>compound operations are filled in.
>>
>>>   * Is Firefly librados + Dumpling RADOS a configuration validated by
>>>     the community?
>>
>>Firefly isn't out yet, but we are running upgrade tests that include
>>this kind of configuration.
>>
>>> We tried to backport these C APIs from Firefly to Dumpling and noticed
>>> there are a couple of commits on it.
>>>
>>>   * Do you guys know a tracker issue or Blueprint that covers the C APIs
>>>     of compound operation in Firefly?
>>
>>The related commits are:
>>
>>https://github.com/ceph/ceph/commit/4425f9edaa9f4108bd4a693760c5d7be4359ee
>>4a
>>
>>and most of this pull request:
>>
>>https://github.com/ceph/ceph/pull/1256
>>
>>>   * And moreover, does it make sense to backport these C APIs from
>>>     Firefly to Dumpling?
>>
>>Backporting those will likely be more trouble than it's worth.
>>I'd suggest developing against librados from the firefly branch.
>>If you want to check individual op return codes, use firefly osds as
>>well, otherwise dumpling osds will work just fine.
>>
>>Josh
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux