Commit daef265f1590cf3e6de989d074041a280c82d58b
Committed by
Linus Torvalds
1 parent
00d6da9b4d
Exists in
master
and in
7 other branches
[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>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
drivers/md/dm.c
... | ... | @@ -768,6 +768,7 @@ |
768 | 768 | md->queue->backing_dev_info.congested_fn = dm_any_congested; |
769 | 769 | md->queue->backing_dev_info.congested_data = md; |
770 | 770 | blk_queue_make_request(md->queue, dm_request); |
771 | + blk_queue_bounce_limit(md->queue, BLK_BOUNCE_ANY); | |
771 | 772 | md->queue->unplug_fn = dm_unplug_all; |
772 | 773 | md->queue->issue_flush_fn = dm_flush_all; |
773 | 774 |