Skip to content

staging: lustre: lnet: resolve time handling issues

NeilBrown lustre-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 8 patches 0 repliesNew

1 of 8 patches is in this archive. The cover letter announces 8.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8staging: lustre: lnet: simplify lnet_eq_wait_locked+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [lustre-devel] [PATCH 0/8] staging: lustre: lnet: resolve time handling issues
Quoted 11 lines · James Simmons

The migration of lustre to 64 bit time handling exposed various bugs which have lead to problems like routers no longer functioning with the upstream client. This is due to the complex handling of time by lustre with seconds time units and jiffies. Add in the fact that jiffies can vary from node to node and you can encounter corner case issues in a large node deployment. The solution to resolve this was to migrate as much as possible to time64_t when all you needed was seconds percision and ktime_t if better percision was required. With these changes it is reduced down to using jiffies only for schedule_timeout calls.

Quoted 9 lines

James Simmons (8):
staging: lustre: lnet: simplify lnet_eq_wait_locked
staging: lustre: o2iblnd: use ktime_get_real_ns for ibn_incarnation
staging: lustre: ksocklnd: use ktime_get_real_ns for ksnn_incarnation
staging: lustre: ksocklnd: move remaining time handling to 64 bits
staging: lustre: lnet: use ktime_get_real_ns for cookie creation
staging: lustre: lnet: move ping and delay injection to time64_t
staging: lustre: ko2iblnd: remove remaining jiffy use
staging: lustre: selftest: fix time reporting

Lots of nice improvements in there - thanks.
I've applied all patches, though I made small changed to the first as described separately.

Thanks,
NeilBrown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20180625/8baaf29f/attachment.sig>