[dm-devel] dm-crypt: never use write same (was Re: [v3.7 Regression] [SCSI] sd: Implement support for WRITE SAME)

Mike Snitzer snitzer at redhat.com
Thu Dec 20 05:47:26 UTC 2012


On Wed, Dec 19 2012 at  7:11pm -0500,
Martin K. Petersen <martin.petersen at oracle.com> wrote:

> >>>>> "Milan" == Milan Broz <mbroz at redhat.com> writes:
> 
> Milan> dm-crypt: never use write same
> 
> Milan> Ciphertext device is not compatible with WRITE SAME, disable it
> Milan> for all dmcrypt devices.
> 
> Milan> Signed-off-by: Milan Broz <mbroz at redhat.com>
> 
> Acked-by: Martin K. Petersen <martin.petersen at oracle.com>

I've developed more comprehensive WRITE SAME support for DM.  It can be
used in conjunction with Milan's patch (which enables Milan's patch to
go in too and be more easily tagged for v3.7 stable).

Anyway, my changes are available in the 'dm-write-same' branch of my
github tree: git://github.com/snitm/linux.git

See the top 5 commits: https://github.com/snitm/linux/commits/dm-write-same
(topmost needs to be folded, I'll do that when posting to dm-devel in
reply to this mail)




More information about the dm-devel mailing list