Home
last modified time | relevance | path

Searched refs:first_peer_device (Results 1 – 9 of 9) sorted by relevance

/drivers/block/drbd/
Ddrbd_req.c125 struct drbd_peer_device *peer_device = first_peer_device(device); in drbd_req_destroy()
244 req->epoch == atomic_read(&first_peer_device(device)->connection->current_tle_nr)) in drbd_req_complete()
245 start_new_tl_epoch(first_peer_device(device)->connection); in drbd_req_complete()
416 struct drbd_peer_device *peer_device = first_peer_device(device); in mod_rq_state()
986 struct drbd_connection *connection = first_peer_device(device)->connection; in maybe_pull_ahead()
1022 start_new_tl_epoch(first_peer_device(device)->connection); in maybe_pull_ahead()
1107 struct drbd_peer_device *peer_device = first_peer_device(device); in drbd_process_write_request()
1320 struct drbd_peer_device *peer_device = first_peer_device(device); in drbd_send_and_submit()
1360 req->epoch = atomic_read(&first_peer_device(device)->connection->current_tle_nr); in drbd_send_and_submit()
1366 first_peer_device(device)->connection->current_tle_writes++; in drbd_send_and_submit()
[all …]
Ddrbd_worker.c433 make_ov_request(first_peer_device(device), cancel); in w_resync_timer()
436 make_resync_request(first_peer_device(device), cancel); in w_resync_timer()
448 &first_peer_device(device)->connection->sender_work, in resync_timer_fn()
803 if (drbd_send_ov_request(first_peer_device(device), sector, size)) { in make_ov_request()
824 ov_out_of_sync_print(first_peer_device(device)); in w_ov_finished()
825 drbd_resync_finished(first_peer_device(device)); in w_ov_finished()
837 drbd_resync_finished(first_peer_device(device)); in w_resync_finished()
844 struct drbd_connection *connection = first_peer_device(device)->connection; in ping_peer()
1399 return pd_send_unplug_remote(first_peer_device(device)); in w_send_write_hint()
1428 struct drbd_peer_device *const peer_device = first_peer_device(device); in w_send_out_of_sync()
[all …]
Ddrbd_proc.c269 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in drbd_seq_show()
298 first_peer_device(device)->connection->epochs, in drbd_seq_show()
Ddrbd_int.h945 static inline struct drbd_peer_device *first_peer_device(struct drbd_device *device) in first_peer_device() function
1853 first_peer_device(device)->connection; in drbd_device_post_work()
2073 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in drbd_get_max_buffers()
2116 if (first_peer_device(device)->connection->agreed_pro_version < 96) in drbd_state_is_stable()
2218 drbd_queue_work(&first_peer_device(device)-> in dec_ap_bio()
2232 return first_peer_device(device)->connection->agreed_pro_version >= 97 && in verify_can_do_stop_sector()
2233 first_peer_device(device)->connection->agreed_pro_version != 100; in verify_can_do_stop_sector()
Ddrbd_nl.c364 struct drbd_connection *connection = first_peer_device(device)->connection; in drbd_khelper()
617 struct drbd_peer_device *const peer_device = first_peer_device(device); in drbd_set_role()
1211 first_peer_device(device)->connection; in decide_on_discard_support()
1250 struct drbd_connection *connection = first_peer_device(device)->connection; in fixup_write_zeroes()
1324 if (first_peer_device(device)->connection->agreed_pro_version < 94) in drbd_reconsider_queue_parameters()
1327 else if (first_peer_device(device)->connection->agreed_pro_version == 94) in drbd_reconsider_queue_parameters()
1329 else if (first_peer_device(device)->connection->agreed_pro_version < 100) in drbd_reconsider_queue_parameters()
1750 peer_device = first_peer_device(device); in drbd_adm_attach()
2767 iass = test_bit(RESOLVE_CONFLICTS, &first_peer_device(device)->connection->flags); in resync_after_online_grow()
2824 if (rs.no_resync && first_peer_device(device)->connection->agreed_pro_version < 93) { in drbd_adm_resize()
[all …]
Ddrbd_state.c542 rv = is_valid_soft_transition(os, ns, first_peer_device(device)->connection); in _req_st_cond()
591 rv = is_valid_soft_transition(os, ns, first_peer_device(device)->connection); in drbd_req_state()
600 if (drbd_send_state_req(first_peer_device(device), mask, val)) { in drbd_req_state()
625 D_ASSERT(device, current != first_peer_device(device)->connection->worker.task); in drbd_req_state()
838 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in is_valid_state()
843 else if (conn_highest_peer(first_peer_device(device)->connection) == R_PRIMARY) in is_valid_state()
884 first_peer_device(device)->connection->agreed_pro_version < 88) in is_valid_state()
1266 struct drbd_peer_device *peer_device = first_peer_device(device); in _drbd_set_state()
1529 D_ASSERT(device, current == first_peer_device(device)->connection->worker.task); in drbd_bitmap_io_from_worker()
1709 struct drbd_peer_device *peer_device = first_peer_device(device); in after_state_ch()
Ddrbd_main.c295 struct drbd_connection *connection = first_peer_device(device)->connection; in tl_abort_disk_io()
1116 use_rle = rcu_dereference(first_peer_device(device)->connection->net_conf)->use_rle; in fill_bitmap_rle_bits()
1118 if (!use_rle || first_peer_device(device)->connection->agreed_pro_version < 90) in fill_bitmap_rle_bits()
1931 &first_peer_device(device)->connection->sender_work, in drbd_queue_unplug()
2022 if (first_peer_device(device)->connection->receiver.t_state != NONE) in drbd_device_cleanup()
2024 first_peer_device(device)->connection->receiver.t_state); in drbd_device_cleanup()
2042 D_ASSERT(device, first_peer_device(device)->connection->net_conf == NULL); in drbd_device_cleanup()
2062 D_ASSERT(device, list_empty(&first_peer_device(device)->connection->sender_work.q)); in drbd_device_cleanup()
3558 D_ASSERT(device, current != first_peer_device(device)->connection->worker.task); in drbd_bitmap_io()
3686 nc = rcu_dereference(first_peer_device(device)->connection->net_conf); in drbd_wait_misc()
Ddrbd_actlog.c764 struct drbd_connection *connection = first_peer_device(device)->connection; in maybe_schedule_on_disk_bitmap_update()
823 drbd_advance_rs_marks(first_peer_device(device), still_to_go); in update_sync_bits()
Ddrbd_receiver.c2422 struct drbd_peer_device *peer_device = first_peer_device(device); in fail_postponed_requests()