Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
Lustre 2.4.0
-
3
-
4515
Description
The current Lustre network protocol has support for a 64-bit timestamp of seconds, but does not have a field for passing the nanosecond timestamp from clients to servers and back again.
It would be relatively straight-forward to put 3x __u32 nanosecond timestamps in the reserved fields in struct obdo and struct mdt_body. These fields are currently always initialized to 0, so there wouldn't even need to be a protocol change or feature to begin using these fields for nanoseconds - just copy them in/out of the RPC structures, and old clients/servers will just store 0 there, and ignore any nanosecond timestamps that are sent to them (no differently than they do today).
It is more complex to add the nanosecond timestamps to struct ost_lvb, which is most commonly used for glimpse locks (stat) on OST objects. This will require a structure change to fit the extra 3x __u32 nanosecond timestamps into ost_lvb, which may require a protocol change. It may be possible if this structure is passed in a separate ptlrpc message buffer that the larger size will be ignored by older clients, which would avoid the need for additional complexity for interoperability.
Attachments
Issue Links
- is related to
-
LU-12922 pjdfstest chown_00: POSIX compliance failed on lustre
- Open
-
LU-18069 Incorrect timespec64_to_ns() in sles15sp5 kernel
- Open
-
LU-4050 NFS reexport issue
- Resolved
-
LU-18108 mdt_rec_reint template is not consistent
- Resolved
-
LU-10934 integrate statx() API with Lustre
- Resolved
-
LU-11971 Send file creation time to clients
- Resolved
-
LUDOC-92 Nanosecond Time Stamps Doc Changes
- Resolved
- is related to
-
LU-17963 sometime touch command cannot change mtime
- Resolved
-
LU-9019 Migrate lustre to standard 64 bit time kernel API
- Resolved
- Trackbacks
-
Summer Intern: Plusses and deltas board Isami joined Whamcloud and leaves tomorrow after working the summer on site at TACC. He completed the nanosecond time stamp
-
Summer Intern, Plusses and deltas board Isami joined Whamcloud and leaves tomorrow after working the summer on site at TACC. He completed the nanosecond time stamp
-
Changelog 2.1 Changes from version 2.1.2 to version 2.1.3 Server support for kernels: 2.6.18308.13.1.el5 (RHEL5) 2.6.32279.2.1.el6 (RHEL6) Client support for unpatched kernels: 2.6.18308.13.1.el5 (RHEL5) 2.6.32279.2.1....
-
Project Ideas Information for Developers Working on Lustre will quickly introduce a developer to the always interesting and impressive world of HPC, where the systems are the largest in the world,...