public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* 2nd question on highmem in lldd
@ 2005-11-13 14:28 Oliver Neukum
  2005-11-13 14:53 ` James Bottomley
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Neukum @ 2005-11-13 14:28 UTC (permalink / raw)
  To: linux-scsi

Hi,

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

	Regards
		Oliver

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2nd question on highmem in lldd
  2005-11-13 14:28 2nd question on highmem in lldd Oliver Neukum
@ 2005-11-13 14:53 ` James Bottomley
  0 siblings, 0 replies; 2+ messages in thread
From: James Bottomley @ 2005-11-13 14:53 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: linux-scsi

On Sun, 2005-11-13 at 15:28 +0100, Oliver Neukum wrote:
> 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-13 14:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-13 14:28 2nd question on highmem in lldd Oliver Neukum
2005-11-13 14:53 ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox