History

ceph: Remove osd_client deadcode

osd_req_op_extent_osd_data_pagelist() was added in 2013 as part of commit a4ce40a9a7c1 ("libceph: combine initializing and setting osd data") but never used. The last use of osd_req_op_cls_request_data_pagelist() was removed in 2017's commit ecd4a68a26a2 ("rbd: switch rbd_obj_method_sync() to ceph_osdc_call()") Remove them.

Dr. David Alan Gilbert committed 1 year ago

Commit aed06d31 parent 38fec102 files · +0 −29Browse files

Showing the changes to include/linux/ceph (1 of 2 files). Show all

Unified · Split

include/linux/ceph/osd_client.h+0−6
@@ -490,9 +490,6 @@ extern void osd_req_op_extent_osd_data_pages(struct ceph_osd_request *, · 489 unmodified lines
490 struct page **pages, u64 length,490 struct page **pages, u64 length,
491 u32 alignment, bool pages_from_pool,491 u32 alignment, bool pages_from_pool,
492 bool own_pages);492 bool own_pages);
493extern void osd_req_op_extent_osd_data_pagelist(struct ceph_osd_request *,
494 unsigned int which,
495 struct ceph_pagelist *pagelist);
496#ifdef CONFIG_BLOCK493#ifdef CONFIG_BLOCK
497void osd_req_op_extent_osd_data_bio(struct ceph_osd_request *osd_req,494void osd_req_op_extent_osd_data_bio(struct ceph_osd_request *osd_req,
498 unsigned int which,495 unsigned int which,
@@ -509,9 +506,6 @@ void osd_req_op_extent_osd_data_bvec_pos(struct ceph_osd_request *osd_req, · 10 unmodified lines
509void osd_req_op_extent_osd_iter(struct ceph_osd_request *osd_req,506void osd_req_op_extent_osd_iter(struct ceph_osd_request *osd_req,
510 unsigned int which, struct iov_iter *iter);507 unsigned int which, struct iov_iter *iter);
511 508
512extern void osd_req_op_cls_request_data_pagelist(struct ceph_osd_request *,
513 unsigned int which,
514 struct ceph_pagelist *pagelist);
515extern void osd_req_op_cls_request_data_pages(struct ceph_osd_request *,509extern void osd_req_op_cls_request_data_pages(struct ceph_osd_request *,
516 unsigned int which,510 unsigned int which,
517 struct page **pages, u64 length,511 struct page **pages, u64 length,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t