Whamcloud - gitweb
LU-8900 snapshot: fork/erase configuration 66/24266/16
authorFan Yong <fan.yong@intel.com>
Fri, 4 Nov 2016 10:30:33 +0000 (18:30 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 23 Mar 2017 01:38:48 +0000 (01:38 +0000)
commit61718da8ba068fdc093da464fc1097c6771079eb
tree81bc5630a0edc49bdbff9510fb0fcd49ea04e9ae
parent3afede2b8186912a08acfa8b1881356c7e11c656
LU-8900 snapshot: fork/erase configuration

Introuduce new lctl command to fork/erase the configuration for
the specified system. It is used for mount the snapshot together
with the snapshot's original system MGS. Usage:

lctl fork_lcfg <fsname> <newname>
lctl erase_lcfg <fsname>

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I55d420b54215b09d42b2496b5c1271211c1fb5d7
Reviewed-on: https://review.whamcloud.com/24266
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_ioctl.h
lustre/mgs/mgs_handler.c
lustre/mgs/mgs_internal.h
lustre/mgs/mgs_llog.c
lustre/utils/lctl.c
lustre/utils/obd.c
lustre/utils/obdctl.h