From 97ee60874816b335c917d321fd981c8b92cd809c Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 26 Jun 2011 14:32:00 +0000 Subject: [PATCH] ib_srpt: Embed HCA name in srpt thread name git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3631 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/src/ib_srpt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srpt/src/ib_srpt.c b/srpt/src/ib_srpt.c index 93c40186e..fcd533cdb 100644 --- a/srpt/src/ib_srpt.c +++ b/srpt/src/ib_srpt.c @@ -2399,7 +2399,8 @@ static int srpt_cm_req_recv(struct ib_cm_id *cm_id, goto free_ring; } - ch->thread = kthread_run(srpt_compl_thread, ch, "ib_srpt_compl"); + ch->thread = kthread_run(srpt_compl_thread, ch, "srpt_%s", + ch->sport->sdev->device->name); if (IS_ERR(ch->thread)) { PRINT_ERROR("failed to create kernel thread %ld", PTR_ERR(ch->thread));