> Could this be to avoid that some KUC msgs/requests from Server to Client could be lost, or to cause other inconvenient, during some racy cases ??
Correct. I have seen in sanity-hsm runs where the resistration completed and the CDTs sent HSM actions just before the kkuc registration happens. In this case the client drops the actions because there are no CT pipes in the KKUC list. Then the CDT must wait and resent the actions causing a 200+ second delay.
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/29687/
Subject:
LU-9416hsm: add kkuc before sending registration RPCsProject: fs/lustre-release
Branch: b2_10
Current Patch Set:
Commit: 46aee8eba9000e458d231c975716feb275b8eb92