dm-multipath: del/add map problem

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

 



When you delete a multipath map, orphaning the path clears out some members
of the path structure.  Adding that map again doesn't bring them back.
Specifically, you loose your checker file descriptor.

The attached patch restores most of the members. It doesn't reset getuid.
I don't see why that gets cleared in the first place?  Actually, I don't
see why most of these get cleared, but I didn't look too hard, so I might
just be missing the reason.

Note: I cannot get multipathd add the map if it doesn't already exist in
device mapper, which I assume that I'm supposed to be able to do. To see
this bug, I need to re-add the map with multipath before re-adding it in
multipathd. I'll look into that right after I clean up my next patch.

-Ben

--

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