diff options
author | Jens Axboe <axboe@suse.de> | 2006-01-10 04:48:02 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 11:37:08 -0500 |
commit | daef265f1590cf3e6de989d074041a280c82d58b (patch) | |
tree | 3d869c801561f9bfafa6dabd30211379cd0bb55d /drivers/md | |
parent | 00d6da9b4d6707b808481372537adb0fb38f99b3 (diff) |
[PATCH] dm: don't enable bouncing by default
DM doesn't need to bounce bio's on its own, but the block layer defaults
to that in blk_queue_make_request(). The lower level drivers should
bounce ios themselves, that is what they need to do if not layered below
dm anyways.
Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/dm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 5c210b0a4cb..097d1e54009 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c | |||
@@ -768,6 +768,7 @@ static struct mapped_device *alloc_dev(unsigned int minor, int persistent) | |||
768 | md->queue->backing_dev_info.congested_fn = dm_any_congested; | 768 | md->queue->backing_dev_info.congested_fn = dm_any_congested; |
769 | md->queue->backing_dev_info.congested_data = md; | 769 | md->queue->backing_dev_info.congested_data = md; |
770 | blk_queue_make_request(md->queue, dm_request); | 770 | blk_queue_make_request(md->queue, dm_request); |
771 | blk_queue_bounce_limit(md->queue, BLK_BOUNCE_ANY); | ||
771 | md->queue->unplug_fn = dm_unplug_all; | 772 | md->queue->unplug_fn = dm_unplug_all; |
772 | md->queue->issue_flush_fn = dm_flush_all; | 773 | md->queue->issue_flush_fn = dm_flush_all; |
773 | 774 | ||