]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
Btrfs: Improve metadata read latencies
authorChris Mason <chris.mason@oracle.com>
Thu, 13 Nov 2008 14:59:36 +0000 (09:59 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 13 Nov 2008 14:59:36 +0000 (09:59 -0500)
commit6f3577bdc768e6dae3c4d419e89b5a904f470728
tree69d0df75fe55f7c4e9b2f1a1651478e37a3d2920
parent5b050f04c8ce911c5b6831305a24d70eab95e732
Btrfs: Improve metadata read latencies

This fixes latency problems on metadata reads by making sure they
don't go through the async submit queue, and by tuning down the amount
of readahead done during btree searches.

Also, the btrfs bdi congestion function is tuned to ignore the
number of pending async bios and checksums pending.  There is additional
code that throttles new async bios now and the congestion function
doesn't need to worry about it anymore.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.c
fs/btrfs/disk-io.c