Whamcloud - gitweb
LU-17011 utils: monotonic clock in lfs mirror 52/51852/4
authorAlex Zhuravlev <bzzz@whamcloud.com>
Wed, 2 Aug 2023 10:31:57 +0000 (13:31 +0300)
committerOleg Drokin <green@whamcloud.com>
Thu, 31 Aug 2023 06:37:27 +0000 (06:37 +0000)
commitf75ac594a2d11b3abda4f0639b047d0dbc6a2871
treea57c7cb1a5a1cc2c5ffc4794a8cb109796ca4b49
parent77b133766bb5a44313cef19db695ba468eeb5572
LU-17011 utils: monotonic clock in lfs mirror

use monotonic clocks instead of realtime to avoid affecting
bandwidth or hanging the transfer if the clock is changed.

Test-Parameters: trivial
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I58cf327d235448e93fa2ed63cefdf4dd01306e71
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51852
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/utils/lfs.c