we have a provision to allcoate and release buffers with rados_release(); it might be simpler to do that than have the user guess at a buffer size.