Whamcloud - gitweb
LU-8820 hsm: skip LL_IOC_HSM_COPY_START for HSM removes 00/23700/4
authorJohn L. Hammond <john.hammond@intel.com>
Tue, 23 Feb 2016 16:45:21 +0000 (10:45 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 16 Mar 2017 21:38:43 +0000 (21:38 +0000)
commit0cc1756e9fb28609705f5f86b8e2197f57b40513
tree379bed39b164b9feeaca90cc7a3e4888ba359449
parent5e2b17964fd880a9763ba66151aab6091fb4813c
LU-8820 hsm: skip LL_IOC_HSM_COPY_START for HSM removes

In llapi_hsm_action_begin(), if the action is a remove then skip
calling the LL_IOC_HSM_COPY_START ioctl.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: Id84f1877a4f05c91e063797b51bd2046f2283ec4
Reviewed-on: https://review.whamcloud.com/23700
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/utils/liblustreapi_hsm.c