[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <167630261065.98786.1863973416590406572.b4-ty@kernel.dk>
Date: Mon, 13 Feb 2023 08:36:50 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Ming Lei <ming.lei@...hat.com>,
Liu Xiaodong <xiaodong.liu@...el.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
Jim Harris <james.r.harris@...el.com>
Subject: Re: [PATCH] block: ublk: check IO buffer based on flag
need_get_data
On Fri, 10 Feb 2023 09:13:56 -0500, Liu Xiaodong wrote:
> Currently, uring_cmd with UBLK_IO_FETCH_REQ or
> UBLK_IO_COMMIT_AND_FETCH_REQ is always checked whether
> userspace server has provided IO buffer even flag
> UBLK_F_NEED_GET_DATA is configured.
>
> This is a excessive check. If UBLK_F_NEED_GET_DATA is
> configured, FETCH_RQ doesn't need to provide IO buffer;
> COMMIT_AND_FETCH_REQ also doesn't need to do that if
> the IO type is not READ.
>
> [...]
Applied, thanks!
[1/1] block: ublk: check IO buffer based on flag need_get_data
commit: 2f1e07dda1e1310873647abc40bbc49eaf3b10e3
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists