Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934407AbcLOAuo (ORCPT ); Wed, 14 Dec 2016 19:50:44 -0500 Received: from p3plsmtps2ded04.prod.phx3.secureserver.net ([208.109.80.198]:46324 "EHLO p3plsmtps2ded04.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934411AbcLOAuY (ORCPT ); Wed, 14 Dec 2016 19:50:24 -0500 x-originating-ip: 72.167.245.219 From: kys@exchange.microsoft.com To: linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, ohering@suse.com, linux-scsi@vger.kernel.org, apw@canonical.com, vkuznets@redhat.com, jasowang@redhat.com, martin.petersen@oracle.com, hare@suse.de, James.Bottomley@HansenPartnership.com Cc: "K. Y. Srinivasan" , "K. Y. Srinivasan" Subject: [PATCH 2/6] storvsc: Remove the restriction on max segment size Date: Wed, 14 Dec 2016 18:45:59 -0800 Message-Id: <1481769963-2069-2-git-send-email-kys@exchange.microsoft.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1481769963-2069-1-git-send-email-kys@exchange.microsoft.com> References: <1481769928-2026-1-git-send-email-kys@exchange.microsoft.com> <1481769963-2069-1-git-send-email-kys@exchange.microsoft.com> Reply-To: kys@microsoft.com X-CMAE-Envelope: MS4wfH25vOgM9v6ceYHll+5DIMDKfQKQt/c0k5jkv7F0GZJEXGTHKqqwJL7ZMMMGhh7qwfRgtbdfDatgDh2jyXsJgRGoG0DEkVTL4TbrRPEYlSUHF2MX2fTb mhz9NiFfikVG3KVxqL6+IQgoKzjHNv7mScS+lTMzOo1sXoNHZ/y7gPlU5epvrvC3vNue879o6NouUrYlTeUXV6Z7Zw9kGTqJya/Fkq2ctn1CJsz/s6C1LewZ u+uTThqkl0s10zfpoE4lCIa1ljl5MWCOEj3UTkKbba7PcG1ortG1Kfaqx1bfK9yVK6UCFriQuh4iY8gPG7ywxq/n5Wj4yCVwPsrDp7bulNUN+gawnL0/djKt ka7sbwNaKzKSpOZ6yGIFUfLGOrFHW3QkabOlU7gUOct43rxoA9X6Z5The7bZ8Z3uTNSIWTvDygzD1jXrDktidcmqIyaRi6JBlG7FAuIDCBGb+fAErb50w6Qt 3gwWWBZLJ3F6qW6p57TEzbtQMIbkj2wdwl1qT8CXbxBRROlWPHvB+QbZU+gGXj9JzazmYRWPSERmHMV6GKpY26dvvhnx1TomjVEkSA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 836 Lines: 25 From: K. Y. Srinivasan Remove the artificially imposed restriction on max segment size. Signed-off-by: K. Y. Srinivasan Reviewed-by: Long Li --- 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 ccb2101..3b1c2f6 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)); -- 1.7.4.1