How to pre-allocate files for sequential access?

Matthias Schniedermeyer ms at citd.de
Thu Apr 5 16:57:55 CDT 2012


On 04.04.2012 16:57, troby wrote:

...

I think the easiest solution would be to create the said number of 
files, but with dummy-filenames.

Then write a script das does a xfs_bmap on each file, sorts them and 
then renames the dummy-files to the correct-name in the order they are 
on disc.





Bis denn

-- 
Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.



More information about the xfs mailing list