Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
Lustre 2.4.0
-
None
-
5770
Description
Having a generic mechanism to create temporary files (~ open/unlinked files) would be useful not only for HSM (restore is done in a separate file), but also for some applications which may want to create such a file w/o modifying the time attributes of the parent directory.
A temporary file has the following properties:
- it inherits the striping configuration of the parent directory
- it does not change the time attributes of the parent directory
- no direntry is inserted in the parent directory
- the file is directly linked to PENDING and is thus considered as a open-unlinked file
- if the file needs to be opened multiple times (in addition to the creator), this should be done via open_by_fid.
A temporary file could be created via a regular open/creat call with a special - maybe binary - name to prevent conflict with legacy files. For DNE support, there is a requirement to be able to specify in the filename the MDT index where to create the file.
Assigning the bug to Jodi since i can't assign it to Jacques-Charles.