Hello!
I have been testing xfs for linux a couple of day now and I'm quite
happy with it, I have a couple of questions though. I ran a test program, a
small hack that creates 128000 1K files. After a while it crashed when
it could to create any more files.
loon:/mnt/scr2/pek/files2>time ./inodemauler 131072 1024
inodemauler : Could not create file: Illegal seek
The filesystem looked like this right after I ran the program.
loon:/mnt/scr2/pek/files2>df -i .
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/hdc1 69104 68864 240 100% /mnt/scr2
I then waited a while and then I suddenly had a _lot_ of inodes:
loon# df -i /mnt/scr2/
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/hdc1 75068224 46765 75021459 1% /mnt/scr2
It looks like it has maxed out the number of inodes, 256 bytes/inode *
75000000 =~ 25 % of my 75 Gb filesystem.
So there are two questions:
1. Shouldn't it block the program until it has created more inodes?
2. Why did it create so many inodes? Shouldn't it have taken smaller
steps?
/Nico
|