[LU-14792] DNE3: enable filesystem-wide default LMV Created: 25/Jun/21 Updated: 04/Dec/23 Resolved: 31/Jul/21 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.15.0 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Lai Siyao | Assignee: | Lai Siyao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Severity: | 3 | ||||||||||||||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||||||||||||||
| Description |
|
Similar to default LOV on ROOT, default LMV on ROOT can act as filesystem-wide default LMV, but this may cause too many remote directories. However with the inherit depth, only new directories whose depth to ROOT is not larger than the inherit depth will inherit this default LMV to create. |
| Comments |
| Comment by Andreas Dilger [ 25/Jun/21 ] |
|
In theory, we could keep the directory depth in memory for each directory object when the path is walked from ROOT/ during normal pathname lookups. That would allow inheriting the directory layout from ROOT with a limited max_inherit depth when creating directories that didn't previously inherit from ROOT. Ideally, we wouldn't need to explicitly copy the layout to each directory, since that makes life difficult if the root layout ever changes, but it may be too complex for the first version (eg. handling remote directories, etc). In the common case of max_inherit=-1 there is never a need to explicitly copy the ROOT/ layout. |
| Comment by Gerrit Updater [ 28/Jun/21 ] |
|
Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/44090 |
| Comment by Gerrit Updater [ 31/Jul/21 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/44090/ |
| Comment by Peter Jones [ 31/Jul/21 ] |
|
Landed for 2.15 |