CEPH filesystem development
 help / color / mirror / Atom feed
From: Dan Mick <dan.mick@inktank.com>
To: Henry C Chang <henry.cy.chang@gmail.com>
Cc: ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: Behavior of librbd::Image::read_iterate() changed?
Date: Fri, 07 Dec 2012 21:04:56 -0800	[thread overview]
Message-ID: <50C2CA78.5010005@inktank.com> (raw)
In-Reply-To: <CANExM-MYm5iomxv1GszEOo4+PJouGCzC+ssjm0FHhX1GuD-FXQ@mail.gmail.com>

I suspect, but have not figured out yet, that this is due to the new 
striping code (even on images that don't have advanced striping 
enabled).  I know we want to look at it further; it might be that this 
is a regression.

On 12/07/2012 07:44 PM, Henry C Chang wrote:
> Hi,
>
> I am testing v0.55. I noticed that the behavior of
> librbd::Image::read_iterate() changed. With 0.48.2, when hitting the
> hole, the callback function will be called with the buf set to NULL.
> However, with v0.55, I got the zero-ed buffer of full length of the
> object (e.g., 4MB).
>
> Is it the expected behavior or a bug?
>
> Henry
> --
> 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
>

  reply	other threads:[~2012-12-08  5:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-08  3:44 Behavior of librbd::Image::read_iterate() changed? Henry C Chang
2012-12-08  5:04 ` Dan Mick [this message]
2012-12-11  4:12   ` Henry C Chang

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=50C2CA78.5010005@inktank.com \
    --to=dan.mick@inktank.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=henry.cy.chang@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox