All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shaohua Li <shli@kernel.org>
To: linux-kernel@vger.kernel.org
Cc: axboe@kernel.dk
Subject: [patch]blk-mq: remove obsolete comments
Date: Wed, 19 Feb 2014 20:22:22 +0800	[thread overview]
Message-ID: <20140219122222.GB17818@kernel.org> (raw)


We now have blk_mq_stop/start_queues API, delete the obsolete comments.

Signed-off-by: Shaohua Li<shli@fusionio.com>
---
 block/blk-mq.c |    5 -----
 1 file changed, 5 deletions(-)

Index: linux/block/blk-mq.c
===================================================================
--- linux.orig/block/blk-mq.c	2014-02-17 16:14:57.111662047 +0800
+++ linux/block/blk-mq.c	2014-02-19 16:22:58.114750112 +0800
@@ -598,11 +598,6 @@ static void __blk_mq_run_hw_queue(struct
 			queued++;
 			continue;
 		case BLK_MQ_RQ_QUEUE_BUSY:
-			/*
-			 * FIXME: we should have a mechanism to stop the queue
-			 * like blk_stop_queue, otherwise we will waste cpu
-			 * time
-			 */
 			list_add(&rq->queuelist, &rq_list);
 			blk_mq_requeue_request(rq);
 			break;

             reply	other threads:[~2014-02-19 12:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-19 12:22 Shaohua Li [this message]
2014-02-19 17:28 ` [patch]blk-mq: remove obsolete comments Christoph Hellwig
2014-02-20  3:50   ` Shaohua Li

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=20140219122222.GB17818@kernel.org \
    --to=shli@kernel.org \
    --cc=axboe@kernel.dk \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.