[PATCH V4] nvmet-tcp: enable optional queue idle period tracking

Sagi Grimberg sagi at grimberg.me
Fri Mar 26 21:00:45 GMT 2021


> @@ -1525,6 +1558,8 @@ static int nvmet_tcp_alloc_queue(struct nvmet_tcp_port *port,
>   	if (ret)
>   		goto out_destroy_sq;
>   
> +	if (idle_poll_period_usecs)
> +		nvmet_tcp_arm_queue_deadline(queue);
>   	queue_work_on(queue_cpu(queue), nvmet_tcp_wq, &queue->io_work);

Patch looks good now Mark, can you please update it to apply cleanly on
the latest nvme tree head?



More information about the Linux-nvme mailing list