![]() | |||||||||||||
Messages in this thread |
Suparna Bhattacharya <suparna@in.ibm.com> wrote: > > > OK, but the thread which is running fdatawrite/fdatawait isn't interested > > in that page, because it must have been dirtied _after_ this thread has > > passed through filemap_fdatawrite(), yes? > > Not exactly. The page could actually have been dirtied _before_ this > thread passes through filemap_datawrite, but is just being parallely > written back by a background thread. I still don't see it. If the page was dirtied before this thread entered filemap_fdatawrite() then this thread will either start writeout immediately, or will wait on the writeout and start new writeout. And the page lock avoids the timing window which you have mentioned. - 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/ | ||||||||||||
| Last update: 2005-03-22 12:59 [W:8.481 / U:0.120 seconds] ©2003-2008 Jasper Spaans | |||||||||||||