All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rutger ter Borg <rutger@terborg.net>
To: ceph-devel@vger.kernel.org
Subject: Re: [rados] Asynchronous operations
Date: Mon, 23 Jul 2012 17:59:21 +0200	[thread overview]
Message-ID: <jujscq$sug$1@dough.gmane.org> (raw)
In-Reply-To: <Pine.LNX.4.64.1206270821040.18530@cobra.newdream.net>

On 06/27/2012 05:22 PM, Sage Weil wrote:
>
> There is a get_return_value() method on the AioCompletion that gives you
> bytes read (for reads).  For write operations, it is always 0 (success) or
> an error code.
>

Thanks for the info. Maybe a bit of a newbie question, but in that case, 
how do I detect a read error, given an AioCompletion object?

Thanks,

Rutger



  reply	other threads:[~2012-07-23 15:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27  7:32 [rados] Asynchronous operations Rutger ter Borg
2012-06-27 15:22 ` Sage Weil
2012-07-23 15:59   ` Rutger ter Borg [this message]
2012-07-23 16:07     ` Josh Durgin

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='jujscq$sug$1@dough.gmane.org' \
    --to=rutger@terborg.net \
    --cc=ceph-devel@vger.kernel.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.