[LU-17039] Cleanup solution for broken Mellanox ib_dma_map_sg() Created: 18/Aug/23 Updated: 01/Sep/23 Resolved: 01/Sep/23 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0 |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Shaun Tancheff | Assignee: | Shaun Tancheff |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Currently the solution to open code the inline function: ib_dma_map_sg() can be simplified by #undef CONFIG_INFINIBAND_VIRT_DMA in the case where a broken ib_dma_map_sg() is discovered. CONFIG_INFINIBAND_VIRT_DMA is a kernel configuration option that in some cases The #undef CONFIG_INFINIBAND_VIRT_DMA should be restricted to broken implementations [MOFED/OPA] and only when building against the external stack. An in-kernel broken ib_dma_map_sg suggests that the kernel is badly misconfigured and not a Lustre specific problem. |
| Comments |
| Comment by Gerrit Updater [ 18/Aug/23 ] |
|
"Shaun Tancheff <shaun.tancheff@hpe.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/51979 |
| Comment by Gerrit Updater [ 31/Aug/23 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/51979/ |
| Comment by Peter Jones [ 01/Sep/23 ] |
|
Landed for 2.16 |