Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760087Ab2FGGQZ (ORCPT ); Thu, 7 Jun 2012 02:16:25 -0400 Received: from mail-bk0-f46.google.com ([209.85.214.46]:33440 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759931Ab2FGGQW (ORCPT ); Thu, 7 Jun 2012 02:16:22 -0400 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 7 Jun 2012 15:16:20 +0900 X-Google-Sender-Auth: 5QoOw4mWg_WEEH5XD9GUiH14lp4 Message-ID: Subject: Re: [PATCH] blk-exec-assign-endio-before-queue-dead-check From: Tejun Heo To: Muthu Kumar Cc: Jens Axboe , James.Bottomley@hansenpartnership.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 784 Lines: 21 Hello, again. On Thu, Jun 7, 2012 at 3:13 PM, Muthu Kumar wrote: > blk-exec.c: In blk_execute_rq_nowait(), if the queue is dead, call to > done() routine is not made. That will result in blk_execute_rq() stuck > in wait_for_completion(). Avoid this by initializing rq->end_io to > done() routine before we check for dead queue. Sorry to be nit-picky but Jens would appreciate proper subject and it would also be nice to mention the locking change (or even separate that into a separate patch). Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/