]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
cephfs client: add zero-copy capabilit
authorFrank S. Filz <ffilzlnx@mindspring.com>
Tue, 18 Mar 2025 12:44:52 +0000 (12:44 +0000)
committerIgor Golikov <igolikov@ibm.com>
Tue, 18 Mar 2025 13:01:11 +0000 (13:01 +0000)
commitea2c58c7524acea0217466da9af5eba916da87ac
tree348bda6dfcc7aaa7512df39806ad80261c8eb11c
parent4dd7f489652370d4ce693e02f2c28a9121efe6d7
cephfs client: add zero-copy capabilit

For writes, the incoming iovec buffers are pushed into the bufferlist.

For reads, an incoming iovec is used to communicate the desired read
length, but then on read complete, an iovec would be built from the
bufferlist and passed back to the client.

Fixes: https://tracker.ceph.com/issues/69919
Signed-off-by: Igor Golikov <igolikov@ibm.com>
src/client/Client.cc
src/client/Client.h