Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758202AbaAJUe6 (ORCPT ); Fri, 10 Jan 2014 15:34:58 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:25075 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751258AbaAJUez (ORCPT ); Fri, 10 Jan 2014 15:34:55 -0500 To: "Nicholas A. Bellinger" Cc: target-devel , linux-scsi , linux-kernel , "Martin K. Petersen" , Christoph Hellwig , Hannes Reinecke , Sagi Grimberg , Or Gerlitz , Nicholas Bellinger Subject: Re: [PATCH 05/14] target/spc: Add protection bit to standard INQUIRY output From: "Martin K. Petersen" Organization: Oracle Corporation References: <1389212157-14540-1-git-send-email-nab@daterainc.com> <1389212157-14540-6-git-send-email-nab@daterainc.com> Date: Fri, 10 Jan 2014 15:34:42 -0500 In-Reply-To: <1389212157-14540-6-git-send-email-nab@daterainc.com> (Nicholas A. Bellinger's message of "Wed, 8 Jan 2014 20:15:48 +0000") Message-ID: User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: acsinet21.oracle.com [141.146.126.237] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>>> "nab" == Nicholas A Bellinger writes: nab> This patch updates spc_emulate_inquiry_std() to set the PROTECT bit nab> when DIF emulation is enabled by the backend device. Technically, PROTECT only indicates whether a device is *capable* of storing PI. But in our case I guess that's OK. It doesn't make much sense to create a PI LUN and then not have PI enabled. Reviewed-by: Martin K. Petersen -- 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/