Whamcloud - gitweb
LU-16974 utils: lfs mirror resync to show progress 50/51750/12
authorAlex Zhuravlev <bzzz@whamcloud.com>
Wed, 2 Aug 2023 11:46:28 +0000 (14:46 +0300)
committerOleg Drokin <green@whamcloud.com>
Sat, 19 Aug 2023 05:38:04 +0000 (05:38 +0000)
commitbe131d125ad128187da970963c543fb9144c947a
treea037eb3e67fcd5f9f3724b8e018778f083ff179f
parentd9cd9992b9e04bfad1ebd755f78d3e96850eaa32
LU-16974 utils: lfs mirror resync to show progress

lfs mirror resync should be able to:
 - show progress like lfs mirror extend --stats does
 - throttle like lfs mirror extend -W does

use 64MB buffer for mirror resync by default.

Change-Id: Ibe60748542ff4a3731aa6a4a9907be82427a0ae9
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/51750
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Timothy Day <timday@amazon.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/doc/lfs-mirror-extend.1
lustre/doc/lfs-mirror-resync.1
lustre/include/lustre/lustreapi.h
lustre/tests/sanity.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi_layout.c