Whamcloud - gitweb
LU-1203 mdt: recognize old rootsquash and nosquash_nid params
authorYu Jian <yujian@whamcloud.com>
Tue, 8 May 2012 10:12:14 +0000 (18:12 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 29 Jun 2012 02:48:41 +0000 (22:48 -0400)
commitc47d656b7c42115fd83347c7594532c72b9a8326
tree58b262a8986024bbf0ebafe00dd4e1d383542728
parent99aec0dc17de5f980588c08d8befd0f3119db0ea
LU-1203 mdt: recognize old rootsquash and nosquash_nid params

Change mdt_process_config() to make it capable of recognizing
old "mdt.rootsquash" and "mdt.nosquash_nid" parameters.

The new parameters are "mdt.root_squash" and "mdt.nosquash_nids".

Signed-off-by: Yu Jian <yujian@whamcloud.com>
Change-Id: I9fc71e2a997a3b0835a3adad2ccfde6d2c64ca56
Reviewed-on: http://review.whamcloud.com/2680
Reviewed-by: Liang Zhen <liang@whamcloud.com>
Reviewed-by: Niu Yawei <niu@whamcloud.com>
Tested-by: Hudson
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_cfg.h
lustre/include/obd_class.h
lustre/mdt/mdt_handler.c
lustre/obdclass/obd_config.c