Messages in this thread | | | Date | Thu, 2 Oct 2008 19:40:34 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] Memory management livelock |
| |
On Fri, 3 Oct 2008 12:32:23 +1000 Nick Piggin <nickpiggin@yahoo.com.au> wrote:
> > yup, that's pretty much unfixable, really, unless new locks are added > > which block threads which are writing to unrelated sections of the > > file, and that could hurt some workloads quite a lot, I expect. > > Why is it unfixable? Just ignore nr_to_write, and write out everything > properly, I would have thought.
That can cause fsync to wait arbitrarily long if some other process is writing the file. This happens.
| |