Re: [RFC v2 0/2] Fix gfs2 readahead deadlocks

From: Linus Torvalds
Date: Fri Jul 03 2020 - 15:25:03 EST


On Fri, Jul 3, 2020 at 2:53 AM Andreas Gruenbacher <agruenba@xxxxxxxxxx> wrote:
>
> Here's an improved version. If the IOCB_NOIO flag can be added right
> away, we can just fix the locking in gfs2.

I see nothing wrong with this, and would be ok with getting the
patches as pulls from the gfs2 tree despite touching generic code.

Maybe wait a bit for others to comment (I see Willy already did), but
it seems like a fairly straightforward improvement, and the IOCB_NOIO
flag conceptually seems to match well with the IOCB_NOWAIT one, so
this all makes sense to me.

Linus