From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753241AbaGZT0V (ORCPT ); Sat, 26 Jul 2014 15:26:21 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:27729 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753436AbaGZT0S (ORCPT ); Sat, 26 Jul 2014 15:26:18 -0400 To: KY Srinivasan Cc: "Martin K. Petersen" , Sitsofe Wheeler , Christoph Hellwig , "gregkh\@linuxfoundation.org" , "linux-kernel\@vger.kernel.org" , "devel\@linuxdriverproject.org" , "ohering\@suse.com" , "apw\@canonical.com" , "jasowang\@redhat.com" , "jbottomley\@parallels.com" , "linux-scsi\@vger.kernel.org" Subject: Re: [PATCH v2 3/3] [SCSI] Make LBP quirk skip lbpme checks tests From: "Martin K. Petersen" Organization: Oracle Corporation References: <20140724122223.GA31798@sucs.org> <20140724153612.GA23648@sucs.org> <16fea5bb87ba47019527cee788e07a72@BY2PR0301MB0711.namprd03.prod.outlook.com> Date: Sat, 26 Jul 2014 15:25:28 -0400 In-Reply-To: (KY Srinivasan's message of "Sat, 26 Jul 2014 17:17:17 +0000") Message-ID: User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: acsinet22.oracle.com [141.146.126.238] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "KY" == KY Srinivasan writes: >> Great! I'd just like to have a reasonable level of confidence in >> what's happening down the stack before I entertain turning something >> on that's not being properly advertised. KY> As I look at the output of inquiry between Linux on Hyper-V and KY> native Linux, is not specifying conformance level the main issue? The main problem for this particular use case (aside from the issue we've already addressed) is that the passthrough device (SATA SSD) has LBPME=0 in the READ CAPACITY(16) response. The LBP VPD is correctly provided with LBPU flag set but because LBPME is reported as disabled we will not attempt to issue UNMAP commands to the device. -- Martin K. Petersen Oracle Linux Engineering