<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2912" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=448572611-12072006><FONT face=Arial size=2>Hi
All,</FONT></SPAN></DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial size=2>I take part in the
development of SRP (Scsi RDMA Protocol). and I'm trying to work with dm
to support failover.</FONT></SPAN></DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial size=2>I downloaded
multipath 0.4.7 and I'm working with linux-2.6.18-rc1 kernel over RHAS4.OU3
distribution.</FONT></SPAN></DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial size=2>I have
connected to the SRP target (That has a lot of disks), and they can be
accessed through /dev/sdb /dev/sdc and so on. </FONT></SPAN><SPAN
class=448572611-12072006><FONT face=Arial size=2>I run multipath and got the
mapping as it should be.</FONT></SPAN></DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial size=2>The problem is
that the reference count of ib_srp module is equal to the
number of disks that were mapped using multipath. Because of that I can not
remove the ib_srp module.</FONT></SPAN></DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial size=2>This does not occur
without multipath.</FONT></SPAN></DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial size=2>There is also
reference count of 1 on dm_round_robin.</FONT></SPAN></DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial size=2>I tried to look at
"ps aux" and "lsof" but found no process or file that should hold reference to
ib_srp. I tried to google it without any success.</FONT></SPAN></DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial size=2>Can someone answer
any of the following questions:</FONT></SPAN></DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial size=2>1) Why does every
disk that is mapped through multipath hold a reference to the ib_srp
module? Is this the correct behavior, or is it a bug?</FONT></SPAN></DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial size=2>2) Can I remove a
mapping from the multipath ?</FONT></SPAN></DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial size=2>3) Any ideas how I
can debug this.</FONT></SPAN></DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial size=2>I will appreciate
any help.</FONT></SPAN></DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=448572611-12072006><FONT face=Arial
size=2>Ishai</FONT></SPAN></DIV></BODY></HTML>