diff options
author | Christoph Hellwig <hch@lst.de> | 2017-06-19 09:26:23 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-06-27 12:13:45 -0600 |
commit | 0b0bcacc3b4300c4bba0bacb4c7a279b2728f331 (patch) | |
tree | aa0742924c868090ad708668dc757922e1971fd4 /drivers/block/drbd/drbd_main.c | |
parent | 1c4bc3ab9a064d98cdf6de6b44f89d5c3757fa32 (diff) | |
download | linux-0b0bcacc3b4300c4bba0bacb4c7a279b2728f331.tar.gz linux-0b0bcacc3b4300c4bba0bacb4c7a279b2728f331.tar.bz2 linux-0b0bcacc3b4300c4bba0bacb4c7a279b2728f331.zip |
block: don't bother with bounce limits for make_request drivers
We only call blk_queue_bounce for request-based drivers, so stop messing
with it for make_request based drivers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/drbd/drbd_main.c')
-rw-r--r-- | drivers/block/drbd/drbd_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/drbd/drbd_main.c b/drivers/block/drbd/drbd_main.c index 90680034ef57..5fb99e06ebe4 100644 --- a/drivers/block/drbd/drbd_main.c +++ b/drivers/block/drbd/drbd_main.c @@ -2850,7 +2850,6 @@ enum drbd_ret_code drbd_create_device(struct drbd_config_context *adm_ctx, unsig /* Setting the max_hw_sectors to an odd value of 8kibyte here This triggers a max_bio_size message upon first attach or connect */ blk_queue_max_hw_sectors(q, DRBD_MAX_BIO_SIZE_SAFE >> 8); - blk_queue_bounce_limit(q, BLK_BOUNCE_ANY); q->queue_lock = &resource->req_lock; device->md_io.page = alloc_page(GFP_KERNEL); |