Re: [PATCH] block: Replace bio_check_ro()'s WARN_ON()

From: Jens Axboe
Date: Fri Nov 22 2019 - 14:09:19 EST


On 11/22/19 12:07 PM, Christoph Hellwig wrote:
> On Fri, Nov 22, 2019 at 10:53:22AM -0800, Kees Cook wrote:
>> Friendly ping! I keep tripping over this. Can this please get applied so
>> we can silence syzbot and avoid needless WARNs? :)
>
> What call stack reaches this? Upper layers should never submit a write
> bio on a read-only queue, and we need to fix that in the upper layer.

It's an fsync, the trace is here:

https://syzkaller.appspot.com/x/log.txt?x=159503d2e00000

--
Jens Axboe