diff options
author | Yehuda Sadeh <yehuda@hq.newdream.net> | 2010-04-07 00:01:27 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2010-10-21 00:37:18 +0200 |
commit | 68b4476b0bc13fef18266b4140309a30e86739d2 (patch) | |
tree | 47fab5ea2491c7bc75fe14a3b0d3a091eb6244b7 /fs/ceph/pagelist.h | |
parent | ceph: refactor osdc requests creation functions (diff) | |
download | linux-68b4476b0bc13fef18266b4140309a30e86739d2.tar.xz linux-68b4476b0bc13fef18266b4140309a30e86739d2.zip |
ceph: messenger and osdc changes for rbd
Allow the messenger to send/receive data in a bio. This is added
so that we wouldn't need to copy the data into pages or some other buffer
when doing IO for an rbd block device.
We can now have trailing variable sized data for osd
ops. Also osd ops encoding is more modular.
Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net>
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/pagelist.h')
-rw-r--r-- | fs/ceph/pagelist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/pagelist.h b/fs/ceph/pagelist.h index e8a4187e1087..cc9327aa1c98 100644 --- a/fs/ceph/pagelist.h +++ b/fs/ceph/pagelist.h @@ -19,7 +19,7 @@ static inline void ceph_pagelist_init(struct ceph_pagelist *pl) } extern int ceph_pagelist_release(struct ceph_pagelist *pl); -extern int ceph_pagelist_append(struct ceph_pagelist *pl, void *d, size_t l); +extern int ceph_pagelist_append(struct ceph_pagelist *pl, const void *d, size_t l); static inline int ceph_pagelist_encode_64(struct ceph_pagelist *pl, u64 v) { |