diff options
| author | 2011-01-28 16:03:15 -0800 | |
|---|---|---|
| committer | 2011-02-12 10:56:53 -0600 | |
| commit | f56635a8695f6b4fccf546cb2d5cf246d1892a0f (patch) | |
| tree | 9ed9c69c322e34e6c0bdbcd3e1d6e1b863d50d9f /tools/perf/scripts/python | |
| parent | [SCSI] block: improve detail in I/O error messages (diff) | |
[SCSI] libfc: always initialize the FCoE DDP exchange id for fsp as FC_XID_UNKNOWN
The fsp's xfer_ddp is used as indication of the exchange id for the DDPed
I/O. We should always initialize it as FC_XID_UNKNOWN for a newly allocated
fsp, otherwise the fsp allocated in fc_fcp, i.e., not from queuecommand like
LUN RESET that is not doing DDP may still think DDP is setup for it since xid
0 is valid and goes on to call fc_fcp_ddp_done() in fc_fcp_resp() from
fc_tm_done(). So, set xfer_ddp as FC_XID_UNKNOWN in fc_fcp_pkt_alloc() now.
Also removes the setting of fsp->lp as it's already done when fsp is allocated.
Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
