Lines Matching full:epoch
481 dest->epoch = src->epoch; in target_copy()
1557 (osdc->osdmap->epoch < osdc->epoch_barrier); in target_should_be_paused()
1623 t->epoch = osdc->osdmap->epoch; in calc_target()
1631 if (osdc->osdmap->epoch == pi->last_force_request_resend) { in calc_target()
2181 ceph_encode_32(&p, req->r_osdc->osdmap->epoch); in encode_request_partial()
2253 __le32 epoch; in encode_request_finish() member
2293 ceph_encode_copy(&p, &head.epoch, sizeof(head.epoch)); in encode_request_finish()
2362 req->r_t.spgid.shard, osd->o_osd, req->r_t.epoch, req->r_flags, in send_request()
2379 WARN_ON(!osdc->osdmap->epoch); in maybe_request_map()
2391 osdc->osdmap->epoch + 1, continuous)) in maybe_request_map()
2424 } else if (osdc->osdmap->epoch < osdc->epoch_barrier) { in __submit_request()
2425 dout("req %p epoch %u barrier %u\n", req, osdc->osdmap->epoch, in __submit_request()
2639 if (eb > osdc->osdmap->epoch) in update_epoch_barrier()
2661 * has an updated epoch barrier in it, so set the epoch barrier prior to
2673 update_epoch_barrier(osdc, osdc->osdmap->epoch); in abort_on_full_fn()
2685 * osdc->epoch_barrier to the latest map epoch that we've seen if any were
2703 WARN_ON(!map->epoch); in check_pool_dne()
2711 req->r_map_dne_bound = map->epoch; in check_pool_dne()
2716 req, req->r_tid, req->r_map_dne_bound, map->epoch); in check_pool_dne()
2720 if (map->epoch >= req->r_map_dne_bound) { in check_pool_dne()
3340 WARN_ON(!map->epoch); in check_linger_pool_dne()
3343 lreq->map_dne_bound = map->epoch; in check_linger_pool_dne()
3349 map->epoch); in check_linger_pool_dne()
3353 if (map->epoch >= lreq->map_dne_bound) { in check_linger_pool_dne()
3676 u32 epoch; member
3710 ceph_decode_32_safe(&p, end, m->epoch, e_inval); in decode_MOSDOpReply()
3801 dout("%s req %p tid %llu flags 0x%llx pgid %llu.%x epoch %u attempt %d v %u'%llu uv %llu\n", in handle_reply()
3803 m.epoch, m.retry_attempt, le32_to_cpu(m.replay_version.epoch), in handle_reply()
3977 * scan_requests() for the previous epoch(s) in scan_requests()
4063 if (osdc->osdmap->epoch && in handle_one_map()
4064 osdc->osdmap->epoch + 1 < newmap->epoch) { in handle_one_map()
4109 if (req->r_t.epoch < osdc->osdmap->epoch) { in kick_requests()
4156 u32 epoch; in ceph_osdc_handle_map() local
4165 dout("%s have %u\n", __func__, osdc->osdmap->epoch); in ceph_osdc_handle_map()
4184 epoch = ceph_decode_32(&p); in ceph_osdc_handle_map()
4187 if (osdc->osdmap->epoch && in ceph_osdc_handle_map()
4188 osdc->osdmap->epoch + 1 == epoch) { in ceph_osdc_handle_map()
4190 epoch, maplen); in ceph_osdc_handle_map()
4198 epoch, maplen); in ceph_osdc_handle_map()
4211 epoch = ceph_decode_32(&p); in ceph_osdc_handle_map()
4216 epoch, maplen); in ceph_osdc_handle_map()
4217 } else if (osdc->osdmap->epoch >= epoch) { in ceph_osdc_handle_map()
4219 "older than our %u\n", epoch, maplen, in ceph_osdc_handle_map()
4220 osdc->osdmap->epoch); in ceph_osdc_handle_map()
4222 dout("taking full map %u len %d\n", epoch, maplen); in ceph_osdc_handle_map()
4243 osdc->osdmap->epoch < osdc->epoch_barrier) in ceph_osdc_handle_map()
4250 osdc->osdmap->epoch); in ceph_osdc_handle_map()
4448 * Ack with original backoff's epoch so that the OSD can in handle_backoff_block()