diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2010-05-26 17:44:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 12:12:53 -0400 |
commit | 7cdcc8e4762f0e4a94cead6a3b57b5eaa01bd5da (patch) | |
tree | fb15134a3e3327f667f07d4dcc6bafe163fb2082 /Documentation/DMA-API-HOWTO.txt | |
parent | 99d1bd2c131b2da10cf451c69e5b8c51761a901b (diff) |
Documentation: add SCSI drivers' mapping error handling to DMA-API-HOWTO
Add the concrete DMA mapping error handling for SCSI drivers on the
queuecommand path.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: James Bottomley <James.Bottomley@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/DMA-API-HOWTO.txt')
-rw-r--r-- | Documentation/DMA-API-HOWTO.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/DMA-API-HOWTO.txt b/Documentation/DMA-API-HOWTO.txt index 93d90870791c..a38ddadd208e 100644 --- a/Documentation/DMA-API-HOWTO.txt +++ b/Documentation/DMA-API-HOWTO.txt | |||
@@ -745,6 +745,10 @@ and return NETDEV_TX_OK if the DMA mapping fails on the transmit hook | |||
745 | (ndo_start_xmit). This means that the socket buffer is just dropped in | 745 | (ndo_start_xmit). This means that the socket buffer is just dropped in |
746 | the failure case. | 746 | the failure case. |
747 | 747 | ||
748 | SCSI drivers must return SCSI_MLQUEUE_HOST_BUSY if the DMA mapping | ||
749 | fails in the queuecommand hook. This means that the SCSI subsystem | ||
750 | passes the command to the driver again later. | ||
751 | |||
748 | Closing | 752 | Closing |
749 | 753 | ||
750 | This document, and the API itself, would not be in its current | 754 | This document, and the API itself, would not be in its current |