Re: 5.8-rc1: new warnings in ext4_mb_new_blocks?

From: Ritesh Harjani
Date: Mon Jun 15 2020 - 07:28:13 EST




On 6/15/20 1:07 PM, Pavel Machek wrote:
Hi!

Booting 5.8-rc1 on x220, I get scary warnings:

[ 7.089941] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[ 7.343231] BUG: using smp_processor_id() in preemptible [00000000] code: systemd-tmpfile/2788
[ 7.344052] caller is debug_smp_processor_id+0x17/0x20
[ 7.344897] CPU: 3 PID: 2788 Comm: systemd-tmpfile Not tainted 5.8.0-rc1+ #116
[ 7.345745] Hardware name: LENOVO 42872WU/42872WU, BIOS 8DET74WW (1.44 ) 03/13/2018
[ 7.346561] Call Trace:
[ 7.347355] dump_stack+0x60/0x7a
[ 7.348170] check_preemption_disabled+0xb1/0xc0
[ 7.348951] debug_smp_processor_id+0x17/0x20
[ 7.349728] ext4_mb_new_blocks+0x1f2/0x13e0

and they continue after boot.


Below should fix this. I guess it couldn't make it to rc1.

https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git/commit/?h=ext4-for-linus-5.8-rc1-2&id=811985365378df01386c3cfb7ff716e74ca376d5

-ritesh