diff options
author | K. Y. Srinivasan <kys@messages.microsoft.com> | 2016-12-14 18:45:59 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-01-05 00:21:11 -0500 |
commit | 977965283526dd2e887331365da19b05c909a966 (patch) | |
tree | 44e1ad0b3a8f9554e8b1852421617a3670a86380 /drivers/scsi/storvsc_drv.c | |
parent | f64dad2628bdf62eac7ac145a6e31430376b65e4 (diff) | |
download | linux-977965283526dd2e887331365da19b05c909a966.tar.gz linux-977965283526dd2e887331365da19b05c909a966.tar.bz2 linux-977965283526dd2e887331365da19b05c909a966.zip |
scsi: storvsc: Remove the restriction on max segment size
Remove the artificially imposed restriction on max segment size.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Long Li <longli@microsoft.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/storvsc_drv.c')
-rw-r--r-- | drivers/scsi/storvsc_drv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index ccb2101c6385..3b1c2f6528b4 100644 --- a/drivers/scsi/storvsc_drv.c +++ b/drivers/scsi/storvsc_drv.c @@ -1267,8 +1267,6 @@ static int storvsc_do_io(struct hv_device *device, static int storvsc_device_configure(struct scsi_device *sdevice) { - blk_queue_max_segment_size(sdevice->request_queue, PAGE_SIZE); - blk_queue_bounce_limit(sdevice->request_queue, BLK_BOUNCE_ANY); blk_queue_rq_timeout(sdevice->request_queue, (storvsc_timeout * HZ)); |