[LU-7827] DNE3: automatically select MDT for lfs mkdir Created: 01/Mar/16 Updated: 28/Jan/22 Resolved: 04/Aug/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.8.0, Lustre 2.9.0 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | WC Triage |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | dne3 | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||||||||||||||
| Description |
|
Currently, lfs mkdir creating a remote directory requires specifying the MDT index at directory create time, and if -i -1 is used it does not select the "best" MDT at creation time. Since the selection of the MDT for remote directory creates is decided by the client, it may be necessary to do a statfs of all MDTs (and cache the result for a short time) on the client to select the best MDT based on the free inodes, and some kind of round-robin if the free inodes are approximately the same (e.g. within 10% of each other). |
| Comments |
| Comment by Andreas Dilger [ 04/Aug/18 ] |
|
This was already fixed via |