Whamcloud - gitweb
LU-4512 hsm: Fix lhsmtool_posix --report option 34/8934/5
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:40:03 +0000 (15:40 +0000)
commit9059ed44eff9e33afa0da7cc1f0e1311830293e4
tree1528059456532eb3f3f651fee632a05715cbd091
parent7f9774c166115ca3b9af9f42b4c009427d7713c3
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/8934
Tested-by: Jenkins
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: jacques-Charles Lafoucriere <jacques-charles.lafoucriere@cea.fr>
Tested-by: Maloo <hpdd-maloo@intel.com>
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