Seagate / propeller

Customized lvmlockd
GNU General Public License v2.0
4 stars 7 forks source link

ilm: failure: Use pipe to execute kill path command #124

Closed Leo-Yan closed 3 years ago

Leo-Yan commented 3 years ago

Use the pipe to execute kill path command, otherwise, it's possible to introduce the stuck issue for the message transferring for socket, this issue is likely caused by the deadlock between the IDM lock manager's daemon and lvmlockctl program, it causes circle for the program interaction:

As the result, it appears stuck for "lvmlockd" which cannot receive the tail of message from socket.

To fix this issue, changes to use pipe to launch the process "lvmlockctl".

Signed-off-by: Leo Yan leo.yan@linaro.org