Some questions about multipath and probably a deadlock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I take part in the development of SRP (Scsi Rdma Protocol) for InfiniBand.

I'm trying to use multipath to implement High Availability for SRP.

I have some problems which I think are general for multipath and not SRP
dependent and I will applicate any help you can give me.

I'm running on SLES10 on x86_64 with multipath-tools v0.4.7.
I'm connecting to a target that has about 100 LUNs. Both initiator ports
are connected to both target ports using a switch, so there are total of 4
paths between the initiator and the target.

  1. I added the following rule to udev:
     ACTION=="add", KERNEL=="sd*[!0-9]", RUN+="/sbin/multipath %M:%m"
     Therefore udev executes an instance of multipath for each new
device. So when the initiator boots and connects to the target there
are 400 multipath instances (4 paths * 100 LUNs). Each of this
instances examines all existing devices. It takes a long time
(several minutes) for this process to settle down. Is there a way to
avoid this quadratic complexity?

  2. I'm using this rule in SLES10. RHEL4 distribution uses udev 039 that
does not support the RUN option. I want to use multipath without
installing higher version of udev. Is it possible? Is there a hack to
do it?

  3. While testing my solution I get what seems to be a deadlock between
multipath instances. It happens when there simultaneously
disconnections and connections (i.e., one path fails, and another path
connects). It seems that the multipath that is being executes for the
new LUNs, try to access the LUNs from the failed path and get stuck.
you can find the output of "echo t > /proc/sysrq-trigger" in
http://www.4shared.com/file/4723366/17a86be8/logmult2.html
(This is a sharing site - please press the download at the bottom).
I do not think that this problem is SRP dependent, because none of the
process is executing SRP code.

Thanks a lot for your time and help.
Ishai


--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux