[LU-10345] allow specifying file layout by filename extension Created: 07/Dec/17 Updated: 19/Jun/20 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Andreas Dilger | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
It would be useful for users to be able to specify the file layout to use based on the filename extension. For example, choose a widely-striped layout for .mpg movies, choose a single-striped layout for .mp3 audio files. In the first implementation, we might consider storing a table on the MDS of extension->FID mappings, where the referenced FID is used as the template for new files. An improvement on this would allow users to specify such a table on a parent directory, so they can create mappings without the input of the sysadmin. |
| Comments |
| Comment by Andreas Dilger [ 11/Jun/20 ] |
|
It might be possible to combine this with LU-9982 to allow specifying a FID for the source layout, with a table mapping the filename extension to the layout template FID. |