[Lustre-devel] File offsets with multiple clients

office at hailoo.com office at hailoo.com
Fri Sep 25 12:49:03 PDT 2009


When a client obtains a file descriptor to a file on a Lustre file system, 
is the file offset pointer shared among any connected clients, or is it 
only meaningful to a single client? 

For example, given the file "foo.txt" on a Lustre file system, suppose 
there are 2 clients with an open file descriptor to "foo.txt".  If Client1 
calls lseek and then write, will this affect the file offset position of 
Client2?  Or is the application responsible for synchronizing file access 
in this case?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20090925/aeffb53c/attachment.htm>


More information about the lustre-devel mailing list