Re: Linux-2.2.0 bad VM behaviour "dd if=/dev/zero of=/dev/hdc bs=256k"

Andrea Arcangeli (andrea@e-mind.com)
Fri, 5 Feb 1999 02:53:42 +0100 (CET)


On Fri, 5 Feb 1999, Heinz Mauelshagen wrote:

>Stephen, i did a quick test to get a result in refile_buffer():
>
> if (nr_buffers_type[BUF_DIRTY] > too_many)
> wakeup_bdflush(1);
> ^^^
>
>It works great but may be to aggressive.

Cool! ;) So waiting for the I/O completation before allowing the block
device to mark more buffers dirty (as suggested by sct) seems really the
right soluting. Good. I just changed it here, I'll test soon too.

Thanks.

Andrea Arcangeli

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/