From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2993303Ab2KOKxP (ORCPT ); Thu, 15 Nov 2012 05:53:15 -0500 Received: from 173-166-109-252-newengland.hfc.comcastbusiness.net ([173.166.109.252]:56338 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2992442Ab2KOKxN (ORCPT ); Thu, 15 Nov 2012 05:53:13 -0500 Date: Thu, 15 Nov 2012 05:53:12 -0500 From: Christoph Hellwig To: "Nicholas A. Bellinger" Cc: target-devel , linux-scsi , linux-kernel , Christoph Hellwig , "Martin K. Petersen" Subject: Re: [PATCH 2/3] target: Add max_write_same_len device attribute Message-ID: <20121115105312.GC28956@infradead.org> References: <1352405238-23267-1-git-send-email-nab@linux-iscsi.org> <1352405238-23267-3-git-send-email-nab@linux-iscsi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1352405238-23267-3-git-send-email-nab@linux-iscsi.org> User-Agent: Mutt/1.5.21 (2010-09-15) 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 Thu, Nov 08, 2012 at 08:07:17PM +0000, Nicholas A. Bellinger wrote: > From: Nicholas Bellinger > > This patch adds a new max_write_same_len device attribute for use with > WRITE_SAME w/ UNMAP=0 backend emulation. > > Also, update block limits VPD emulation code in spc_emulate_evpd_b0() to > set the default MAXIMUM WRITE SAME LENGTH value of zero. why do we need an exposed attribute for this?