From: Chris Mason Date: Wed, 26 Mar 2008 16:02:55 +0000 (-0400) Subject: Btrfs: Use a higher default ra pages X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=83041add611056e830e29fda913029e37e857239;p=linux-beck.git Btrfs: Use a higher default ra pages Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 6a70e4916ab4..134b722587ec 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -694,7 +694,7 @@ void btrfs_unplug_io_fn(struct backing_dev_info *bdi, struct page *page) static int setup_bdi(struct btrfs_fs_info *info, struct backing_dev_info *bdi) { bdi_init(bdi); - bdi->ra_pages = default_backing_dev_info.ra_pages; + bdi->ra_pages = default_backing_dev_info.ra_pages * 4; bdi->state = 0; bdi->capabilities = default_backing_dev_info.capabilities; bdi->unplug_io_fn = btrfs_unplug_io_fn;