Searched refs:agreed_pro_version (Results 1 – 8 of 8) sorted by relevance
542 if (connection->agreed_pro_version >= 100) { in drbd_header_size()583 if (connection->agreed_pro_version >= 100) in prepare_header()585 else if (connection->agreed_pro_version >= 95 && in prepare_header()703 const int apv = peer_device->connection->agreed_pro_version; in drbd_send_sync_param()768 if (nc->tentative && connection->agreed_pro_version < 92) { in __drbd_send_protocol()775 if (connection->agreed_pro_version >= 87) in __drbd_send_protocol()790 if (connection->agreed_pro_version >= 87) in __drbd_send_protocol()955 if (peer_device->connection->agreed_pro_version <= 94) in drbd_send_sizes()957 else if (peer_device->connection->agreed_pro_version < 100) in drbd_send_sizes()1033 cmd = connection->agreed_pro_version < 100 ? P_STATE_CHG_REQ : P_CONN_ST_CHG_REQ; in conn_send_state_req()[all …]
897 device->state_mutex = peer_device->connection->agreed_pro_version < 100 ? in drbd_connected()950 connection->agreed_pro_version = 80; in conn_connect()1187 connection->agreed_pro_version); in decode_header()2272 return e_send_ack(w, connection->agreed_pro_version >= 100 ? in e_send_retry_write()2634 if (peer_device->connection->agreed_pro_version < 100) { in receive_Data()2908 D_ASSERT(device, peer_device->connection->agreed_pro_version >= 89); in receive_DataRequest()2927 peer_device->connection->agreed_pro_version >= 90) { in receive_DataRequest()3260 if (connection->agreed_pro_version < 91) in drbd_uuid_compare()3283 if (connection->agreed_pro_version < 91) in drbd_uuid_compare()3360 if (connection->agreed_pro_version < 96 ? in drbd_uuid_compare()[all …]
640 int agreed_pro_version; /* actually used protocol version */ member2106 if (first_peer_device(device)->connection->agreed_pro_version < 96) in drbd_state_is_stable()2222 return first_peer_device(device)->connection->agreed_pro_version >= 97 && in verify_can_do_stop_sector()2223 first_peer_device(device)->connection->agreed_pro_version != 100; in verify_can_do_stop_sector()
1201 if (first_peer_device(device)->connection->agreed_pro_version < 94) in drbd_max_peer_bio_size()1208 if (first_peer_device(device)->connection->agreed_pro_version == 94) in drbd_max_peer_bio_size()1214 if (first_peer_device(device)->connection->agreed_pro_version < 100) in drbd_max_peer_bio_size()2234 …if (old_net_conf && connection->cstate == C_WF_REPORT_PARAMS && connection->agreed_pro_version < 1… in _check_net_options()2440 if (connection->cstate >= C_WF_REPORT_PARAMS && connection->agreed_pro_version >= 100) in drbd_adm_net_opts()2815 if (rs.no_resync && first_peer_device(device)->connection->agreed_pro_version < 93) { in drbd_adm_resize()4138 first_peer_device(device)->connection->agreed_pro_version >= 90 && in drbd_adm_new_c_uuid()
1724 return connection->agreed_pro_version >= 89 && /* supported? */ in use_checksum_based_resync()1876 if (side == C_SYNC_SOURCE && connection->agreed_pro_version < 96) in drbd_start_resync()1879 if (connection->agreed_pro_version < 95 && device->rs_total == 0) { in drbd_start_resync()
884 first_peer_device(device)->connection->agreed_pro_version < 88) in is_valid_state()1229 if (peer_device->connection->agreed_pro_version < 90) in set_ov_position()1794 connection->agreed_pro_version >= 96 && get_ldev(device)) { in after_state_ch()
765 if (connection->agreed_pro_version <= 95 || in maybe_schedule_on_disk_bitmap_update()
996 connection->agreed_pro_version < 96) in maybe_pull_ahead()