Re: Quota lockups

MOLNAR Ingo (mingo@chiara.csoma.elte.hu)
Tue, 13 Oct 1998 15:45:08 +0200 (CEST)


On Tue, 13 Oct 1998, Alan Cox wrote:

> Not quotaing a quota block allocation would be the logical answer but its
> not trivial and you don't want to propogate tons of "is this a quota block"
> flags around

Why do we lock the quota system within write_dquot()? This non-atomicity
leads to the deadlock in the first place. write()'s can go in parallel
just fine. Or am i misunderstanding the race condition.

-- mingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/