Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #68008

Bug#928526: linux-image-4.19.0-4-amd64: data corruption when swapping to encrypted SSD with LVM and TRIM enabled

From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#928526: linux-image-4.19.0-4-amd64: data corruption when swapping to encrypted SSD with LVM and TRIM enabled
Date 2020-09-06 11:40 +0200
Message-ID <ALZjs-7o9-9@gated-at.bofh.it> (permalink)
References (2 earlier) <yIy0N-7QW-3@gated-at.bofh.it> <xURCV-1X5-1@gated-at.bofh.it> <yIy0N-7QW-1@gated-at.bofh.it> <xURCV-1X5-1@gated-at.bofh.it> <yIy0N-7QW-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi Simon,

On Fri, Sep 20, 2019 at 10:42:17PM +0200, Salvatore Bonaccorso wrote:
> Hi Simon,
> 
> On Mon, May 06, 2019 at 10:28:09PM +0200, Simon Richter wrote:
> > Hi,
> > 
> > On 06.05.19 21:35, Simon Richter wrote:
> > 
> > > I can probably test intermediate versions and/or changes in setup, but this
> > > is difficult to automate because "bad" runs require manual file system
> > > repairs and every run requires LUKS setup to be repeated.
> > 
> > FWIW, using a separate LV and swapon --discard=pages seems to work, so
> > this is likely to be specific to swap files (which normally shouldn't be
> > affected by discards, as their allocation doesn't change, but the kernel
> > might have some default behaviour here that I'm not aware of).
> 
> Possible for you to directly report that upstream, keeping the bug in
> the loop? (is it still an issue with 5.2.x and 5.3)?

Did you had a chance to check this?

Regards,
Salvatore

Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#928526: linux-image-4.19.0-4-amd64: data corruption when swapping to encrypted SSD with LVM and TRIM enabled Salvatore Bonaccorso <carnil@debian.org> - 2019-09-20 22:50 +0200
  Bug#928526: linux-image-4.19.0-4-amd64: data corruption when swapping to encrypted SSD with LVM and TRIM enabled Salvatore Bonaccorso <carnil@debian.org> - 2020-09-06 11:40 +0200

csiph-web