Re:Ext4 data corruption in 6.1 stable
by jeroen79 on Saturday December 09, 2023 @03:04PM
(#38585412)
so everything before 6.1 is ok, and after 6.5 is also ok?
[ Parent
| on HN ]
Re:Ext4 data corruption in 6.1 stable
by altairprime on Saturday December 09, 2023 @03:40PM
(#38585835)
6.1.64+ affected, per reply on thread.
Should be fixed in 6.1.66.
iomap: update ki_pos a little later in iomap_dio_complete
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux...
Is what you've linked the patch that should be backported to affected kernels?
As the potentially problematic patch causing the corruption, I found https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux... but it's not present in the 6.2.2 I run.
I'm very conservative in the versions or critical components like kernels or dkms modules, that didn't protect me against the ZFS bug, but it seems to have avoided me this EXT4 bug!
>The commit got merged in 6.5-rc1 so all stable kernels that have
91562895f803 ("ext4: properly sync file size update after O_SYNC direct
IO") before 6.5 are corrupting data - I've noticed at least 6.1 is still
carrying the problematic commit. Greg, please take out the commit from all
stable kernels before 6.5 as soon as possible, we'll figure out proper
backport once user data are not being corrupted anymore. Thanks!
The way I read https://lore.kernel.org/stable/20231205122122.dfhhoaswsfscuh... 6.5+ should be okay. PS: Please correct me if not!