[PVFS-developers] Fix to fast-stats patch

Rob Ross rross@mcs.anl.gov
Fri, 10 Oct 2003 15:39:27 -0500 (CDT)


Thanks Don; the plan is for us to get back to integrating patches on 
Monday, so this is well-timed.

Regards,

Rob

On Fri, 10 Oct 2003, Porter Don wrote:

> 
> I noticed today that in the fast-stats patch I submitted a few weeks ago
> that there is a case I missed.  If there are pre-existing files with size
> stored as 0, (ie the fast-stats patch has not been used before) and they are
> never opened for reading/writing, the size will never get stored and all
> stats will poll all of the iods even if the file is closed.  
> 
> So, basically, the enclosed patch now writes the metadata (including size)
> if the size is zero and the file is not open.
> 
> Thanks,
> Don Porter
> 
>