[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9370d400-3944-b62a-65f6-5c31ac86ea35@kernel.dk>
Date: Wed, 8 Sep 2021 13:15:27 -0600
From: Jens Axboe <axboe@...nel.dk>
To: Pavel Begunkov <asml.silence@...il.com>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Cc: io-uring@...r.kernel.org
Subject: Re: [PATCH v2] /dev/mem: nowait zero/null ops
On 9/8/21 1:10 PM, Pavel Begunkov wrote:
> Make read_iter_zero() to honor IOCB_NOWAIT, so /dev/zero can be
> advertised as FMODE_NOWAIT. It's useful for io_uring, which needs it to
> apply certain optimisations when doing I/O against the device.
>
> Set FMODE_NOWAIT for /dev/null as well, it never waits and therefore
> trivially meets the criteria.
Reviewed-by: Jens Axboe <axboe@...nel.dk>
--
Jens Axboe
Powered by blists - more mailing lists