[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:
Related
is related to LU-4423 Tracking of patches from upstream ker... Resolved
is related to LU-6215 Sync Lustre external tree with lustre... Resolved
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
Subject: LU-9456 lnd: Change sock_create() to sock_create_kern()
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ff8c7285c2a60fb3d1d153d22ae98454c3399d78

Comment by Gerrit Updater [ 12/May/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26958/
Subject: LU-9456 lnd: Change sock_create() to sock_create_kern()
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 60d2981b476bad15069089546296b09a7cbdafff

Comment by Peter Jones [ 12/May/17 ]

Landed for 2.10

Generated at Sat Feb 10 02:26:21 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.