How to pre-allocate files for sequential access?
Eric Sandeen
sandeen at sandeen.net
Thu Apr 5 17:40:22 CDT 2012
On Apr 5, 2012, at 2:57 PM, Matthias Schniedermeyer <ms at citd.de> wrote:
> 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.
>
Inode64 will likely keep them in order without needing tricks like that.
Eric
More information about the xfs
mailing list