[LU-9456] Change socklnd calls from sock_create() to sock_create_kern() Created: 04/May/17 Updated: 12/May/17 Resolved: 12/May/17 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.10.0, Upstream |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Doug Oucharek (Inactive) | Assignee: | Doug Oucharek (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
Andreas noticed this comment in patches landing to upstream 4.12: commit cdfbabfb2f0ce983fdaa42f20e5f7842178fc01e Subject: net: Work around lockdep limitation in sockets that use sockets I noticed that lustre and ocfs don't create sockets through sock_create_kern() and thus they aren't marked as for-kernel, though they appear to be internal. I wonder if these should do that so that they use the new set of lock keys. This ticket is for just updating the socklnd calls from sock_create() to sock_create_kern(). |
| Comments |
| Comment by James A Simmons [ 04/May/17 ] |
|
I noticed this as well before while I was porting Al Viro's bio_iter patch to LNet. Perhaps we can include it in that work. |
| Comment by Gerrit Updater [ 04/May/17 ] |
|
Doug Oucharek (doug.s.oucharek@intel.com) uploaded a new patch: https://review.whamcloud.com/26958 |
| Comment by Gerrit Updater [ 12/May/17 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26958/ |
| Comment by Peter Jones [ 12/May/17 ] |
|
Landed for 2.10 |