[PATCH] NVMe: Use user defined admin ioctl timeout

Matthew Wilcox willy at linux.intel.com
Tue May 7 17:05:48 EDT 2013


On Tue, May 07, 2013 at 02:17:54PM -0600, Keith Busch wrote:
> +	timeout = cmd.timeout_ms ? DIV_ROUND_UP(cmd.timeout_ms * HZ, 1000):

We have a fine function called msecs_to_jiffies(), which I'd prefer you to
use instead :-)



More information about the Linux-nvme mailing list