Re: [PATCH V1 for-next 1/2] IB/uverbs: Enable device removal when there are active user space applications

Or Gerlitz
2014-11-20T11:21:13Z

On 11/20/2014 9:52 AM, Yishai Hadas wrote:
>> can we avoid the fatal_event_raised flag?
>
> We need this flag to prevent generating duplicate event. This may
> happen when a fatal error occurred and just later the remove one was
> called when there were active applications.

If your only concern is not generating duplicate fatal error events, I
would strongly recommend to go a drop this flag to make the code
clearer/simpler, object->I_already_did_operation_X flags should be
avoided in correct system programming IMHO.

Or.