Re: librados aio completion

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

 



On Mon, Apr 16, 2012 at 12:00 PM, Sage Weil <sage@xxxxxxxxxxxx> wrote:
>
> I pushed a wip-2301 that does this.  The downside to this approach is that
> the is_safe() and is_complete() methods will return false until after the
> callback returns, which includes the callback itself.  So a callback that
> assumes that is_complete() will return true will be wrong.
>
> If that's not okay, the alternative is to make the wait_for_complete()
> actually be a wait_for_complete_and_callback_has_returned().  That drops
> the symmetry between wait_for_complete() and is_complete(), which is
> awkward.
>
maybe is_ack(), is_safe() and is_complete()?

Yehuda
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux