linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: willy@linux.intel.com (Matthew Wilcox)
Subject: [PATCH] NVMe: Use user defined admin ioctl timeout
Date: Tue, 7 May 2013 17:05:48 -0400	[thread overview]
Message-ID: <20130507210548.GH6057@linux.intel.com> (raw)
In-Reply-To: <1367957874-20763-1-git-send-email-keith.busch@intel.com>

On Tue, May 07, 2013@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 :-)

      reply	other threads:[~2013-05-07 21:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-07 20:17 [PATCH] NVMe: Use user defined admin ioctl timeout Keith Busch
2013-05-07 21:05 ` Matthew Wilcox [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130507210548.GH6057@linux.intel.com \
    --to=willy@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).