[PVFS-developers] error in EOF detection code in pvfs_read?

Rob Ross rross at mcs.anl.gov
Fri Mar 5 08:35:37 EST 2004


That does look suspicious.

Rob

On Fri, 5 Mar 2004, Manoj Pillai wrote:

> Hi,
> 
> I'm seeing some suspicious behaviour during some experiments involving
> pvfs_read to a large file.  It seems pvfs_read does not get the file
> size at the IOD correctly as part of the read request and issues a stat
> every time.  I'm still using pvfs-1.5.8, but the code seems to be
> similar in the latest version.
> 
> I think the problem is the following code in lib/pvfs_read.c:
>     if (j_search(active_p, pfd_p->fd.iod[i].sock) != NULL) {
> 	contacted[i] = 1;
>     }
> Maybe this should be changed to use the getfd_iodtable call?
> 
> Is this a problem, and has it been fixed?
> 
> Many thanks,
> Manoj
> 
> 
> _______________________________________________
> PVFS-developers mailing list
> PVFS-developers at www.beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs-developers
> 
> 



More information about the PVFS-developers mailing list