Details
-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
-
3
-
9223372036854775807
Description
Currently if we have several consecutive calls to import_set_conn to the same node, only the first one will "take effect". i.e. if say the second call finds a better ptlrpc_conn for a connection to the same "node", it won't update to use the best ptlrpc_conn.
sudo lctl --device MGS llog_print euuczbmv-client | grep "10.0.24.181@tcp\|198.19.21.235@tcp1\|2-mdc"
- { index: 22, event: add_uuid, nid: 10.0.24.181@tcp(0x200000a0018b5), node: 10.0.24.181@tcp }
- { index: 23, event: attach, device: euuczbmv-MDT0002-mdc, type: mdc, UUID: euuczbmv-clilmv_UUID }
- { index: 24, event: setup, device: euuczbmv-MDT0002-mdc, UUID: euuczbmv-MDT0002_UUID, node: 10.0.24.181@tcp }
- { index: 25, event: add_uuid, nid: 10.0.24.181@tcp(0x200000a0018b5), node: 10.0.24.181@tcp }
- { index: 26, event: add_uuid, nid: 198.19.21.235@tcp1(0x20001c61315eb), node: 10.0.24.181@tcp }
- { index: 27, event: add_conn, device: euuczbmv-MDT0002-mdc, node: 10.0.24.181@tcp }
- { index: 28, event: add_mdc, device: euuczbmv-clilmv, mdt: euuczbmv-MDT0002_UUID, index: 2, gen: 1, UUID: euuczbmv-MDT0002-mdc_UUID }
For example, the import_set_conn triggered by index 27 is able to find the best ptlrpc_conn to be using tcp1 NID but it does not update obd_import.