Re: [PATCH 0/23] File descriptor hot-unplug support v2

Jamie Lokier
2009-06-08T10:25:24Z

Miklos Szeredi wrote:
> On Sat, 6 Jun 2009, Al Viro wrote:
> > Frankly, I very much suspect that force-umount is another case like that;
> > we'll need a *lot* of interesting cooperation from fs for that to work and
> > to be useful. I'd be delighted to be proven incorrect on that one, so
> > if you have anything serious in that direction, please share the details.
>
> Umm, not sure why we'd need cooperation from the fs. Simply wait for
> the operation to exit the filesystem or driver. If it's a blocking
> operation, send a signal to interrupt it.

We could even include the internal signal in TASK_KILLABLE, so it
interrupts otherwise uninterruptible operations.

-- Jamie