Re: [PATCH 2/3] target: Add max_write_same_len device attribute

2012-11-16 Thread Paolo Bonzini
Il 15/11/2012 20:23, Nicholas A. Bellinger ha scritto: >>> > > >>> > > 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 d

Re: [PATCH 2/3] target: Add max_write_same_len device attribute

2012-11-15 Thread Nicholas A. Bellinger
On Thu, 2012-11-15 at 05:53 -0500, Christoph Hellwig wrote: > On Thu, Nov 08, 2012 at 08:07:17PM +, 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. > > > > Al

Re: [PATCH 2/3] target: Add max_write_same_len device attribute

2012-11-15 Thread Christoph Hellwig
On Thu, Nov 08, 2012 at 08:07:17PM +, 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 > s

[PATCH 2/3] target: Add max_write_same_len device attribute

2012-11-08 Thread Nicholas A. Bellinger
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. Cc: Christoph Hellwig Cc: M