Re: [partial fix?] Re: Badblocks and no free pages...

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 5 May 1997 20:05:26 +0100 (BST)


> wakeup_bdflush(1);
>
> should say to the writing process "hold on a bit before you supply me
> a new wave of buffers, as the write pipeline is already full enough
> for efficient operation, and I'm already servicing it as fast as I can".

One obvious solution for 2.1.x is to keep a per device highwater mark. This
will also mean we can deal nicely with the "wrote 1.4Mb to fd0 and it'll
be filling the disk cache for a while now.."