Comment 5 for bug 412069

Revision history for this message
Nikolaus Rath (nikratio) wrote :

@hggdh: I marked it as confirmed because it has been reproduced by other people who reported their findings on the link I provided.

I have written a short test program that just calls statvfs on a mountpoint and a FUSE filesystem that just hangs for 10 seconds when statvfs is called. According to my tests, the statvfs bug has been fixed:

$ ./hang_on_statvfs tmp/ # this fs will hang for 10 seconds on statvfs()
$ ./hello tmp2/ # this one won't
$ $ time ./stattest / # stattest just calls statvfs
Running statvfs('/')

real 0m0.002s
user 0m0.000s
sys 0m0.004s

$ time ./stattest tmp2/hello
Running statvfs('tmp2/hello')

real 0m0.002s
user 0m0.004s
sys 0m0.000s

$ time ./stattest tmp/hello
Running statvfs('tmp/hello')

real 0m10.002s
user 0m0.000s
sys 0m0.004s

I don't feel confident enough to replace my libc with older versions though to test since when this has been fixed.