diff options
author | 2007-12-18 16:17:41 +1100 | |
---|---|---|
committer | 2007-12-18 17:16:17 +1100 | |
commit | c734c79bc397eace039bea406997efa89f879c14 (patch) | |
tree | 50da16cf18fa773ce5ccb9c6e1b59c13e681a0b7 /arch/powerpc/sysdev/fsl_pci.c | |
parent | Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 (diff) | |
download | linux-rng-c734c79bc397eace039bea406997efa89f879c14.tar.xz linux-rng-c734c79bc397eace039bea406997efa89f879c14.zip |
[XFS] Don't wait for pending I/Os when purging blocks beyond eof.
On last close of a file we purge blocks beyond eof. The same code is used
when we truncate the file size down. In this case we need to wait for any
pending I/Os for dirty pages beyond the new eof. For the last close case
we are not changing the file size and therefore do not need to wait for
any I/Os to complete. This fixes a performance bottleneck where writes
into the page cache and cache flushes can become mutually exclusive.
SGI-PV: 964002
SGI-Modid: xfs-linux-melb:xfs-kern:30220a
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Peter Leckie <pleckie@sgi.com>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_pci.c')
0 files changed, 0 insertions, 0 deletions