[PVFS-users] Pthread on PVFS

Murali Vilayannur vilayann at mcs.anl.gov
Mon Dec 26 13:19:35 EST 2005


Hi,
Is there any reason why you need to use PVFS v1 instead of PVFS2?
In case you need to use multiple threads with the PVFS v1 api,
I guess the simplest solution would be wrap mutex locks around the pvfs
wrapper apis which are not MT safe.
Thanks,
Murali

> Hi,
>
> I'm trying to do a multi-thread(pthread) test on PVFS using PVFS API. It
> seems it can't work if the main() has two (or more) threads and each
> thread has one pvfs_read().
> "do-job: IOD_MAJIK_NR does not match
>  do-jobs: do_job failed: Invalid argument"
>
> I've read some PVFS documents. It's said pvfsd directly transfer data
> with iod after contacting with mgr. Is it the reason that compute node
> has two pvfs_read accesses to PVFS and those iods don't know which
> access is the destination?
>
> Any hints to solve this?
>
> Thanks
>
> Liu Ming
>
> _______________________________________________
> PVFS-users mailing list
> PVFS-users at www.beowulf-underground.org
> http://www.beowulf-underground.org/mailman/listinfo/pvfs-users
>
>


More information about the PVFS-users mailing list