Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964937AbaLLDED (ORCPT ); Thu, 11 Dec 2014 22:04:03 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:39113 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751341AbaLLDEB (ORCPT ); Thu, 11 Dec 2014 22:04:01 -0500 To: Long Li Cc: "Martin K. Petersen" , KY Srinivasan , Haiyang Zhang , "JBottomley\@parallels.com" , "linux-scsi\@vger.kernel.org" , "devel\@linuxdriverproject.org" , "linux-kernel\@vger.kernel.org" Subject: Re: [PATCH] scsi:storvsc enable reading from VPD pages on SPC-2 From: "Martin K. Petersen" Organization: Oracle Corporation References: <1418200705-488-1-git-send-email-longli@microsoft.com> Date: Thu, 11 Dec 2014 22:03:44 -0500 In-Reply-To: (Long Li's message of "Wed, 10 Dec 2014 22:28:07 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: ucsinet22.oracle.com [156.151.31.94] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Long" == Long Li writes: >> Handle the issues or handle WRITE SAME(10/16)? Long> With this patch, the SCSI layer will be able to correctly send Long> WRITE_SAME_16 to the Hyper-V host. It will not send WRITE_SAME_10: Long> it has been disabled in the driver template. Do you want me to Long> send another patch with these details? no_write_same prevents us from attempting to use WRITE SAME(10/16) to zero block ranges. This is completely orthogonal to using the WRITE SAME(10/16) commands with the UNMAP bit set to discard block ranges. The latter is controlled by the logical block provisioning heuristics and is not affected by no_write_same at all. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/