Whamcloud - gitweb
LU-3624 iokit: fix mds-survey for multiple MDT 58/7558/3
authorGregoire Pichon <gregoire.pichon@bull.net>
Thu, 5 Sep 2013 08:29:53 +0000 (10:29 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 25 Oct 2013 01:58:18 +0000 (01:58 +0000)
commitad6f6d4ee44675d59931d81bcd966005db47fe2a
tree261c95f3a998f6dd1017753465f8f3efe15a87eb
parentca5dda3cd340937ded268ed7fcf2bb671e3d13c5
LU-3624 iokit: fix mds-survey for multiple MDT

The mds-survey script has several issues when called with multiple
MDT targets. This patch fixes the issues.

- make echo_client devices attached to different MDTs work in
  different directories
- correctly compute global statistics from each MDT stats
- fix mds-survey output so that number of field displayed is
  constant. This allows parsing the output for future plotting.
- fix lctl test_xxx commands to correctly handle specified
  parent directory

Signed-off-by: Gregoire Pichon <gregoire.pichon@bull.net>
Change-Id: I3ef0b82b59124f2246db535b074be94c7235936a
Reviewed-on: http://review.whamcloud.com/7558
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Tested-by: Hudson
Reviewed-by: Minh Diep <minh.diep@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre-iokit/mds-survey/mds-survey
lustre/utils/obd.c