Hi, > There currently isn't a way to use a preallocated buffer for reads. The > incoming data is read into a buffer allocated low in the stack by the > messaging layer. The bufferlist& ref is really a handle for the caller to > get at the buffers; any prior contents are discarded. I understood. So that allocated inside SimpleMessenger::Pipe::read_message(), right? > This is something that could be changed, but it will require an additional > messenger callback so that the upper layers can provide the buffer to read > the data into. (That is what the kernel implementation does.) Well, could you tell me where can I find that callback code? In fs/ceph/messenger.c? I'd like to look into it. -- 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