Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
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
conflicts with the configuration of the externally provided OFED stack.
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.