Re: [PATCH] pipe_read: don't wake up the writer if the pipe is still full

From: Linus Torvalds
Date: Thu Mar 06 2025 - 13:02:00 EST


On Wed, 5 Mar 2025 at 22:35, Rasmus Villemoes <ravi@xxxxxxxxx> wrote:
>
> On Wed, Mar 05 2025, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > and there might be other cases where the pipe_index_t size might matter.
>
> Yeah, for example
>
> unsigned int count, head, tail, mask;
>
> case FIONREAD:

Thanks. I've hopefully fixed this (and the FUSE issue you also
reported), and those should work correctly no on 32-bit. Knock wood.

Mind taking a look and double-checking the fixes?

Linus