[stgt] [PATCH 1/1] nonblocking epoll_wait loop, sched events, ISER/IB polling

Or Gerlitz ogerlitz at voltaire.com
Sun Sep 21 09:06:15 CEST 2008


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 at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list