Re: suspend.c: This is broken, fixme

Pavel Machek (pavel@suse.cz)
Mon, 3 Jun 2002 14:13:52 +0200


Hi!

> > I'm alone at the system at that point. All user tasks are stopped and
> > I'm only thread running. There's noone that could submit requests at
> > that point.
>
> Ok, then at least the very last point I made can be disregarded.
> However... ->
>
> > In such case, killing #error is right solution, right?
>
> Not at all. The tq_disk/blk_run_queues() semantics are the same, they
> will only start i/o (which may not even be right when you run it) and
> that is it. When all i/o is completed is not known.

Is there some way to wait for all I/O to compelte? How do we do that
on system shutdown?
Pavel

-- 
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/