[PATCH v4] staging: lustre: separate a connection destroy from free struct kib_conn

2018-01-25 Thread Dmitry Eremin
;kiblnd_data.kib_reconn_wait); To avoid confusion this fix moved the freeing a struct kib_conn outside of the function kiblnd_destroy_conn() and free as it was intended in original commit. Cc: # v4.6 Fixes: 4d99b2581eff ("staging: lustre: avoid intensive reconnecting for ko2iblnd")

[PATCH v3] staging: lustre: separate a connection destroy from free struct kib_conn

2018-01-24 Thread Dmitry Eremin
f function kiblnd_destroy_conn(struct kib_conn *conn, bool free_conn). If it true the structure should be freed. Fixes: 4d99b2581eff ("staging: lustre: avoid intensive reconnecting for ko2iblnd") Signed-off-by: Dmitry Eremin --- drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c

[PATCH v2] staging: lustre: Fix avoid intensive reconnecting for ko2iblnd patch

2018-01-24 Thread Dmitry Eremin
From: Dmitry Eremin The logic of the original commit 4d99b2581eff ("staging: lustre: avoid intensive reconnecting for ko2iblnd") was assumed conditional free of struct kib_conn if the second argument free_conn in function kiblnd_destroy_conn(struct kib_conn *conn, bool free_conn) is