Re: [ext3][kernels >= 2.6.20.7 at least] KDE going comatose when FS is under heavy write load (massive starvation)

Mikulas Patocka
2007-04-29T21:17:29Z

On Sat, 28 Apr 2007, Lee Revell wrote:

> On 4/28/07, Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> wrote:
>> I most wonder, why vim fsyncs its swapfile regularly (blocking typing
>> during that) and doesn't fsync the resulting file on :w :-/
>
> Never seen this. Why would fsync block typing unless vim was doing
> disk IO for every keystroke?
>
> Lee

Not for every keystroke, but after some time it calls fsync(). During
execution of that call, keyboard is blocked. It is not normally problem
(fsync executes very fastly), but it starts to be problem in case of
extremely overloaded system.

Mikulas