Re: fsync occasionally very slow

From: Andrew Morton
Date: Fri Jan 26 2007 - 06:17:25 EST


On Fri, 26 Jan 2007 05:37:38 -0500
"Matthew Kirk" <mkirk01@xxxxxxx> wrote:

> I am working on an application that fsync(2) files and directories as
> needed. Iâm seeing intermittent stalls on fsync that can last many
> seconds.

Please generate an all-task backtrace during the stall via:

dmesg -n 8
<wait for a stall>
echo t > /prov/sysrq-trigger
dmesg -s 1000000 > foo

and send foo.
-
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/