[OpenAFS] Ctime/atime modifications

Dean Anderson dean@av8.com
Fri, 30 May 2003 11:42:31 -0400 (EDT)


Rooting around the source some more, I see what seems to be evidence of a
prior modification to the FetchStatus RPC, in .  What kind of impact did
this modification have?

If I were to put in the work to add ctime, and space for atime, (and I
don't yet have a handle on how much work it will be--so I'm not actually
committing to do this yet) is this something that people would want to put
in the mainline?

Thanks,

		--Dean


struct AFSOldFetchStatus {
    afs_uint32 InterfaceVersion;
    afs_uint32 FileType;
    afs_uint32 LinkCount;
    afs_uint32 Length;
    afs_uint32 DataVersion;
    afs_uint32 Author;
    afs_uint32 Owner;
    afs_uint32 CallerAccess;
    afs_uint32 AnonymousAccess;
    afs_uint32 UnixModeBits;
    afs_uint32 ParentVnode;
    afs_uint32 ParentUnique;
    afs_uint32 SegSize;
    afs_uint32 ClientModTime;
    afs_uint32 ServerModTime;
    afs_uint32 Group;
};

struct AFSFetchStatus {
    afs_uint32 InterfaceVersion;
    afs_uint32 FileType;
    afs_uint32 LinkCount;
    afs_uint32 Length;
    afs_uint32 DataVersion;
    afs_uint32 Author;
    afs_uint32 Owner;
    afs_uint32 CallerAccess;
    afs_uint32 AnonymousAccess;
    afs_uint32 UnixModeBits;
    afs_uint32 ParentVnode;
    afs_uint32 ParentUnique;
    afs_uint32 SegSize;
    afs_uint32 ClientModTime;
    afs_uint32 ServerModTime;
    afs_uint32 Group;
    afs_uint32 SyncCounter;
    afs_uint32 dataVersionHigh; /* For AFS/DFS translator, hi bits of dvn
*/
    afs_uint32 lockCount;
    afs_uint32 spare3;
    afs_uint32 errorCode;
};