From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752585AbaJKRjK (ORCPT ); Sat, 11 Oct 2014 13:39:10 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:36704 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751033AbaJKRjI (ORCPT ); Sat, 11 Oct 2014 13:39:08 -0400 Date: Sat, 11 Oct 2014 10:39:02 -0700 From: Christoph Hellwig To: Sitsofe Wheeler Cc: "K. Y. Srinivasan" , Haiyang Zhang , Christoph Hellwig , Hannes Reinecke , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, "James E.J. Bottomley" Subject: Re: [PATCH 0/3] scsi: Add Hyper-V logical block provisioning quirks Message-ID: <20141011173902.GA1946@infradead.org> References: <20141010074901.GA32028@sucs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141010074901.GA32028@sucs.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 10, 2014 at 08:49:01AM +0100, Sitsofe Wheeler wrote: > Microsoft Hyper-V virtual disks currently only claim SPC-2 compliance > even though they implement post SPC-2 features (such as thin > provisioning) which means the Linux kernel does not go on to test for > those features even though they are advertised. > > A previous patch attempted to add a quirk to workaround this but the > quirk was only enabled after the features had been scanned for, wouldn't > work for "small" disks and would quirk on all Hyper-V SCSI devices > (e.g. passthrough disks). > > The new patches partially revert the previous effort, add the quirk in a > more traditional manner to only Hyper-V virtual disks and work on small > virtual disks. This seems like might want a quirk to simply "force" a SPC3 compliance level?