Re: [PATCH 7/6] Lost bits - fix PG_writeback vs PG_private race in NFS

Trond Myklebust
2006-08-25T20:11:37Z

On Fri, 2006-08-25 at 18:36 +0200, Peter Zijlstra wrote:
> Make sure we clear PG_writeback after we clear PG_private, otherwise
> weird and wonderfull stuff will happen.
>
NACK.

Look carefully at the case of unstable writes: your patch does nothing
to guarantee that PG_writeback is cleared after PG_private for that
case.
Anyhow, you don't explain exactly what is wrong with clearing
PG_writeback before PG_private.

Cheers,
Trond