Hello, See the second patch for rationale and explanation. Tests are added in https://github.com/ceph/ceph/pull/44842. Thanks, Ilya Ilya Dryomov (2): libceph: make recv path in secure mode work the same as send path libceph: optionally use bounce buffer on recv path in crc mode include/linux/ceph/libceph.h | 1 + include/linux/ceph/messenger.h | 5 + net/ceph/ceph_common.c | 7 + net/ceph/messenger.c | 4 + net/ceph/messenger_v1.c | 54 ++++++- net/ceph/messenger_v2.c | 265 +++++++++++++++++++++++---------- 6 files changed, 255 insertions(+), 81 deletions(-) -- 2.19.2