Pete Wyckoff wrote:
+static void iser_poll_cq_normal(struct iser_device *dev)
+{
+ int ret;
+
+ ret = iser_poll_cq(dev,8);
+ if (ret < 0)
+ exit(1);
Please eprintf() then exit.
I see now that the iscsi rdma code has many exit() calls, where the
iscsi tcp has none and tgtd.c has one (after the epoll_wait, the rest
are in the init time). Sounds like an issue orthogonal to this patch,
but production wise, I don't think anyone wants their iscsi target
process to disappear just b/c something went wrong...
Or.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html