[LU-12756] Refactor lnet_select_pathway and lnet_peer_ni ref counting Created: 12/Sep/19 Updated: 06/Jun/22 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Chris Horn | Assignee: | Chris Horn |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
lnet_select_pathway() contains a fair amount of duplicated code. I took a stab at refactoring this function and I believe I have a functionally equivalent implementation with about half as much code. During that process I noted that the lnet_nid2peerni_locked() function takes a ref on the lnet_peer_ni |
| Comments |
| Comment by Gerrit Updater [ 22/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36532 |
| Comment by Gerrit Updater [ 22/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36543 |
| Comment by Gerrit Updater [ 22/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36542 |
| Comment by Gerrit Updater [ 22/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36540 |
| Comment by Gerrit Updater [ 22/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36533 |
| Comment by Gerrit Updater [ 22/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36534 |
| Comment by Gerrit Updater [ 22/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36536 |
| Comment by Gerrit Updater [ 22/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36535 |
| Comment by Gerrit Updater [ 22/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36539 |
| Comment by Gerrit Updater [ 22/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36538 |
| Comment by Gerrit Updater [ 22/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36537 |
| Comment by Gerrit Updater [ 22/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36541 |
| Comment by Gerrit Updater [ 29/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36608 |
| Comment by Gerrit Updater [ 31/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36618 |
| Comment by Gerrit Updater [ 31/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36621 |
| Comment by Gerrit Updater [ 31/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36623 |
| Comment by Gerrit Updater [ 31/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36620 |
| Comment by Gerrit Updater [ 31/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36628 |
| Comment by Gerrit Updater [ 31/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36625 |
| Comment by Gerrit Updater [ 31/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36626 |
| Comment by Gerrit Updater [ 31/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36627 |
| Comment by Gerrit Updater [ 31/Oct/19 ] |
|
Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/36624 |
| Comment by Chris Horn [ 01/Nov/19 ] |
|
FYI, I plan the following test activities for this patch series. Port patch series to Cray's Lustre 2.12. All patches apply cleanly because our 2.12 LNet is basically identical to master. Deploy the code to dev system with Clusterstor server and small XC system (40 compute nodes, 4 LNet routers). Place load on system (IOR, mdtest, etc.). Perform LNet router failure testing over 24 hours. This involves: NMI a router, wait 15 minutes, reboot router, wait 15 minutes, repeat. Expectation is that there are no client evictions and no test failures. I will perform the above testing for the following configurations: |
| Comment by Alexey Lyashkov [ 26/Dec/19 ] |
|
@Chris - my vote to add some performance testing against that series. |
| Comment by Gerrit Updater [ 10/Jan/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36534/ |
| Comment by Gerrit Updater [ 10/Jan/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36535/ |
| Comment by Gerrit Updater [ 18/Jan/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36536/ |
| Comment by Gerrit Updater [ 18/Jan/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36620/ |
| Comment by Gerrit Updater [ 18/Jan/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36621/ |
| Comment by Gerrit Updater [ 14/Feb/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36537/ |
| Comment by Gerrit Updater [ 14/Feb/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36538/ |
| Comment by Gerrit Updater [ 14/Feb/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36539/ |
| Comment by Gerrit Updater [ 14/Feb/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36540/ |
| Comment by Gerrit Updater [ 14/Feb/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36540/ |
| Comment by Gerrit Updater [ 11/Mar/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36541/ |
| Comment by Gerrit Updater [ 06/Jun/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/36623/ |