diff options
author | 2013-10-07 15:20:07 -0700 | |
---|---|---|
committer | 2013-10-09 01:54:43 -0700 | |
commit | 934a138e970e5af73d6f79469a1eb363572abbaa (patch) | |
tree | be6beb6fd04652684aa4e1c8ce3a6d7cf16ec1c7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iscsi-target; Allow an extra tag_num / 2 number of percpu_ida tags (diff) | |
download | linux-dev-934a138e970e5af73d6f79469a1eb363572abbaa.tar.xz linux-dev-934a138e970e5af73d6f79469a1eb363572abbaa.zip |
target: Make target_do_xcopy failures return INVALID_PARAMETER_LIST
This patch changes target_do_xcopy() to properly return
TCM_INVALID_PARAMETER_LIST instead of TCM_INVALID_CDB_FIELD
for failures related to the EXTENDED_COPY parameter list parsing.
Also, move struct xcopy_op allocation ahead of kmapping to
handle the special TCM_OUT_OF_RESOURCES case.
Reported-by: Thomas Glanzmann <thomas@glanzmann.de>
Reported-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions