[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHk-=wg=sQ6NvX5C=2xDhB45UsiGySzh0tqCuXWZ-ANOk1gRhQ@mail.gmail.com>
Date: Sat, 6 May 2023 17:55:29 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Jens Axboe <axboe@...nel.dk>
Cc: "linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [GIT PULL] Pipe FMODE_NOWAIT support
On Sat, May 6, 2023 at 3:28 PM Jens Axboe <axboe@...nel.dk> 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
Powered by blists - more mailing lists