Details
-
Bug
-
Resolution: Fixed
-
Major
-
Lustre 2.10.0
-
3
-
9223372036854775807
Description
Appending to a PFL file will cause all layout components to be instantiated because it isn't possible to know what the ending offset is at the time the write is started.
It would be better to avoid this, potentially by locking/instantiating some large(r), but not gigantic range beyond current EOF, and if that fails retry the layout intent? The client must currently be in charge of locking the file during append, so it should know at write time how much of the file to instantiate, and it could retry.
Attachments
Issue Links
- is duplicated by
-
LU-10665 DoM: append to file causes OST component initialization
-
- Resolved
-
- is related to
-
LU-9479 sanity test 184d 244: don't instantiate PFL component when taking group lock
-
- Open
-
-
LU-10176 Data-on-MDT phase II
-
- Open
-
-
LU-13420 append to PFL-file without 'eof' component fails
-
- Open
-
-
LU-17694 sanity-compr test_184d: last component index number got assigned even if it was not used after layout swap
-
- Open
-
-
LU-15727 lod_get_default_lov_striping() misinterprets composite striping for append
-
- Resolved
-
-
LU-12738 PFL: append of PFL file should not instantiate full layout
-
- Open
-
-
LU-17159 Mark file layouts using append striping
-
- Open
-
- is related to
-
LU-10782 Enable tiny write append for singly striped non-composite file
-
- Open
-
-
LU-8998 Progressive File Layout (PFL)
-
- Resolved
-
Thanks Nathan for the improved commands! I also ran the command using the patched lfs. This time I was able to get a list of such files on the whole filesystem (444M inodes total), however re: the size profile I only have a partial scan at this point.
I ran:
Results: 15.3M of files are like that (~3.5%).
suffix analysis:
We've identified the .csv files are being generated by https://github.com/Sage-Bionetworks/synapser and our researchers are in touch with the developers to avoid the O_APPEND in that case (as it's really not needed). The out/log/err ones are mostly Slurm logs. We plan to have a look at the other file types.
As for the size profile analysis, this is the result on almost 10% of them: