On Apr 17 11:12, Michal Simek wrote:
> > don't you know what is the description of f_bavail in struct statvfs?
> > On my system I am getting zero for this entry that's why fsync02 failed.
> >   
> I track down where the problem comes from.
> There is problem for all fs which use simple_statfs function from
> fs/libfs.c.
> In open.c in vfs_statfs function is whole structure set to zero and then
> in simple_statfs not set this value.
> I think we should fix it in ltp code.
> Here is my proposed change. If is ok - I will generate proper patch.

If the problem is in the kernel, then it should be fixed in the kernel.
That's the whole point of LTP, pointing out problems in the kernel which
need to be fixed.  Patching LTP to work around f_bavail not being set
correctly is not the right thing to do.

Nate

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to