Whamcloud - gitweb
LU-7992 hsm: close KUC pipe before unregistering 42/19442/2
authorJohn L. Hammond <john.hammond@intel.com>
Thu, 4 Jun 2015 14:48:44 +0000 (09:48 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 21 Apr 2016 02:28:23 +0000 (02:28 +0000)
commit62752bf3b143630560adfdb568606a661fdafafb
tree3865602354800e2cd9e0fa2d41899b64adbe7a58
parent4b51a95b5fdc120005c7fb71857f77ae2ee644dc
LU-7992 hsm: close KUC pipe before unregistering

In llapi_hsm_copytool_unregister() close the read side of the KUC pipe
before unregistering the copytool to avoid deadlocking with a ldlm_cb
thread.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I844086b32a3b2958ecaec391accded0ca06f60a2
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Faccini Bruno <bruno.faccini@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/19442
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Frank Zago <fzago@cray.com>
lustre/utils/liblustreapi_hsm.c