> Hi All, > Attached patch fixes the atime, mtime and ctime problems that people had > reported with PVFS2. > Patch changes the notion of who sets these times. Earlier behavior was the > clients providing the times to the server. New behavior is to have the > server set these times except in the implementation of utimes() system > call whereby clients explicitly set the time (atime and mtime). > NOTE: We dont allow the clients to dictate the ctime setting at all since > that is consistent with all file systems. > So what we have is: > read, readdir -> atime update required > write, truncate -> mtime update required > ctime is updated on every setattr implicitly on the server. > > Patch also implements these times lazily by flushing them only at the time > of a close rather than after every read/write which could be pretty > expensive. > I have done some fairly simple tests and it seems to pass those. > Comments welcome. > Thanks, > Murali
mtime2.patch.gz
Description: Binary data
_______________________________________________ Pvfs2-developers mailing list [email protected] http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
