Comment 4 for bug 1277316

Revision history for this message
Keiichi KII (k-keiichi) wrote : Re: Diconnecting a volume with multipath generates excesive multipath calls

I confirmed the same issue occurred in the latest code
and found that detaching a volume takes too much time
when many volumes(multipath devices) are attached.

In my environment(lvm+iscsi backend for testing) with 100 volumes
attached, detaching a volume takes more than 8 hours to be finished.
Because a multipath -ll call against many multipath devices takes
a few seconds and massive multipath calls are generated as Sam said
in comment #2.

I have a solution to fix this issue. Please review my patch.