diff options
author | 2014-02-26 22:57:02 +0900 | |
---|---|---|
committer | 2014-03-19 12:21:02 -0700 | |
commit | be4e11be99dbb36308760595ee848ef51713b4b0 (patch) | |
tree | 4a04def0b86cd14505e683b5c9c8423b24e0c592 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | [SCSI] scsi_debug: fix resp_xdwriteread() return value when running out of memory (diff) | |
download | wireguard-linux-be4e11be99dbb36308760595ee848ef51713b4b0.tar.xz wireguard-linux-be4e11be99dbb36308760595ee848ef51713b4b0.zip |
[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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions