Re: [PATCH rdma-next v2 1/2] RDMA/core: Implement IB device rename function

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

 



On Wed, Oct 03, 2018 at 04:58:13PM -0400, Doug Ledford wrote:
[...]
> 
> I don't think this is the only problem the net stack has in regards to
> device name changes.  It's supported, but because it's expected to be a
> "do it once, early on, then never do it again" thing, they don't worry
> too much about the lingering bugs in the name change operations.  We
> used to have a multiyear bug in IPoIB (maybe still do?) where if you

Does the below commit (in mainline & stable) solve the issue you
describe?

771a52584096 IB/IPoIB: ibX: failed to create mcg debug file

> change the name of an IPoIB device, and you are using debugfs, the
> debugfs device name didn't get changed and when you registered your next
> IPoIB device you would get warnings about "Unable to create debugfs file
> for dev ib0".  I don't think we are going to solve those races today, so
> if this code works, I see no reason to block it.  We just need to know
> that if the net folks ever get serious about solving those races, we'll
> need to do the same.
> 
> -- 
> Doug Ledford <dledford@xxxxxxxxxx>
>     GPG KeyID: B826A3330E572FDD
>     Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux