Note that some of the LNDs were only recently removed (after 2.5) and at least the name->network mapping should stick around in order for a client/server to route to that network type (e.g. on a Cray cluster running an older version of Lustre that connects to newer servers), even if it doesn't have support for the network locally. The other IBLND and GMLND types are have not been used for ages so it isn't a concern and they can be removed completely. Please keep commented-out definitions in lnet/include/lnet/nidstr.h (the unnamed enum, that should really get a name like enum lnet_types so that this can properly be used elsewhere in the code) to avoid re-using these values:
enum lnet_types {
/* Only add to these values (i.e. don't ever change or redefine them):
* network addresses depend on them... */
QSWLND = 1,
SOCKLND = 2,
PTLLND = 4,
O2IBLND = 5,
LOLND = 9,
RALND = 10,
MXLND = 12,
GNILND = 13,
GNIIPLND = 14,
};
If you are removing the remaining LNDs, please also look at removing the rest of the places where these constants are used (headers, Makefile.*, autoconf, etc). Run e.g. git grep VIBLND to see all of the places this is used.
Sonia Sharma (sonia.sharma@intel.com) uploaded a new patch: http://review.whamcloud.com/23628
Subject:
LU-8769lnds: <remove obsolete LNDs>Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 06c83c6a51c5b7ee2fb68358b22b534fe5934cf8