Whamcloud - gitweb
LU-3624 iokit: fix mds-survey for multiple MDT
authorGregoire Pichon <gregoire.pichon@bull.net>
Thu, 5 Sep 2013 08:29:53 +0000 (10:29 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 30 Dec 2013 22:30:23 +0000 (17:30 -0500)
commit2f1e0067c8facf2809fe03148a91efe6b2c98f6c
tree0f10d633e0d2471a1e319d95bf442010cde45488
parent87608f19ba2f84f39c232de711b3b9c17b2c85d7
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