aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-settings.c')
-rw-r--r--block/blk-settings.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/block/blk-settings.c b/block/blk-settings.c
index d71cedc09c4e..138610b98956 100644
--- a/block/blk-settings.c
+++ b/block/blk-settings.c
@@ -129,10 +129,6 @@ void blk_queue_make_request(struct request_queue *q, make_request_fn *mfn)
129 blk_queue_max_segment_size(q, MAX_SEGMENT_SIZE); 129 blk_queue_max_segment_size(q, MAX_SEGMENT_SIZE);
130 130
131 q->make_request_fn = mfn; 131 q->make_request_fn = mfn;
132 q->backing_dev_info.ra_pages =
133 (VM_MAX_READAHEAD * 1024) / PAGE_CACHE_SIZE;
134 q->backing_dev_info.state = 0;
135 q->backing_dev_info.capabilities = BDI_CAP_MAP_COPY;
136 blk_queue_max_sectors(q, SAFE_MAX_SECTORS); 132 blk_queue_max_sectors(q, SAFE_MAX_SECTORS);
137 blk_queue_logical_block_size(q, 512); 133 blk_queue_logical_block_size(q, 512);
138 blk_queue_dma_alignment(q, 511); 134 blk_queue_dma_alignment(q, 511);