From: Wido den Hollander <wido@42on.com>
To: Daniel Hoang <daniel_m_hoang@yahoo.com>
Cc: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Subject: Re: Questions on some minor issues when upgrading from 0.48 to 0.56
Date: Thu, 14 Feb 2013 08:18:07 +0100 [thread overview]
Message-ID: <511C8FAF.1080102@42on.com> (raw)
In-Reply-To: <1360783561.14929.YahooMailNeo@web162602.mail.bf1.yahoo.com>
Hi,
On 02/13/2013 08:26 PM, Daniel Hoang wrote:
>
>
> Hi All,
>
> Just in case these issues have not been reported yet, I am on ubuntu 12.04, upgrade librados2/librados-dev from 0.48 to 0.56, and I notice the following issues:
>
> 1. librados2 / librados-dev still reports minor version as 48
>
> Should minor version changed to 56?
No. From what I understand the librados version is only bumped when the
API actually changes.
This indicates that the API is still the same as 0.48
>
> 2. In 0.48, rados_pool_list(cluster, NULL, 0) can be used like a buffer size query, and it would return the buffer size required for the pool list buffer string. In 0.56, this call now returns error -22 instead, and I have to pass in a tmp_buf[32] and len = 32 in order for the call to return successfully. I check the current rados_pool_list API, and it does not mention anything about buffer and len should not be NULL, 0.
>
> May be this was a bug in 0.48, that we should not pass in NULL, 0 ?
>
Take a look at this commit:
https://github.com/ceph/ceph/commit/a677f47926b9640c53fbd00c94d6eb7a590a94fc
I ran into this with phprados as well:
https://github.com/ceph/phprados/commit/ee8b87fe93f87f92a7c3fa197a33b3d2de2fc4b6
Wido
> Thanks for your help,
> DanielH
>
> --
> 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
>
--
Wido den Hollander
42on B.V.
Phone: +31 (0)20 700 9902
Skype: contact42on
next prev parent reply other threads:[~2013-02-14 7:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-13 19:26 Questions on some minor issues when upgrading from 0.48 to 0.56 Daniel Hoang
2013-02-14 7:18 ` Wido den Hollander [this message]
2013-02-14 17:34 ` Daniel Hoang
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=511C8FAF.1080102@42on.com \
--to=wido@42on.com \
--cc=ceph-devel@vger.kernel.org \
--cc=daniel_m_hoang@yahoo.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.