--- vpre-2.0.31-6/linux/fs/buffer.c Fri Aug 15 10:22:41 1997 +++ linux/fs/buffer.c Fri Aug 15 11:07:34 1997 @@ -672,6 +672,7 @@ }; } +#if 0 /* * In order to protect our reserved pages, * return now if we got any buffers. @@ -682,6 +683,8 @@ /* and repeat until we find something good */ if (!grow_buffers(GFP_ATOMIC, size)) wakeup_bdflush(1); +#endif + wakeup_bdflush(1); /* decrease needed even if there is no success */ needed -= PAGE_SIZE; @@ -1719,11 +1722,11 @@ continue; } run_task_queue(&tq_disk); - wake_up(&bdflush_done); /* If there are still a lot of dirty buffers around, skip the sleep and flush some more */ if(nr_buffers_type[BUF_DIRTY] <= nr_buffers * bdf_prm.b_un.nfract/100) { + wake_up(&bdflush_done); current->signal = 0; interruptible_sleep_on(&bdflush_wait); }