Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757028AbaGBSgM (ORCPT ); Wed, 2 Jul 2014 14:36:12 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:39606 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752211AbaGBSgL (ORCPT ); Wed, 2 Jul 2014 14:36:11 -0400 Date: Wed, 2 Jul 2014 11:36:07 -0700 From: Christoph Hellwig To: Mikulas Patocka Cc: Sagi Grimberg , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Mike Christie , Nicholas Bellinger Subject: Re: Crash on WRITE SAME Message-ID: <20140702183607.GA19117@infradead.org> References: <20140702181333.GA15792@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Wed, Jul 02, 2014 at 02:29:05PM -0400, Mikulas Patocka wrote: > And what about protection information for commands that transfer partial > sectors? (for example, UMAP transfers 24 bytes). Should > scsi_transfer_length return 24 or 32 in this case? As far as I understand so far PI is only defined for READ/WRITE commands. But I'll defer to Martin who is a much better source for information on this topic. -- 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/