• Andrew Morton's avatar
    [PATCH] avoid sys_sync livelocks · 8d04539d
    Andrew Morton authored
    This makes sure that sys_sync() will terminate.  It counts up the
    number of dirty pages in the machine and will refuse to write out more
    than 1.25 times this number of pages.  This function is called twice
    on the sys_sync() path, so the kernel will actually write 2.5x the number
    of initially-dirty pages before giving up.
    8d04539d
fs-writeback.c 14.7 KB