diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2010-04-30 12:09:33 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-05-02 15:42:29 -0400 |
commit | 683229845f1780b10041ee7a1043fc8f10061455 (patch) | |
tree | 88f58f214666762a71d1458a72646dd65372a1a6 /drivers/s390/scsi/zfcp_qdio.h | |
parent | 883c98feaab708d0fc976225b146aa9307023c85 (diff) |
[SCSI] zfcp: Report scatter-gather limits to SCSI and block layer
Instead of dealing with large segments in the scatter-gather lists in
zfcp_qdio.c, report the limits to the upper layers. With these limits
in place, the code for mapping large data blocks to multiple sbales
can be removed.
Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/s390/scsi/zfcp_qdio.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_qdio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/scsi/zfcp_qdio.h b/drivers/s390/scsi/zfcp_qdio.h index 8cca54631e1e..f2b5a363bb84 100644 --- a/drivers/s390/scsi/zfcp_qdio.h +++ b/drivers/s390/scsi/zfcp_qdio.h | |||
@@ -11,6 +11,8 @@ | |||
11 | 11 | ||
12 | #include <asm/qdio.h> | 12 | #include <asm/qdio.h> |
13 | 13 | ||
14 | #define ZFCP_QDIO_SBALE_LEN PAGE_SIZE | ||
15 | |||
14 | /** | 16 | /** |
15 | * struct zfcp_qdio_queue - qdio queue buffer, zfcp index and free count | 17 | * struct zfcp_qdio_queue - qdio queue buffer, zfcp index and free count |
16 | * @sbal: qdio buffers | 18 | * @sbal: qdio buffers |