Re: NR_UNSTABLE_FS vs. NR_FILE_DIRTY: double counting pages?

From: Ethan Solomita
Date: Sun Apr 29 2007 - 21:16:22 EST


Ethan Solomita wrote:
Trond Myklebust wrote:

It should not happen. If the page is on the unstable list, then it will
be committed before nfs_updatepage is allowed to redirty it. See the
recent fixes in 2.6.21-rc7.

Above I present a codepath called straight from sys_write() which seems to do what I say. I could be wrong, but can you address the code paths I show above which seem to set both?

Sorry about my quick reply, I'd misunderstood what you were saying. I'll take a look at what you say.

Thanks,
-- Ethan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/