diff options
author | Chris Mason <chris.mason@oracle.com> | 2009-01-22 09:23:10 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2009-01-22 09:23:10 -0500 |
commit | a717531942f488209dded30f6bc648167bcefa72 (patch) | |
tree | f4e0c852d4462574ade5e965585647e7a253abe3 /fs/cifs/cifsencrypt.c | |
parent | 1506fcc8189cdd4b95e06df7845a09f18b4526a6 (diff) | |
download | op-kernel-dev-a717531942f488209dded30f6bc648167bcefa72.zip op-kernel-dev-a717531942f488209dded30f6bc648167bcefa72.tar.gz |
Btrfs: do less aggressive btree readahead
Just before reading a leaf, btrfs scans the node for blocks that are
close by and reads them too. It tries to build up a large window
of IO looking for blocks that are within a max distance from the top
and bottom of the IO window.
This patch changes things to just look for blocks within 64k of the
target block. It will trigger less IO and make for lower latencies on
the read size.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/cifs/cifsencrypt.c')
0 files changed, 0 insertions, 0 deletions