[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:
Related
is related to LU-9982 Clients striping from mapped FID in n... Open
is related to LU-11234 Choose lustre pool to place file’s ob... Open
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.

Generated at Sat Feb 10 02:34:13 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.