]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ext4: enable dioread_nolock as default for bs < ps case
authorOjaswin Mujoo <ojaswin@linux.ibm.com>
Wed, 1 Nov 2023 15:47:17 +0000 (21:17 +0530)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 5 Jan 2024 04:28:47 +0000 (23:28 -0500)
commite89fdcc425b6feea4dfb33877e9256757905d763
treeb355cede78cf573ff582cd13524c72028f2848cf
parentf2fec3e99a32d7c14dbf63c824f8286ebc94b18d
ext4: enable dioread_nolock as default for bs < ps case

dioread_nolock was originally disabled as a default option for bs < ps
scenarios due to a data corruption issue. Since then, we've had some
fixes in this area which address such issues. Enable dioread_nolock by
default and remove the experimental warning message for bs < ps path.

dioread for bs < ps has been tested on a 64k pagesize machine using:

kvm-xfstest -C 3 -g auto

with the following configs:

64k adv bigalloc_4k bigalloc_64k data_journal encrypt
dioread_nolock dioread_nolock_4k ext3 ext3conv nojournal

And no new regressions were seen compared to baseline kernel.

Suggested-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Ojaswin Mujoo <ojaswin@linux.ibm.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/20231101154717.531865-1-ojaswin@linux.ibm.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c