diff options
author | 2014-06-28 11:58:42 +0200 | |
---|---|---|
committer | 2014-07-17 22:11:27 +0200 | |
commit | 3868cf8ea70a57fc3f927872d8296f287ce4b96a (patch) | |
tree | c663a5fa31a457fe4b6597082ae8efbeb381045d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | scsi: move the nr_phys_segments assert into scsi_init_io (diff) | |
download | linux-dev-3868cf8ea70a57fc3f927872d8296f287ce4b96a.tar.xz linux-dev-3868cf8ea70a57fc3f927872d8296f287ce4b96a.zip |
scsi: restructure command initialization for TYPE_FS requests
We should call the device handler prep_fn for all TYPE_FS requests,
not just simple read/write calls that are handled by the disk driver.
Restructure the common I/O code to call the prep_fn handler and zero
out the CDB, and just leave the call to scsi_init_io to the ULDs.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions