Re: [RFC][PATCH] mm: write_cache_pages be more sequential

From: Aaron Straus
Date: Mon Sep 07 2009 - 14:35:49 EST


On Sep 07 04:45 PM, Nick Piggin wrote:
> > I meant that only part of the page was written. e.g.
> > write 10240 bytes, wait for writeback, then write another
> > 10240 bytes. The pages will be written out in the order
> > 0, 1, 2, 3, 4, 2
>
> OK...
>
> I guess it is a reasonable workaround for the problem. It is a bit
> unsatisfying to special case on a page basis like this, but anyway
> I don't think there should be a realistic downside in practice.

*NOTE* we also see this in NFS (I think) where a file is written to
sequentially yet readers will see holes in the file.

This is allowed behavior for NFS but annoying. So a work-around would
be great!

=a=


--
===================
Aaron Straus
aaron@xxxxxxxxxxxxx

Attachment: signature.asc
Description: Digital signature