aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-04-15 15:50:36 -0400
committerSage Weil <sage@inktank.com>2013-05-02 00:18:58 -0400
commit406e2c9f9286fc93ae2191a7abf477dea05aadc9 (patch)
tree121034644585b0171bfd436d77fe988ad1704753 /include/linux
parentac7f29bf2ee4a526efb68f947475ff77a43028de (diff)
libceph: kill off osd data write_request parameters
In the incremental move toward supporting distinct data items in an osd request some of the functions had "write_request" parameters to indicate, basically, whether the data belonged to in_data or the out_data. Now that we maintain the data fields in the op structure there is no need to indicate the direction, so get rid of the "write_request" parameters. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ceph/osd_client.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/ceph/osd_client.h b/include/linux/ceph/osd_client.h
index 0d3358ef5285..0e406934a551 100644
--- a/include/linux/ceph/osd_client.h
+++ b/include/linux/ceph/osd_client.h
@@ -241,22 +241,22 @@ extern void osd_req_op_extent_update(struct ceph_osd_request *osd_req,
241 241
242extern struct ceph_osd_data *osd_req_op_extent_osd_data( 242extern struct ceph_osd_data *osd_req_op_extent_osd_data(
243 struct ceph_osd_request *osd_req, 243 struct ceph_osd_request *osd_req,
244 unsigned int which, bool write_request); 244 unsigned int which);
245extern struct ceph_osd_data *osd_req_op_cls_response_data( 245extern struct ceph_osd_data *osd_req_op_cls_response_data(
246 struct ceph_osd_request *osd_req, 246 struct ceph_osd_request *osd_req,
247 unsigned int which); 247 unsigned int which);
248 248
249extern void osd_req_op_extent_osd_data_pages(struct ceph_osd_request *, 249extern void osd_req_op_extent_osd_data_pages(struct ceph_osd_request *,
250 unsigned int which, bool write_request, 250 unsigned int which,
251 struct page **pages, u64 length, 251 struct page **pages, u64 length,
252 u32 alignment, bool pages_from_pool, 252 u32 alignment, bool pages_from_pool,
253 bool own_pages); 253 bool own_pages);
254extern void osd_req_op_extent_osd_data_pagelist(struct ceph_osd_request *, 254extern void osd_req_op_extent_osd_data_pagelist(struct ceph_osd_request *,
255 unsigned int which, bool write_request, 255 unsigned int which,
256 struct ceph_pagelist *pagelist); 256 struct ceph_pagelist *pagelist);
257#ifdef CONFIG_BLOCK 257#ifdef CONFIG_BLOCK
258extern void osd_req_op_extent_osd_data_bio(struct ceph_osd_request *, 258extern void osd_req_op_extent_osd_data_bio(struct ceph_osd_request *,
259 unsigned int which, bool write_request, 259 unsigned int which,
260 struct bio *bio, size_t bio_length); 260 struct bio *bio, size_t bio_length);
261#endif /* CONFIG_BLOCK */ 261#endif /* CONFIG_BLOCK */
262 262