• Andrew Morton's avatar
    [PATCH] Reduced wakeup rate in direct-io code · a10edc31
    Andrew Morton authored
    We don't need to wake up the synchronous waiter for every BIO
    completion - just for the final BIO.
    
    This reduces the context switch rate of a 180 megabyte/sec read from
    3500/sec to 2200/sec when performing 1400 128k I/Os per second, so it
    more than halves the overhead.
    a10edc31
direct-io.c 26.2 KB