Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754596AbaJWBuk (ORCPT ); Wed, 22 Oct 2014 21:50:40 -0400 Received: from aserp1040.oracle.com ([141.146.126.69]:45943 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752801AbaJWBui (ORCPT ); Wed, 22 Oct 2014 21:50:38 -0400 To: Sitsofe Wheeler Cc: "Martin K. Petersen" , "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 From: "Martin K. Petersen" Organization: Oracle Corporation References: <20141010074901.GA32028@sucs.org> <20141021041707.GA11691@sucs.org> Date: Wed, 22 Oct 2014 21:50:22 -0400 In-Reply-To: <20141021041707.GA11691@sucs.org> (Sitsofe Wheeler's message of "Tue, 21 Oct 2014 05:17:08 +0100") 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: ucsinet21.oracle.com [156.151.31.93] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "Sitsofe" == Sitsofe Wheeler writes: Sitsofe> 2. On top of the above, when a disk is "small" (has less than Sitsofe> 2^32 sectors which is typically < 2 TBytes in size) READ Sitsofe> CAPACITY(16) won't be triggered. static int sd_try_rc16_first(struct scsi_device *sdp) { if (sdp->host->max_cmd_len < 16) return 0; if (sdp->try_rc_10_first) return 0; if (sdp->scsi_level > SCSI_SPC_2) return 1; if (scsi_device_protection(sdp)) return 1; return 0; } -- 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/