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

From: Mike Snitzer
Date: Thu Dec 20 2012 - 00:47:31 EST


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

> >>>>> "Milan" == Milan Broz <mbroz@xxxxxxxxxx> 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@xxxxxxxxxx>
>
> Acked-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx>

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)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/