mds: misc changes

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>