diff options
author | George Kennedy <george.kennedy@oracle.com> | 2018-11-09 10:18:12 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-11-27 15:06:14 +0100 |
commit | 56333e69ee1855a8fa74b361742a0a79407846d2 (patch) | |
tree | 2dd9d48eb91f047d34afcb834257c3a331bc8660 /migration | |
parent | a8efa60633575a2ee4dbf807a71cb44d44b0e0f8 (diff) | |
download | qemu-56333e69ee1855a8fa74b361742a0a79407846d2.zip qemu-56333e69ee1855a8fa74b361742a0a79407846d2.tar.gz qemu-56333e69ee1855a8fa74b361742a0a79407846d2.tar.bz2 |
lsi: Reselection needed to remove pending commands from queue
Under heavy IO (e.g. fio) the queue is not checked frequently enough for
pending commands. As a result some pending commands are timed out by the
linux sym53c8xx driver, which sends SCSI Abort messages for the timed out
commands. The SCSI Abort messages result in linux errors, which show up
on the console and in /var/log/messages.
e.g.
sd 0:0:3:0: [sdd] tag#33 ABORT operation started
scsi target0:0:3: control msgout:
80 20 47 d
sd 0:0:3:0: ABORT operation complete.
scsi target0:0:4: message d sent on bad reselection
Now following a WAIT DISCONNECT Script instruction, and if there is no
current command, check for a pending command on the queue and if one
exists call lsi_reselect().
Signed-off-by: George Kennedy <george.kennedy@oracle.com>
Message-Id: <1541776692-12271-1-git-send-email-george.kennedy@oracle.com>
[For safety, add a s->current check in lsi_update_irq - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'migration')
0 files changed, 0 insertions, 0 deletions