From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Whitcroft Subject: [PATCH 3/4] scsi: hyper-v storage -- mark as VPD capable at SPC-2 Date: Fri, 13 Sep 2013 13:58:28 +0100 Message-ID: <1379077109-29606-4-git-send-email-apw@canonical.com> References: <1379077109-29606-1-git-send-email-apw@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1379077109-29606-1-git-send-email-apw@canonical.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: driverdev-devel-bounces@linuxdriverproject.org To: "James E.J. Bottomley" , "K. Y. Srinivasan" , Haiyang Zhang Cc: Andy Whitcroft , devel@linuxdriverproject.org, Ben Howard , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-scsi@vger.kernel.org BugLink: http://bugs.launchpad.net/bugs/1223499 Signed-off-by: Andy Whitcroft --- drivers/scsi/storvsc_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 1a28f56..14ba8fd 100644 --- a/drivers/scsi/storvsc_drv.c +++ b/drivers/scsi/storvsc_drv.c @@ -1437,6 +1437,7 @@ static int storvsc_device_configure(struct scsi_device *sdevice) blk_queue_rq_timeout(sdevice->request_queue, (storvsc_timeout * HZ)); sdevice->no_write_same = 1; + sdevice->use_vpd_spc2 = 1; return 0; } -- 1.8.1.2