Home
last modified time | relevance | path

Searched refs:osd_data (Results 1 – 2 of 2) sorted by relevance

/fs/ceph/
Daddr.c260 struct ceph_osd_data *osd_data; in finish_read() local
269 osd_data = osd_req_op_extent_osd_data(req, 0); in finish_read()
270 BUG_ON(osd_data->type != CEPH_OSD_DATA_TYPE_PAGES); in finish_read()
271 num_pages = calc_pages_for((u64)osd_data->alignment, in finish_read()
272 (u64)osd_data->length); in finish_read()
274 struct page *page = osd_data->pages[i]; in finish_read()
295 kfree(osd_data->pages); in finish_read()
701 struct ceph_osd_data *osd_data; in writepages_finish() local
733 osd_data = osd_req_op_extent_osd_data(req, i); in writepages_finish()
734 BUG_ON(osd_data->type != CEPH_OSD_DATA_TYPE_PAGES); in writepages_finish()
[all …]
Dfile.c703 struct ceph_osd_data *osd_data = osd_req_op_extent_osd_data(req, 0); in ceph_aio_complete_req() local
704 int num_pages = calc_pages_for((u64)osd_data->alignment, in ceph_aio_complete_req()
705 osd_data->length); in ceph_aio_complete_req()
708 inode, rc, osd_data->length); in ceph_aio_complete_req()
726 if (rc >= 0 && osd_data->length > rc) { in ceph_aio_complete_req()
727 int zoff = osd_data->alignment + rc; in ceph_aio_complete_req()
728 int zlen = osd_data->length - rc; in ceph_aio_complete_req()
745 osd_data->pages); in ceph_aio_complete_req()
749 ceph_put_page_vector(osd_data->pages, num_pages, aio_req->should_dirty); in ceph_aio_complete_req()