[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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).

   Simon

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: