Re: [RFC][PATCH 0/9] File descriptor hot-unplug support

Tejun Heo
2009-04-14T07:44:59Z

Eric W. Biederman wrote:
> Do you know of a case where we actually have multiple tasks accessing
> a file simultaneously?

I don't have anything at hand but multithread/process server accepting
on the same socket comes to mind. I don't think it would be a very
rare thing. If you confine the scope to character devices or sysfs,
it could be quite rare tho.

> I just instrumented up my patch an so far the only case I have found
> are multiple processes closing the same file. Some weird part of
> bash forking extra processes.

Hmmm...

Thanks.

--
tejun