Hi,

I realize that flock and other flavors of advisory locking are not officially supported by PVFS through VFS. However, with my setup of one PVFS client machine, four I/O servers, and one metadata server (different from the client machine), it does appear that multiple applications and/or threads, on the one client machine, calling flock on a pvfs2 file-system file behave correctly.  This can be tested using the (FC5) flock application. As expected, this does not work with multiple client machines.

For my particular task, I could accept all PVFS applications that write data to be confined to one machine while the readers (which would not use locking) are distributed among numbers machines.

Now the question:  Is the behavior I'm observing by design, or is it some coincidence that should not be relied upon.

System info:
   pvfs2-1.5.0
   VFS interface
   Fedora Core 5,  2.6.16-1.2122_FC5smp

Regards,
Lorenzo

_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to