aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-03-08 13:35:36 -0600
committerSage Weil <sage@inktank.com>2013-05-01 21:17:03 -0700
commit9a5e6d09ddd0cd68ce64c3aa54095e4a0e85b089 (patch)
tree9bf530bb090cb6135c5be31705c5fb69ba4f6139 /include
parent175face2ba31025b0dcd6da4e711fca7764287fa (diff)
libceph: have osd requests support pagelist data
Add support for recording a ceph pagelist as data associated with an osd request. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ceph/osd_client.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h
index bcf3f72ec3f..cf0ba93426d 100644
--- a/include/linux/ceph/osd_client.h
+++ b/include/linux/ceph/osd_client.h
@@ -53,6 +53,7 @@ struct ceph_osd {
enum ceph_osd_data_type {
CEPH_OSD_DATA_TYPE_NONE,
CEPH_OSD_DATA_TYPE_PAGES,
+ CEPH_OSD_DATA_TYPE_PAGELIST,
#ifdef CONFIG_BLOCK
CEPH_OSD_DATA_TYPE_BIO,
#endif /* CONFIG_BLOCK */
@@ -68,8 +69,9 @@ struct ceph_osd_data {
bool pages_from_pool;
bool own_pages;
};
+ struct ceph_pagelist *pagelist;
#ifdef CONFIG_BLOCK
- struct bio *bio;
+ struct bio *bio;
#endif /* CONFIG_BLOCK */
};
};