• Chris Mason's avatar
    Btrfs: Improve metadata read latencies · 6f3577bd
    Chris Mason authored
    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: default avatarChris Mason <chris.mason@oracle.com>
    6f3577bd
ctree.c 95.6 KB