2023-07-01 15:45:11

by Salvatore Bonaccorso

[permalink] [raw]
Subject: Re: Bug#1039883: linux-image-6.3.0-1-amd64: ext4 corruption with symlinks

Control: tags -1 + upstream

Hi,

On Thu, Jun 29, 2023 at 10:38:07AM +0200, dud225 wrote:
> Package: linux-image-6.3.0-1-amd64
> Version: linux-image-6.3.0-1-amd64
> Severity: important
> Tags: upstream
> X-Debbugs-Cc: [email protected]
>
> Hello
>
> I've stored data on a USB external hard drive using ext4 over LUKS2 and I'm getting the following error:
> kernel: EXT4-fs error (device dm-11): ext4_map_blocks:607: inode #8159552: block 959787320: comm git-annex:w: lblock 0 mapped>
>
> I then stumbled upon that kernel bug [1] which matches my case as git-annex is making heavy use of symlinks. However I've faced this issue on the kernel 6.3.0 (linux-image-6.3.0-1-amd64 version 6.3.7-1) so it doesn't look to be actually addressed.
>
> I've got 3 disks, 2 HDDs and 1 SSD, and oddly the failure only happens on the HDD, the SSD is running fine.
> After reformatting my HDD without the inline_data feature, the issue has disappeared.
>
> [1] https://bugzilla.kernel.org/show_bug.cgi?id=216317

I believe this should be reported upstream, doing so now to get some
ideas from Ted and Andreas.

Ted, Andreas the above was reported in Debian at
https://bugs.debian.org/1039883 .

Any insights here?

Regards,
Salvatore