Whamcloud - gitweb
LU-3943 utils: fix lfs df -i summary line 14/8614/2
authorAndreas Dilger <andreas.dilger@intel.com>
Wed, 18 Dec 2013 06:59:23 +0000 (23:59 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 22 Feb 2014 08:06:23 +0000 (08:06 +0000)
commitfbab51e0d0d83bf78b4619cab3a0a1495ffa294f
tree0ff9ea15d08506239866afcc1194a41752a7d503
parentc2fdaa739a0ff8e04531a3f153f132d631d1a16f
LU-3943 utils: fix lfs df -i summary line

If the number of free objects on the OSTs is fewer than on the MDT,
use the number of free OST objects in the filesystem summary, so
it matches "df -i" (limited internally by ll_statfs_internal()).

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: Icfaaba3f9c39f12174e6681e9fb68c1f7a2540e5
Reviewed-on: http://review.whamcloud.com/8614
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/lfs.c