public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* rdma provider module references
@ 2010-12-15 16:15 Steve Wise
       [not found] ` <4D08E989.5020307-10udUCx4aRo@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Wise @ 2010-12-15 16:15 UTC (permalink / raw)
  To: Roland Dreier; +Cc: linux-rdma

Hey Roland,

I notice that if I have a user rdma application running that has an rdma connection using iw_cxgb3, then the iw_cxgb3 
module reference count is bumped and thus it cannot be unloaded.  However when I have an NFSRDMA connection that 
utilizes iw_cxgb3, the module reference count is not bumped, and iw_cxgb3 can erroneously be unloaded while the NFSRDMA 
connection is still active, causing a crash.

My question is more of what is the right thing to do here.

Should the module refcnt be the way to prohibit a provider from being unloaded?

Thoughts?

Thanks,

Steve.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-12-16 15:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-15 16:15 rdma provider module references Steve Wise
     [not found] ` <4D08E989.5020307-10udUCx4aRo@public.gmane.org>
2010-12-15 17:09   ` Roland Dreier
     [not found]     ` <adapqt3gdzb.fsf-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org>
2010-12-15 18:53       ` Steve Wise
2010-12-16 15:34       ` Steve Wise
2010-12-16 15:48       ` Steve Wise

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox