[PATCH v2 2/3] io_uring/uring_cmd: call io_should_terminate_tw() when needed

Ming Lei ming.lei at redhat.com
Thu Oct 23 20:27:28 PDT 2025


On Thu, Oct 23, 2025 at 02:18:29PM -0600, Caleb Sander Mateos wrote:
> Most uring_cmd task work callbacks don't check IO_URING_F_TASK_DEAD. But
> it's computed unconditionally in io_uring_cmd_work(). Add a helper
> io_uring_cmd_should_terminate_tw() and call it instead of checking
> IO_URING_F_TASK_DEAD in the one callback, fuse_uring_send_in_task().
> Remove the now unused IO_URING_F_TASK_DEAD.
> 
> Signed-off-by: Caleb Sander Mateos <csander at purestorage.com>

Reviewed-by: Ming Lei <ming.lei at redhat.com>

Thanks,
Ming




More information about the Linux-nvme mailing list