[LU-9447] Need explicit check for 2 arg ib_alloc_pd for SLES 12 SP3 Created: 03/May/17  Updated: 24/Oct/17  Resolved: 09/May/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.0
Fix Version/s: Lustre 2.10.0

Type: Improvement Priority: Minor
Reporter: Chris Horn Assignee: WC Triage
Resolution: Fixed Votes: 0
Labels: None

Rank (Obsolete): 9223372036854775807

 Description   

The fix for LU-9026 addresses two API changes with a single autoconf check. The changes are:

commit ed082d36a7b2c27d1cda55fdfb28af18040c4a89
Author: Christoph Hellwig <hch@lst.de>
Date:   Mon Sep 5 12:56:17 2016 +0200

    IB/core: add support to create a unsafe global rkey to ib_create_pd

commit 5ef990f06bd7e3cf521b5705d898d8e43d04ea90
Author: Christoph Hellwig <hch@lst.de>
Date:   Mon Sep 5 12:56:21 2016 +0200

    IB/core: remove ib_get_dma_mr

The current SLES 12 SP3 beta has that first commit, "ed082d36a7", but not the second one. I propose to introduce an explicit check for the ib_alloc_pd() function with two arguments. I have a patch and will push it soon.



 Comments   
Comment by Gerrit Updater [ 03/May/17 ]

Chris Horn (hornc@cray.com) uploaded a new patch: https://review.whamcloud.com/26934
Subject: LU-9447 o2iblnd: Check for 2 arg ib_alloc_pd
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6a9e6dc2544c5538d03c69aa7155b9e1e7fabb19

Comment by Gerrit Updater [ 09/May/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26934/
Subject: LU-9447 o2iblnd: Check for 2 arg ib_alloc_pd
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 8946ce958c123ba05576d792e8af22ea899a43c8

Comment by Peter Jones [ 09/May/17 ]

Landed for 2.10

Comment by Nathaniel Clark [ 24/Oct/17 ]

This change is important because it affects el7.4 kernels 3.10.0-693

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