diff options
author | Hisashi Hifumi <hifumi.hisashi@oss.ntt.co.jp> | 2009-03-05 08:22:21 (GMT) |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2009-04-03 18:39:26 (GMT) |
commit | 1fca3a05ef2823830925dfb66711d6d920265a8d (patch) | |
tree | 95717db99015caf84c8c90ab94af093b3d75d731 /fs/jfs/jfs_uniupr.c | |
parent | 6ca497a83e592d64e050c4d04b6dedb8c915f39a (diff) | |
download | linux-fsl-qoriq-1fca3a05ef2823830925dfb66711d6d920265a8d.tar.xz |
ocfs2: Pagecache usage optimization on ocfs2
A page can have multiple buffers and even if a page is not uptodate, some buffers
can be uptodate on pagesize != blocksize environment.
This aops checks that all buffers which correspond to a part of a file
that we want to read are uptodate. If so, we do not have to issue actual
read IO to HDD even if a page is not uptodate because the portion we
want to read are uptodate.
"block_is_partially_uptodate" function is already used by ext2/3/4.
With the following patch random read/write mixed workloads or random read after
random write workloads can be optimized and we can get performance improvement.
Signed-off-by: Hisashi Hifumi <hifumi.hisashi@oss.ntt.co.jp>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/jfs/jfs_uniupr.c')
0 files changed, 0 insertions, 0 deletions