[Raring][PATCH 0/2] dm-crypt: never use write same

Andy Whitcroft apw at canonical.com
Thu Dec 20 11:41:00 UTC 2012


On Wed, Dec 19, 2012 at 05:52:37PM -0500, joseph.salisbury at canonical.com wrote:
> From: Joseph Salisbury <joseph.salisbury at canonical.com>
> 
> BugLink: http://bugs.launchpad.net/bugs/1089818
> 
> 
> == Raring Justification ==
> 
> dm-crypt is not compatible with WRITE SAME, which was introduced in v3.7-rc8 in upstream commit 5db44863b.  This bug was originally fixed by reverting 5db44863b.  However, the bug is now addressed by updating dm-crypt to not use WRITE SAME.  This has also been discussed upstream.  The second patch will be submitted to v3.7 stable, as well as v3.8.  
> 
> == Fix ==
> 
> The first patch reverts commit: 6bedd03c.
> The second patch disables WRITE SAME in dm-crypt.

I think this is essentially undoing a local revert and applying the
appropriate upstream fix.

The fix looks sane to my eye and testing is good.

cked-by: Andy Whitcroft <apw at canonical.com>

-apw




More information about the kernel-team mailing list