Whamcloud - gitweb
LU-4512 hsm: Fix lhsmtool_posix --report option 34/9034/2
authorMichael MacDonald <michael.macdonald@intel.com>
Mon, 20 Jan 2014 17:08:28 +0000 (12:08 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 10 Feb 2014 15:38:40 +0000 (15:38 +0000)
commit8ddf4e2aa863e3100a3dff916821f2739e9427cd
tree60b6bfa5bd6f7e48b1ca8780651586ba63713ed2
parentefa8fa578d2f7eeeaea11522dd311dddaa715a03
LU-4512 hsm: Fix lhsmtool_posix --report option

The --report option is intended to allow an override of the
default copytool progress reporting interval, but it doesn't
work. This commit implements the intended functionality and
renames the option to "--update-progress", or "-u" for short.

Also fixes the progress display in hsm/active_requests to
reflect the change from percentage complete to bytes moved.

Signed-off-by: Michael MacDonald <michael.macdonald@intel.com>
Change-Id: Id6ead1b33868e3454f00053165944bc3900cabb4
Reviewed-on: http://review.whamcloud.com/9034
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Henri Doreau <henri.doreau@cea.fr>
Reviewed-by: jacques-Charles Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_hsm_cdt_requests.c
lustre/tests/sanity-hsm.sh [changed mode: 0644->0755]
lustre/utils/lhsmtool_posix.c