13 ms·
> They mean BUG as in it crashes the kernel. I know what BUG means. There's a reason it exists: to make sure that code in an invalid state doesn't do something
by cyphar 11y ago
> They mean BUG as in it crashes the kernel.
I know what BUG means. There's a reason it exists: to make sure that code in an invalid state doesn't do something really dangerous. assert() is very useful.
- casas 11y agoIt should be noted that we've hit that BUG() assertion on ext4 using the mount option errors=remount-ro - it should just not be possible to trigger an invalid state causing your kernel to Oops when you've configured it like this. See Vegard's discussion with Theodore Ts'o about this: http://marc.info/?l=linux-ext4&m=144898400422842&w=2 http://marc.info/?l=linux-ext4&m=144898400422842&w=2
- blumentopf 11y agoI'm awed by your work but this is really an abomination: "Unfortunately, company policy prohibits me from sharing the actual code." (http://marc.info/?l=linux-ext4&m=145007745502639&w=2 http://marc.info/?l=linux-ext4&m=145007745502639&w=2)