@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.


** Attachment added: "hang_on_statvfs.c"
   http://launchpadlibrarian.net/30254857/hang_on_statvfs.c

-- 
stat reports wrong fundamental block size
https://bugs.launchpad.net/bugs/412069
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to