Commit 97796528 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Martin K. Petersen

scsi: storvsc: Remove the restriction on max segment size

Remove the artificially imposed restriction on max segment size.
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: default avatarLong Li <longli@microsoft.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent f64dad26
...@@ -1267,8 +1267,6 @@ static int storvsc_do_io(struct hv_device *device, ...@@ -1267,8 +1267,6 @@ static int storvsc_do_io(struct hv_device *device,
static int storvsc_device_configure(struct scsi_device *sdevice) 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_bounce_limit(sdevice->request_queue, BLK_BOUNCE_ANY);
blk_queue_rq_timeout(sdevice->request_queue, (storvsc_timeout * HZ)); blk_queue_rq_timeout(sdevice->request_queue, (storvsc_timeout * HZ));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment