[PATCH] nvme: core: don't hold rcu read lock in nvme_ns_chr_uring_cmd_iopoll

Jens Axboe axboe at kernel.dk
Fri Aug 11 07:12:57 PDT 2023


On Wed, 09 Aug 2023 10:04:40 +0800, Ming Lei wrote:
> Now nvme_ns_chr_uring_cmd_iopoll() has switched to request based io
> polling, and the associated NS is guaranteed to be live in case of
> io polling, so request is guaranteed to be valid because blk-mq uses
> pre-allocated request pool.
> 
> Remove the rcu read lock in nvme_ns_chr_uring_cmd_iopoll(), which
> isn't needed any more after switching to request based io polling.
> 
> [...]

Applied, thanks!

[1/1] nvme: core: don't hold rcu read lock in nvme_ns_chr_uring_cmd_iopoll
      (no commit info)

Best regards,
-- 
Jens Axboe






More information about the Linux-nvme mailing list