[LU-11057] Client mount option "-o network=net" does not work with LNet dynamic peer discovery Created: 25/May/18 Updated: 15/Feb/23 Resolved: 12/Oct/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.11.0 |
| Fix Version/s: | Lustre 2.12.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Sebastien Buisson (Inactive) | Assignee: | Sebastien Buisson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | lnet | ||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
Hi, It appears the client mount option "-o network=net" does not work with LNet dynamic peer discovery. When LNet dynamic peer discovery is enabled, the "-o network=net" client mount option has no effect. This is a problem as LNet dynamic peer discovery is enabled by default starting with Lustre 2.11. I have looked into the code, but with the recent features landed, LNet code has become more complicated, and I am not able to figure out how to re-implement client-side network restriction. Thanks, |
| Comments |
| Comment by Gerrit Updater [ 25/May/18 ] |
|
Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/32562 |
| Comment by Gerrit Updater [ 31/May/18 ] |
|
Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/32590 |
| Comment by Sebastien Buisson (Inactive) [ 10/Aug/18 ] |
|
Carrying out some more tests, I realized that the exports list as seen under /proc/fs/lustre//$fsname-/exports can be misleading when LNet dynamic peer discovery is on. Indeed, the 'name' used for the export does not assume anything on the actual connection used. So it turns out the '-o network' mount option is taken into account as soon as LNet dynamic peer discovery is deactivated on the local client node (meaning there is no need to have it disabled cluster-wide, it can be handled on each node individually). |
| Comment by Gerrit Updater [ 04/Sep/18 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32562/ |
| Comment by Gerrit Updater [ 10/Sep/18 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/32590/ |
| Comment by Peter Jones [ 10/Sep/18 ] |
|
Landed for 2.12 |
| Comment by Gerrit Updater [ 11/Sep/18 ] |
|
Oleg Drokin (green@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/33139 |
| Comment by Gerrit Updater [ 11/Sep/18 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33139/ |
| Comment by Gerrit Updater [ 18/Sep/18 ] |
|
Sebastien Buisson (sbuisson@ddn.com) uploaded a new patch: https://review.whamcloud.com/33189 |
| Comment by Gerrit Updater [ 12/Oct/18 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/33189/ |
| Comment by Peter Jones [ 12/Oct/18 ] |
|
Landed for 2.12 |