[PATCH v5 2/3] nvme: check IO start time when deciding to defer KA

Christoph Hellwig hch at lst.de
Thu May 25 02:16:28 PDT 2023


On Wed, May 24, 2023 at 05:22:17PM -0600, Uday Shankar wrote:
> +	if (ctrl->kas && req->deadline - req->timeout >= ctrl->ka_last_check_time)

Pleae avoid the overly long line.

> @@ -1173,6 +1179,7 @@ static unsigned long nvme_keep_alive_work_period(struct nvme_ctrl *ctrl)
>  	 */
>  	if (ctrl->ctratt & NVME_CTRL_ATTR_TBKAS)
>  		delay /= 2;
> +
>  	return delay;

Spurіous whitespace change.



More information about the Linux-nvme mailing list