[LU-5849] DLC: parse networks function needs to return the number of parsed networks Created: 03/Nov/14 Updated: 09/Jan/15 Resolved: 09/Jan/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.7.0 |
| Fix Version/s: | Lustre 2.7.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Amir Shehata (Inactive) | Assignee: | Amir Shehata (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | MB | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 16379 | ||||||||||||
| Description |
|
lnet_dyn_add_ni() requires lnet_parse_networks() to return the number of nets (outside of LO) that were parsed in order to do proper sanity checks. Currently it returns < 0 for failure and 0 for failure. |
| Comments |
| Comment by Amir Shehata (Inactive) [ 03/Nov/14 ] |
| Comment by Isaac Huang (Inactive) [ 03/Nov/14 ] |
|
I think it's good chance now to clean up lnet_parse_networks(). It used to add a LO by itself only because it made sense to its only caller LNetNIInit(). Now the added LO can actually cause trouble to the new caller lnet_dyn_add_ni(), which doesn't want that LO at all. I think: |
| Comment by James A Simmons [ 07/Jan/15 ] |
|
Has this been resolved due to the landing of LU-5374? |