On Thu, 17 Feb 2011 14:47:17 +0200 Or Gerlitz <ogerlitz@xxxxxxxxxxxx> wrote: > If the child process spawned to run the redirect callback script hangs, e.g > as of load/bug in the application which this script is dealing with, tgt > can hang forever. Protect against that by selecting the fd from which tgt > is expected to read, for up to 100ms, if the timeout expires, tgt terminates > the child process and fail the initiator login attempt. The description looks fine but it would be better to put the fd to epoll (that is, using tgt_event_add)? Thanks, -- 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