Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.16.1
-
None
-
3
-
3
-
9223372036854775807
Description
It looks like ksocklnd_speed2cpp will be skipped if NIC interface is not specified, i.e. we have to specify
options lnet networks="tcp0(eth0)" in lustre.conf to enable this conversion
static int ksocklnd_ni_get_eth_intf_speed(struct lnet_ni *ni) { struct net_device *dev; int intf_idx = -1; int ret = -1; DECLARE_CONST_IN_IFADDR(ifa); /* check if ni has interface assigned */ if (!ni->ni_net_ns || !ni->ni_interface) { return 0; <---- otherwise it will skip here. } ....
Ideally it may just do conversion in all cases, i.e. even without the NIC interface specify?