pdu: handle async target requests logout events
Signed-off-by: Peter Lieven <pl@kamp.de>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user