Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751736AbaFDQgX (ORCPT ); Wed, 4 Jun 2014 12:36:23 -0400 Received: from mail-ve0-f171.google.com ([209.85.128.171]:55965 "EHLO mail-ve0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751009AbaFDQgV (ORCPT ); Wed, 4 Jun 2014 12:36:21 -0400 MIME-Version: 1.0 In-Reply-To: <20140604163334.GA21501@infradead.org> References: <538F331F.60101@kernel.dk> <20140604145803.GA7826@infradead.org> <538F34FB.7050003@kernel.dk> <20140604153159.GA27096@infradead.org> <538F3FB5.2020102@kernel.dk> <538F44AD.4090906@kernel.dk> <538F4938.7040309@kernel.dk> <20140604163334.GA21501@infradead.org> Date: Thu, 5 Jun 2014 00:36:20 +0800 Message-ID: Subject: Re: [patch]blk-mq: blk_mq_tag_to_rq should handle flush request From: Ming Lei To: Christoph Hellwig Cc: Jens Axboe , Shaohua Li , Linux Kernel Mailing List Content-Type: multipart/mixed; boundary=20cf3071cf80758c9d04fb053a4d Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --20cf3071cf80758c9d04fb053a4d Content-Type: text/plain; charset=UTF-8 On Thu, Jun 5, 2014 at 12:33 AM, Christoph Hellwig wrote: > On Wed, Jun 04, 2014 at 10:28:40AM -0600, Jens Axboe wrote: >> > Attachment patch should be enough. >> >> Yep, looks fine. Care to send as a proper patch, then I will include it? > > I think we an also drop the assignment to q->flush_rq->cmd_flags in > flush_end_io now. > Yes, that is already done, :-) Jens, attachment is the formal one, thanks. Thanks, -- Ming Lei --20cf3071cf80758c9d04fb053a4d Content-Type: text/x-patch; charset=US-ASCII; name="0001-block-mq-flush-clear-flush_rq-s-tag-in-flush_end_io.patch" Content-Disposition: attachment; filename="0001-block-mq-flush-clear-flush_rq-s-tag-in-flush_end_io.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hw0uwvjo0 RnJvbSA3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T5m bHVzaF9xdWV1ZVtxLT5mbHVzaF9ydW5uaW5nX2lkeF07Ci0tIAoxLjcuOS41Cgo= --20cf3071cf80758c9d04fb053a4d-- -- 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/