Re: [vm] writing to UDF DVD+RW (/dev/sr0) while under memorypressure: box ==> doorstop

From: Andrew Morton
Date: Sun Jan 06 2008 - 15:30:24 EST


On Sun, 06 Jan 2008 19:01:10 +0100 Mike Galbraith <efault@xxxxxx> wrote:

>
> On Sun, 2008-01-06 at 10:42 +0100, Mike Galbraith wrote:
> > FWIW, here's box having same seizure writing to /dev/pktcdvd/sr0.
>
> Ugh, horrid device IO ==> horrid VM AFIKT. I'll continue rummaging, but
> I wonder, am I doing something _so_ stupid as to warrant zero response?
>

Copying linux-mm might have helped. Bad time of year, too.

>From the traces it looks like all IO has stopped and everyone is waiting
(directly or indirectly) for certain IO completions. Is that really true,
or is IO still dribbling along?

>From the kswapd0 trace it would appear that UDF is doing synchronous writes
(udf_update_inode->sync_dirty_buffer) which perhaps is making things
mightily slow.

--
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/