]> git.neil.brown.name Git - history.git/commit
[PATCH] Reduced wakeup rate in direct-io code
authorAndrew Morton <akpm@digeo.com>
Wed, 8 Jan 2003 01:48:48 +0000 (17:48 -0800)
committerTrond Myklebust <trond.myklebust@fys.uio.no>
Wed, 8 Jan 2003 01:48:48 +0000 (17:48 -0800)
commita10edc31e123796d8aa7e2257693bef41ecc06e3
treeddbca69e30b8c96e3462d33cc8ccbc8d17d63198
parentc22c838938176ad2d6b8b87d3c37508a6d9b9346
[PATCH] Reduced wakeup rate in direct-io code

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.
fs/direct-io.c