All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ilya Dryomov <idryomov@gmail.com>
To: Alex Elder <elder@ieee.org>
Cc: Ceph Development <ceph-devel@vger.kernel.org>,
	Alex Elder <elder@linaro.org>
Subject: Re: [PATCH] rbd: nuke the 32-bit pool id check
Date: Tue, 9 Aug 2016 16:51:43 +0200	[thread overview]
Message-ID: <CAOi1vP9=aZd4mCay_C+GFyoYUDwSkSh+JJ=CEDM8TceVTyTbfA@mail.gmail.com> (raw)
In-Reply-To: <446d126b-1e14-e93f-456f-a9f48fdcdddf@ieee.org>

On Tue, Aug 9, 2016 at 4:45 PM, Alex Elder <elder@ieee.org> wrote:
> On 08/09/2016 09:42 AM, Ilya Dryomov wrote:
>> ceph_file_layout::pool_id is now s64.  rbd_add_get_pool_id() and
>> ceph_pg_poolid_by_name() both return an int, so it's bogus anyway.
>>
>> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
>
> If a pool id is really 64 bits (signed), shouldn't
> rbd_add_get_pool_id() and ceph_pg_poolid_by_name()
> be changed to return that type (first)?
>
> This otherwise looks good.
>
> Reviewed-by: Alex Elder <elder@linaro.org>

Yeah, they should, along with s64/u64 inconsistencies...

Thanks,

                Ilya

      reply	other threads:[~2016-08-09 14:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-09 14:42 [PATCH] rbd: nuke the 32-bit pool id check Ilya Dryomov
2016-08-09 14:45 ` Alex Elder
2016-08-09 14:51   ` Ilya Dryomov [this message]

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='CAOi1vP9=aZd4mCay_C+GFyoYUDwSkSh+JJ=CEDM8TceVTyTbfA@mail.gmail.com' \
    --to=idryomov@gmail.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=elder@ieee.org \
    --cc=elder@linaro.org \
    /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.