Dear Haomai, Thank you for your quick response. ________________________________________ From: 王豪迈 <haomai@xxxxxxxx> Sent: Monday, October 2, 2017 4:52:00 PM To: Justinas LINGYS Cc: ceph-devel Subject: Re: Why AsyncMessenger/AsyncConnection doesn't use support_zero_copy_read/zero_copy_read? On Oct 2, 2017, at 16:19, Justinas LINGYS <jlingys@xxxxxxxxxxxxxx<mailto:jlingys@xxxxxxxxxxxxxx>> wrote: I am wondering why AyncMessenger (src/msg/async/AsyncMessenger.h) does not use the Stack's (src/msg/async/Stack.h) support_zero_copy_read method? In addition, I would be interested in knowing why the RDMAStack (src/msg/async/rdma/RDMAStack.h) always returns false in its support_zero_copy_read method? Isn't RDMA supposed to be used for zero-copy communications? Because the received buffer allocated by messenger will transfer to other modules, currently osd, filestore, bluestore will hold network data in some cases. Until we could resolve the sharing data buffer, we need to copy in messenger firstly. Furthermore, I cannot understand why the AsyncConnection class does not use the ConnectedSocket's zero_copy_read method for reading data since the DPDKStack.h supports it. -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx<mailto:majordomo@xxxxxxxxxxxxxxx> More majordomo info at http://vger.kernel.org/majordomo-info.html Best regards ?韬{.n?????%??檩??w?{.n????u朕?Ф?塄}?财??j:+v??????2??璀??摺?囤??z夸z罐?+?????w棹f