[lustre-devel] [PATCH 0/8] staging: lustre: lnet: resolve time handling issues

NeilBrown neilb at suse.com
Sun Jun 24 18:54:38 PDT 2018


On Sun, Jun 24 2018, James Simmons wrote:

> 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.
>
> 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>


More information about the lustre-devel mailing list