[OpenAFS] Ctime/atime modifications
Neulinger, Nathan
nneul@umr.edu
Fri, 30 May 2003 11:22:23 -0500
The problem is - you need to maintain compatibility with both old/new
fileservers and old/new clients. That's a lot harder than you think.
At best you might be able to have new clients (with the support) attempt
to issue an additional RPC and ignore the failure if it doesn't work.=20
You can't just change the existing rpc unless you make sure it won't
break existing clients/servers/etc.
-- Nathan
------------------------------------------------------------
Nathan Neulinger EMail: nneul@umr.edu
University of Missouri - Rolla Phone: (573) 341-4841
Computing Services Fax: (573) 341-4216
> -----Original Message-----
> From: Dean Anderson [mailto:dean@av8.com]=20
> Sent: Friday, May 30, 2003 10:43 AM
> To: openafs-info@openafs.org
> Subject: [OpenAFS] Ctime/atime modifications
>=20
>=20
>=20
> Rooting around the source some more, I see what seems to be=20
> evidence of a
> prior modification to the FetchStatus RPC, in . What kind of=20
> impact did
> this modification have?
>=20
> 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=20
> not actually
> committing to do this yet) is this something that people=20
> would want to put
> in the mainline?
>=20
> Thanks,
>=20
> --Dean
>=20
>=20
> 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;
> };
>=20
> 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=20
> bits of dvn
> */
> afs_uint32 lockCount;
> afs_uint32 spare3;
> afs_uint32 errorCode;
> };
>=20
>=20
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>=20