uring/sock: remove the SPDK_UNREACHABLE
For some exceptional cases (e.g., https://github.com/spdk/spdk/issues/1486), we may detect POLLERR or other events. So for those events, we can just ingore it, but not use SPDK_UNREACHABLE. Signed-off-by: Ziye Yang <ziye.yang@intel.com> Change-Id: I073575408783ff75e50b40d45ddf09388a2cab96 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3262 Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
08b9603531
commit
f096f252d0
@ -925,8 +925,6 @@ sock_uring_group_reap(struct spdk_uring_sock_group_impl *group, int max, int max
|
||||
sock->pending_recv = true;
|
||||
TAILQ_INSERT_TAIL(&group->pending_recv, sock, link);
|
||||
}
|
||||
} else {
|
||||
SPDK_UNREACHABLE();
|
||||
}
|
||||
break;
|
||||
case SPDK_SOCK_TASK_WRITE:
|
||||
|
Loading…
Reference in New Issue
Block a user