diff options
author | Yan, Zheng <zyan@redhat.com> | 2014-11-13 01:40:37 -0500 |
---|---|---|
committer | Ilya Dryomov <idryomov@redhat.com> | 2014-12-17 12:09:52 -0500 |
commit | 715e4cd405cfd67bd058e410b3e599bab2072645 (patch) | |
tree | 20b4b1bf1fe86e7719f82c4804228e887592d832 /include/linux/ceph | |
parent | 864e9197f10c77053bbaf12932f5b200bb4ed3c5 (diff) |
libceph: specify position of extent operation
allow specifying position of extent operation in multi-operations
osd request. This is required for cephfs to convert inline data to
normal data (compare xattr, then write object).
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Diffstat (limited to 'include/linux/ceph')
-rw-r--r-- | include/linux/ceph/osd_client.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h index bcf9c2180ea5..5d86416d35f2 100644 --- a/include/linux/ceph/osd_client.h +++ b/include/linux/ceph/osd_client.h | |||
@@ -328,7 +328,8 @@ extern struct ceph_osd_request *ceph_osdc_new_request(struct ceph_osd_client *, | |||
328 | struct ceph_file_layout *layout, | 328 | struct ceph_file_layout *layout, |
329 | struct ceph_vino vino, | 329 | struct ceph_vino vino, |
330 | u64 offset, u64 *len, | 330 | u64 offset, u64 *len, |
331 | int num_ops, int opcode, int flags, | 331 | unsigned int which, int num_ops, |
332 | int opcode, int flags, | ||
332 | struct ceph_snap_context *snapc, | 333 | struct ceph_snap_context *snapc, |
333 | u32 truncate_seq, u64 truncate_size, | 334 | u32 truncate_seq, u64 truncate_size, |
334 | bool use_mempool); | 335 | bool use_mempool); |