Re: [GIT PULL] Pipe FMODE_NOWAIT support

From: Linus Torvalds
Date: Sat May 06 2023 - 20:57:33 EST


On Sat, May 6, 2023 at 3:28 PM Jens Axboe <axboe@xxxxxxxxx> wrote:
>
> We should just set it for socket as well and just ultimately end up
> with:
>
> static bool __io_file_supports_nowait(struct file *file)
> {
> if (file->f_flags & O_NONBLOCK)
> return true;
> return file->f_mode & FMODE_NOWAIT;
> }

Yup.

> > Something is very rotten in the state of Denmark.
>
> It's the Norwegians, always troublesome.

Something all Nordic people can agree on. Even the Norwegians, because
they are easily confused.

Linus