On Mon, 13 Jul 2015, Jason Dillaman wrote: > > But it doesn't provide an easily compassable way > > of integrating waiting on other events in the application. eventfd is > > easy to embed in your (e)pool loop or any kind of event library > > (libev). > > Agreed -- which is why I asked about the proposed design since it > appears (to me) that everything is hidden behind the librbd API and thus > not embeddable within a generic app event loop. It might just be a > misunderstanding on my part, which is why I asked for an example > integration. Bonus points if this helps out the qemu librbd usage, which (if memory serves) does some annoying stuff with a pipe in the callback to notify qemu of IO completion. Perhaps qemu can work with an eventfd more directly? sage -- 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