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

Manoj Pillai pillai at cis.ohio-state.edu
Fri Mar 5 03:57:55 EST 2004


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




More information about the PVFS-developers mailing list