[Ocfs2-users] Version of ocfs2 in vanilla? (Follow up)

Dirk Bliesener Dirk.Bliesener at freenet-ag.de
Wed Sep 10 05:13:13 PDT 2008


Hi,

Concerning
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commi
tdiff;h=4d0ddb2ce25db2254d468233d942276ecf40bff8

"Inode allocation is modified to look in other nodes allocators during
extreme out of space situations. We retry our own slot when space is
freed
back to the global bitmap, or whenever we've allocated more than 1024
inodes
from another slot."

Why is this limited to 1024 inodes?

After upgrading the Kernel to 2.6.26. the result is, that the "no space
left on device" inode Problem still exists, if a new file is larger than
about 1MB blocks.

So writing 1000 files each about 972 blocks large or smaller works fine
now, but not trying to write one file 973 blocks large, which still
results in "no space left on device" 

$ for (( a=0 ; a < 1000 ; a++ )) ; do dd if=/dev/zero of=$a bs=1024
count=972 || break; done; echo "$a files created"
972+0 records in
972+0 records out
995328 bytes (995 kB) copied, 0.010832 seconds, 91.9 MB/s
972+0 records in
972+0 records out
995328 bytes (995 kB) copied, 0.0108682 seconds, 91.6 MB/s
...
... And so on
...
1000 files created

$ for (( a=0 ; a < 1000 ; a++ )) ; do dd if=/dev/zero of=$a bs=1024
count=973 || break; done; echo "$a files created"
dd: writing `0': No space left on device
973+0 records in
972+0 records out
995328 bytes (995 kB) copied, 0.263264 seconds, 3.8 MB/s
0 files created

What's the reason?

Tanks + Best regards 
Dirk


Sunil Mushran wrote:

>That fix went into 2.6.26.
>
>http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=comm
itdiff;h=ffda89a3bf3b968bdc268584c6bc1da5c173cf12
>http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=comm
itdiff;h=a4a4891164d4f6f383cc17e7c90828a7ca6a1146
>http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=comm
itdiff;h=4d0ddb2ce25db2254d468233d942276ecf40bff8


Alex wrote:
> Hi,
>
> which version of ocfs2 is in the current sources of the vanilla
kernel.
> The only version string i found was OCFS2_BUILD_VERSION "1.5.0" in
ver.c
>
> I am affected by "no space left on device" inode Problem.posted to
> ocfs2-users by Feite Brekeveld at Feb 27 and whant to be shure that
the
> problem isn`t present in current vanilla kernel.
>
> I am using 2.6.25. OCFS2 statically build into kernel..
>
> Thanks
> Alex
>
> _______________________________________________





More information about the Ocfs2-users mailing list