Whamcloud - gitweb
LU-4028 quota: fix output of 'lfs quota' 07/8407/4
authorNiu Yawei <yawei.niu@intel.com>
Wed, 27 Nov 2013 03:27:01 +0000 (22:27 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 21 Mar 2014 14:04:01 +0000 (14:04 +0000)
commit69dda0cf5fb34a1a7ff93468ca1c155dd3a53060
treec061d7d3b49a5417b4a95892f1616dced610d9cb
parentcf753f6b4bdc267b5169e97293f69b5362b826de
LU-4028 quota: fix output of 'lfs quota'

Fix the output of 'lfs quota' when '-h' option is specified:
- total allocated block limit should be converted after calculation;
- show 1~3 digit after the decimal point;

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I90a8087dc15153c1b0b895c8081fe2882d6d01e6
Reviewed-on: http://review.whamcloud.com/8407
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/sanity-quota.sh
lustre/utils/lfs.c