Re: [PATCH] Improve buffered streaming write ordering

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Thursday, October 2, 2008 - 7:43 pm

On Friday 03 October 2008 11:11, Chris Mason wrote:
<chris.mason@oracle.com> wrote:

BTW. redirty_page_for_writepage and the whole model of cleaning the page's
dirty bit *before* calling into the filesystem is really nasty IMO. For
one thing it opens races that mean a filesystem can't keep metadata about
the pagecache properly in synch with the page's dirty bit.

I have a patch in my fsblock series that fixes this and has the writepage()
function itself clear the page's dirty bit. This basically makes
redirty_page_for_writepages go away completely (at least the uses I looked
at, I didn't look at ext4 though).

Shall I break it out and submit it?
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Improve buffered streaming write ordering, Chris Mason, (Wed Oct 1, 11:40 am)
Re: [PATCH] Improve buffered streaming write ordering, Andrew Morton, (Wed Oct 1, 9:52 pm)
Re: [PATCH] Improve buffered streaming write ordering, Aneesh Kumar K.V, (Thu Oct 2, 11:08 am)
Re: [PATCH] Improve buffered streaming write ordering, Aneesh Kumar K.V, (Thu Oct 2, 11:18 am)
Re: [PATCH] Improve buffered streaming write ordering, Andrew Morton, (Thu Oct 2, 12:44 pm)
Re: [PATCH] Improve buffered streaming write ordering, Dave Chinner, (Thu Oct 2, 4:43 pm)
Re: [PATCH] Improve buffered streaming write ordering, Nick Piggin, (Thu Oct 2, 7:43 pm)
Re: [PATCH] Improve buffered streaming write ordering, Chris Mason, (Fri Oct 3, 12:45 pm)
Re: [PATCH] Improve buffered streaming write ordering, Aneesh Kumar K.V, (Mon Oct 6, 3:16 am)
Re: [PATCH] Improve buffered streaming write ordering, Aneesh Kumar K.V, (Tue Oct 7, 1:45 am)
Re: [PATCH] Improve buffered streaming write ordering, Christoph Hellwig, (Tue Oct 7, 2:05 am)
Re: [PATCH] Improve buffered streaming write ordering, Aneesh Kumar K.V, (Tue Oct 7, 3:02 am)
Re: [PATCH] Improve buffered streaming write ordering, Theodore Tso, (Tue Oct 7, 6:29 am)
Re: [PATCH] Improve buffered streaming write ordering, Christoph Hellwig, (Tue Oct 7, 6:36 am)
Re: [PATCH] Improve buffered streaming write ordering, Peter Staubach, (Tue Oct 7, 6:55 am)
Re: [PATCH] Improve buffered streaming write ordering, Dave Chinner, (Thu Oct 9, 10:13 pm)