mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
f64dad2628
commit
9779652835
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue