Actions
Feature #11903
closedlibcephfs: implement read/write interface support "struct iovec"
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
libcephfs
Labels (FS):
Pull request ID:
Description
Now if qemu virtfs directly call libcephfs api, it need to retranslate iov structure to continuous buffer. We should let libcephfs read/write support iovec structure to avoid extra memcpy.
Currently it's unimplemented:
extern "C" int64_t ceph_ll_readv(class ceph_mount_info *cmount,
struct Fh *fh, const struct iovec *iov,
int iovcnt, int64_t off)
{
return -1; // TODO: implement
}
extern "C" int64_t ceph_ll_writev(class ceph_mount_info *cmount,
struct Fh *fh, const struct iovec *iov,
int iovcnt, int64_t off)
{
return -1; // TODO: implement
}
Updated by John Spray almost 9 years ago
- Project changed from Ceph to CephFS
- Category changed from 24 to 44
Actions