Whamcloud - gitweb
LU-5868 nodemap: Add nodemap_info to lctl 44/13044/5
authorKit Westneat <kit.westneat@gmail.com>
Fri, 12 Dec 2014 06:17:52 +0000 (01:17 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 9 May 2015 02:38:00 +0000 (02:38 +0000)
commitddae357087fee63da36483c8432e178c3cacf903
tree860bf5918d52bddabe33a2dd7d158915486c2341
parentb77a954c48a3f1357255f9273a27db777ed7f91f
LU-5868 nodemap: Add nodemap_info to lctl

This patch adds nodemap_info to lctl, which can list all defined
nodemaps and display information about them, such as idmaps, ranges,
and flags. It is implemented as a wrapper to get_param/list_param,
and adds a -D parameter to list_param to only show directories.

Signed-off-by: Kit Westneat <kit.westneat@gmail.com>
Change-Id: I5d5ac44ec30bad49878be76168954dd231656421
Reviewed-on: http://review.whamcloud.com/13044
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/lctl.c
lustre/utils/lustre_cfg.c
lustre/utils/obdctl.h