diff options
author | Akinobu Mita <akinobu.mita@gmail.com> | 2014-02-26 22:57:02 +0900 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-19 12:21:02 -0700 |
commit | be4e11be99dbb36308760595ee848ef51713b4b0 (patch) | |
tree | 4a04def0b86cd14505e683b5c9c8423b24e0c592 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | c5af0db96b7c219245f4985314e11c7e716e82ae (diff) |
[SCSI] scsi_debug: prepare to enable clustering
Currently, clustering support for scsi_debug is disabled. This is
because there are for_each_sg() loops which assume that each sg list
element is consisted with a single page. But enabling clustering
support, each sg list element for scsi commands can be consisted with
multiple pages.
This replaces these for_each_sg() loops with sg mapping iterator which
is capable of handling each sg list element is consisted with multiple
pages.
Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Reviewed-by: Douglas Gilbert <dgilbert@interlog.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions