Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1218462pxj; Sat, 8 May 2021 10:55:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGmNZuOrbIQFoGzDlPYTNxDaPNKvQrJVKOz6xh3FkXzaw3gs0U2bTUK6WetjnamgN4A7MR X-Received: by 2002:a17:907:393:: with SMTP id ss19mr16952188ejb.192.1620496521577; Sat, 08 May 2021 10:55:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620496521; cv=none; d=google.com; s=arc-20160816; b=UjPgqXhE3rWllPmYTjDOLr2HbbV2e41GMg8mhS66qSFOQLSHN/3ZSI9zsHku47Qsmn Kh2r7YXWffrQnIliCXqRiDpr8rlOhkWTojjQ446ezlHJRQfEQ9DGezfMUG6lJ3zFnYLR x3aelMEtqtzGs7YZP1yWppCTAyollf9MivFbDQEWUP8EGcTosZ157bPCPy95YI6ZmYRR hmPyFvkUKCvX84SH+cQHzNt8yj+J5FMqUpOpwsNUUM1VU6Xzz6Y+9SWIuVVXmMkFhe6W IU5y931NvCLfs566nu7zSm9+jQXNd8q5EOtxH0yF0ubJvLEr0Pqbbrzl/Q+hXA0g4CQI pT7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:content-transfer-encoding:message-id :mime-version:to:subject:from:date:dkim-signature; bh=7mVkqI1FwBFoUXjji1+BimqA7SN7HHwU8wcQjbUSDqg=; b=OobSpOoQulfeRRdCTSQDQJfz2jE8tMRnROEq9pepZ5eaWyFgTJZ1sGQlHB2Koz5dFg OEFr6X0j+5KDWUWYXhW9kcClwmuloEuLFxa0aaIwnoHE8/cLsTZZ+nBWBAMo1+BpuTxy eTxo7ABUUP3fhtNiaVZAl0N/JopGONVgmV2BnnvcXzBVCKnmeOw+ZlyYVm5fihSJj/3E Q8WxVpprsDl6QjC5vSsX2q7fiIhpqjqtqudzaVq+D9JeALFw8NtScNtT/HRMxsG6Y7xR AuTdvbqORwNP+jaqymu4IqIPa4Ty6duyW7q3ssnzwpkt0X1LpYhErd/gLXh7k0AFLZmG Rirg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yahoo.ca header.s=s2048 header.b=jw39DBL6; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=yahoo.ca Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id um6si8546908ejb.429.2021.05.08.10.54.52; Sat, 08 May 2021 10:55:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@yahoo.ca header.s=s2048 header.b=jw39DBL6; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=yahoo.ca Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229558AbhEHRzw (ORCPT + 99 others); Sat, 8 May 2021 13:55:52 -0400 Received: from sonic311-24.consmr.mail.ne1.yahoo.com ([66.163.188.205]:42488 "EHLO sonic311-24.consmr.mail.ne1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229553AbhEHRzv (ORCPT ); Sat, 8 May 2021 13:55:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s2048; t=1620496487; bh=7mVkqI1FwBFoUXjji1+BimqA7SN7HHwU8wcQjbUSDqg=; h=Date:From:Subject:To:References:From:Subject:Reply-To; b=jw39DBL6Y1Mp1C7Jiu2ALHitlLUOcokQSAA7sdSr2qCJ0Zf1PunQKg6aU3HEIKz4aXux95C0ts663EXu7/68OzRIAywyEyNXEKZnPFxoKOujh/vKcF47PDf/DFn+f5wSjDDkaSbICEDyQzR8kLEtltb59Q8PnsMjABFLyBchduhrueyb5KKqbfppeDPii3SFSZ1eoG7Bq+C6Xhw62UNDnckPDAoSczsRIrDfHX3QTgjl+s3MXU54MCwq4fA0lbFcMxwbCqD5tFPYgpwglriP1npc5nn3kJa7QhqTVa8I1hrp3FsITh56xyBMej4+4V2FYQVDCex4CXuOL5PQYSmuCw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1620496487; bh=CItmgl81pXPhSIrarDreiUdl4W/aYNdhTsnF6cDo2Zr=; h=X-Sonic-MF:Date:From:Subject:To:From:Subject; b=qV0AQ1OBH8JFdxgICU/QVGlFqh+QJ6HGMGvJlbA+VPfghhQkJVzddeJh6TsULPtKG3U4QxxqImveJatDT0Ase/h16gyhUxKe8jVE6Zk1BKQ6gaFSolNYbUJLlyrLxCiouz3iRtWupfOgXSBlQrk+F2BmRK1AycJuYjixLv9gAXcne+GFs52Ebw+X77qEDLTqhawGvHmOUQEfxswk6mNzZcRZ23xC/0hlaQZHW9Dhi77yZYUdNuLFTBewZRTei8HkasDLg6cd3WE/hGG91gU2lTAiV8yJum7MZuYMxjw23iPIRvEVDhE8PdtEv9kcb2y+kYsrlLtG0gGSYt+uCAKW7w== X-YMail-OSG: hP.P_OgVM1mkDO3N6Y7kMziQayvhAfbE_EfI6GgfPi8P3KJiTqyzR11h268taaC p76._IdlC.DCCFXZVnc7XceX5nAqhqTRxYmbg_Owe0I2W9.ydszve98PIthqNF.GnLxtzNlmiKzx saN0qSs6NAkGBe1Kt2HDpOkfC96HQS5TB.QvkTtFX6CvaESmo5oikxqs96SUKh7PJWM.K2Rz48ef cfS7VN_MxVnPbf9VuufeXf2NGFh8lA1_JYBxGUT9U2FJ8poBnXD.bNl2cINHXAYCAJGJBgos0f8X BAM2P5aF9mQOb_YYc7MoUnaHRMmIGfF.Zgp9rCn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TELx.iLEhXL2VNG7ckbEvgUNQeUM9e _PM0HmDPTQyVIeSA_AcZbf7RSnsy.IDuWs4xXxpnhBLUY9Bpcuaz5c56cm6.StLQotPcahawHSjl eWityM1NTKTQAKuOqrJMag4fyNCGiu9dwsJ70aGLe.f55D.6.EM2aNRWt.qNh0rdS4cWvmMc6va7 xOv_5ao53UAVZhd0HJw_jevIOftj.hePdl2foDJde_fkybFLpd4PQqx9NNKei2lzj X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ne1.yahoo.com with HTTP; Sat, 8 May 2021 17:54:47 +0000 Received: by kubenode547.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID f3c9a4d2d39b4d9365c6cf454859e55c; Sat, 08 May 2021 17:54:43 +0000 (UTC) Date: Sat, 08 May 2021 13:54:39 -0400 From: "Alex Xu (Hello71)" Subject: regression: data corruption with ext4 on LUKS on nvme with torvalds master To: linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org, dm-crypt@saout.de, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org MIME-Version: 1.0 Message-Id: <1620493841.bxdq8r5haw.none@localhost> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable References: <1620493841.bxdq8r5haw.none.ref@localhost> X-Mailer: WebService/1.1.18231 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Apache-HttpAsyncClient/4.1.4 (Java/16) Content-Length: 1216 Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Hi all, Using torvalds master, I recently encountered data corruption on my ext4=20 volume on LUKS on NVMe. Specifically, during heavy writes, the system=20 partially hangs; SysRq-W shows that processes are blocked in the kernel=20 on I/O. After forcibly rebooting, chunks of files are replaced with=20 other, unrelated data. I'm not sure exactly what the data is; some of it=20 is unknown binary data, but in at least one case, a list of file paths=20 was inserted into a file, indicating that the data is misdirected after=20 encryption. This issue appears to affect files receiving writes in the temporal=20 vicinity of the hang, but affects both new and old data: for example, my=20 shell history file was corrupted up to many months before. The drive reports no SMART issues. I believe this is a regression in the kernel related to something merged=20 in the last few days, as it consistently occurs with my most recent=20 kernel versions, but disappears when reverting to an older kernel. I haven't investigated further, such as by bisecting. I hope this is=20 sufficient information to give someone a lead on the issue, and if it is=20 a bug, nail it down before anybody else loses data. Regards, Alex.