Re: [BUG] ext4/block null pointer crashes in linux-next
From: valdis . kletnieks
Date: Tue Oct 16 2018 - 12:12:24 EST
On Tue, 16 Oct 2018 08:42:14 -0400, valdis.kletnieks@xxxxxx said:
> [~] zgrep CGROUP /proc/config.gz
> # CONFIG_DEBUG_BLK_CGROUP is not set
> Looks like I should enable DEBUG_BLK_CGROUP and see what that says.
Built next-20181016 with that enabled - and the exact same kablam.
Started looking at the code, and I noticed that if the .config has
# CONFIG_CFQ_GROUP_IOSCHED is not set
then the 'struct cfqg_stats' at line 185 of block/cfq-iosched.c ends up being
zero length (which hints that combo of config variables is a pathological
case). I haven't delved through all the #ifdef'ery, but I wonder if there
may be other corner-case issues with that combo....
Description: PGP signature