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

From: Mikulas Patocka
Date: Sun Apr 29 2007 - 17:17:48 EST


On Sat, 28 Apr 2007, Lee Revell wrote:

On 4/28/07, Mikulas Patocka <mikulas@xxxxxxxxxxxxxxxxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/