diff options
author | Peter Lieven <pl@kamp.de> | 2012-12-06 10:46:47 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-01-22 15:07:03 +0100 |
commit | 5b5d34ec9882b29b757f6808693308e52a8e8ba7 (patch) | |
tree | 205ceec23470140440d8dee9a7456f31b63b3b97 /qemu-io.c | |
parent | 4cc841b57c1dc91d71bafc25b53ffab4eff7959b (diff) | |
download | qemu-5b5d34ec9882b29b757f6808693308e52a8e8ba7.zip qemu-5b5d34ec9882b29b757f6808693308e52a8e8ba7.tar.gz qemu-5b5d34ec9882b29b757f6808693308e52a8e8ba7.tar.bz2 |
iscsi: add support for iSCSI NOPs [v2]
This patch will send NOP-Out PDUs every 5 seconds to the iSCSI target.
If a consecutive number of NOP-In replies fail a reconnect is initiated.
iSCSI NOPs help to ensure that the connection to the target is still operational.
This should not, but in reality may be the case even if the TCP connection is still
alive if there are bugs in either the target or the initiator implementation.
v2:
- track the NOPs inside libiscsi so libiscsi can reset the counter
in case it initiates a reconnect.
Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qemu-io.c')
0 files changed, 0 insertions, 0 deletions