Skip to contentSkip to conversation

2nd question on highmem in lldd

DISCUSSION Oliver Neukum 2 participants 2 messages Nov 13, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

Hi,

how are failures of dma_map_sg supposed to be reported to higher layers?

Regards
Oliver

#1 lore raw
Quoted 1 line · Oliver Neukum

how are failures of dma_map_sg supposed to be reported to higher layers?

return DID_REQUEUE in the host byte of the command result is probably closest to the behaviour you want: it will requeue until another command returns for the host which (presumably) frees up some IOMMU resources.

James