Home
last modified time | relevance | path

Searched refs:agreed_pro_version (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/block/drbd/
Ddrbd_main.c562 if (connection->agreed_pro_version >= 100) { in drbd_header_size()
603 if (connection->agreed_pro_version >= 100) in prepare_header()
605 else if (connection->agreed_pro_version >= 95 && in prepare_header()
723 const int apv = peer_device->connection->agreed_pro_version; in drbd_send_sync_param()
787 if (nc->tentative && connection->agreed_pro_version < 92) { in __drbd_send_protocol()
794 if (connection->agreed_pro_version >= 87) in __drbd_send_protocol()
809 if (connection->agreed_pro_version >= 87) in __drbd_send_protocol()
979 if (peer_device->connection->agreed_pro_version <= 94) in drbd_send_sizes()
981 else if (peer_device->connection->agreed_pro_version < 100) in drbd_send_sizes()
1054 cmd = connection->agreed_pro_version < 100 ? P_STATE_CHG_REQ : P_CONN_ST_CHG_REQ; in conn_send_state_req()
[all …]
Ddrbd_receiver.c895 device->state_mutex = peer_device->connection->agreed_pro_version < 100 ? in drbd_connected()
948 connection->agreed_pro_version = 80; in conn_connect()
1182 connection->agreed_pro_version); in decode_header()
2301 return e_send_ack(w, connection->agreed_pro_version >= 100 ? in e_send_retry_write()
2667 if (peer_device->connection->agreed_pro_version < 100) { in receive_Data()
2944 D_ASSERT(device, peer_device->connection->agreed_pro_version >= 89); in receive_DataRequest()
2963 peer_device->connection->agreed_pro_version >= 90) { in receive_DataRequest()
3297 if (connection->agreed_pro_version < 91) in drbd_uuid_compare()
3320 if (connection->agreed_pro_version < 91) in drbd_uuid_compare()
3397 if (connection->agreed_pro_version < 96 ? in drbd_uuid_compare()
[all …]
Ddrbd_int.h712 int agreed_pro_version; /* actually used protocol version */ member
2215 if (first_peer_device(device)->connection->agreed_pro_version < 96) in drbd_state_is_stable()
2331 return first_peer_device(device)->connection->agreed_pro_version >= 97 && in verify_can_do_stop_sector()
2332 first_peer_device(device)->connection->agreed_pro_version != 100; in verify_can_do_stop_sector()
Ddrbd_worker.c1718 return connection->agreed_pro_version >= 89 && /* supported? */ in use_checksum_based_resync()
1870 if (side == C_SYNC_SOURCE && connection->agreed_pro_version < 96) in drbd_start_resync()
1873 if (connection->agreed_pro_version < 95 && device->rs_total == 0) { in drbd_start_resync()
Ddrbd_nl.c1398 if (first_peer_device(device)->connection->agreed_pro_version < 94) in drbd_reconsider_queue_parameters()
1401 else if (first_peer_device(device)->connection->agreed_pro_version == 94) in drbd_reconsider_queue_parameters()
1403 else if (first_peer_device(device)->connection->agreed_pro_version < 100) in drbd_reconsider_queue_parameters()
2306 …if (old_net_conf && connection->cstate == C_WF_REPORT_PARAMS && connection->agreed_pro_version < 1… in _check_net_options()
2512 if (connection->cstate >= C_WF_REPORT_PARAMS && connection->agreed_pro_version >= 100) in drbd_adm_net_opts()
2886 if (rs.no_resync && first_peer_device(device)->connection->agreed_pro_version < 93) { in drbd_adm_resize()
4216 first_peer_device(device)->connection->agreed_pro_version >= 90 && in drbd_adm_new_c_uuid()
Ddrbd_state.c884 first_peer_device(device)->connection->agreed_pro_version < 88) in is_valid_state()
1227 if (first_peer_device(device)->connection->agreed_pro_version < 90) in set_ov_position()
1786 connection->agreed_pro_version >= 96 && get_ldev(device)) { in after_state_ch()
Ddrbd_actlog.c764 if (connection->agreed_pro_version <= 95 || in maybe_schedule_on_disk_bitmap_update()
Ddrbd_req.c1002 connection->agreed_pro_version < 96) in maybe_pull_ahead()