pdu: handle async target requests logout events

Signed-off-by: Peter Lieven <pl@kamp.de>
This commit is contained in:
Peter Lieven
2014-06-17 14:52:27 +02:00
parent 98bbeab664
commit 81921e3762
3 changed files with 34 additions and 1 deletions

View File

@@ -735,6 +735,10 @@ iscsi_service(struct iscsi_context *iscsi, int revents)
return 0;
}
if (iscsi->pending_reconnect) {
iscsi_reconnect(iscsi);
}
if (revents & POLLERR) {
int err = 0;
socklen_t err_size = sizeof(err);