Project

General

Profile

Actions

Feature #11903

closed

libcephfs: implement read/write interface support "struct iovec"

Added by Haomai Wang almost 9 years ago. Updated almost 8 years ago.

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
}

Actions #1

Updated by Haomai Wang almost 9 years ago

  • Category set to 24
Actions #2

Updated by John Spray almost 9 years ago

  • Project changed from Ceph to CephFS
  • Category changed from 24 to 44
Actions #3

Updated by Haomai Wang over 8 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Greg Farnum almost 8 years ago

  • Component(FS) libcephfs added
Actions

Also available in: Atom PDF