From patchwork Wed Apr 5 19:01:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Omar Sandoval X-Patchwork-Id: 9665483 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2E4F4602B5 for ; Wed, 5 Apr 2017 19:02:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1C4BA2856A for ; Wed, 5 Apr 2017 19:02:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 10AF4285A5; Wed, 5 Apr 2017 19:02:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C88DF2856A for ; Wed, 5 Apr 2017 19:02:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756060AbdDETC6 (ORCPT ); Wed, 5 Apr 2017 15:02:58 -0400 Received: from mail-pg0-f41.google.com ([74.125.83.41]:33540 "EHLO mail-pg0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756046AbdDETC5 (ORCPT ); Wed, 5 Apr 2017 15:02:57 -0400 Received: by mail-pg0-f41.google.com with SMTP id x125so12936313pgb.0 for ; Wed, 05 Apr 2017 12:02:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osandov-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=V+ozS+WEmfXVha7G7U2SYX7zj5w7ZuYr7AWbSaexk4M=; b=TMrxAOzgIZONr3cisn4Wz0qco+wxiX2YtcDtOJkiradWT+xJ7tBTl/KBW5eocZfm0Q WLDi9l01zmm6AoJSw/hC3x2+Ku5sZHfPmpsODGz+FjqBIpVT16K2SSKKsY7MCYAT23il KpjanHKJp9D9zmp5NFXWCwB4jgSXkTQ9p+6BY86CguqJFoihj9DuSWvUE7veQFOHyLcx dEI5rmrcj5dJabKfFurkv5RknTymy8Gl0xaG0FlQtMK0nOf8S4fnp5KhJrpA1Nz0KFUS uQhht20HJ4ZMXQXVuULUb/Drhr4MoxEu2JsN/Ri7mR3Mp1WtoN7TKZu/O0+d5EnDuh/v 2/yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=V+ozS+WEmfXVha7G7U2SYX7zj5w7ZuYr7AWbSaexk4M=; b=Xgter2cnNDW7DnHSUWodVhYLwIfVFCdCgMFutyhU9Q+7Eqs6ZJ9FllFl9h2oAK+5bA kTN74cM6zWvZdaJdZW2nCUlqU8qxWJF86ZtfdPn1hW6FqqlN3DWG+IYViKA5Jh7WQLPp X40e+DwAcZt0AkWbOTBv+9R7mKFUkiK8WozYU2BG/PYys5ovNgOv5lZD0L/nTFgn0rMZ GleL4XRvVihAgHnac3QdmjYYtnXmUSIqokqgg0REPwGntrE5ICoq265BAY/l0n5neKU+ mhGY1VD7GNWWEzClY+Ttig14kjRB5NpkW/qPS9qsrlN+kJMgD2Mc3nNxaBu5NetFT5A9 RdPQ== X-Gm-Message-State: AFeK/H3lGHIBle2Jn9+ZB8HC6zjfNKBdPF8Up7LCWAvmmcS1R3XsaiuTqGjIU1fomNSb63v1 X-Received: by 10.84.225.145 with SMTP id u17mr37519970plj.91.1491418976677; Wed, 05 Apr 2017 12:02:56 -0700 (PDT) Received: from vader.thefacebook.com ([2620:10d:c090:200::a:a8dd]) by smtp.gmail.com with ESMTPSA id 4sm5610375pff.17.2017.04.05.12.02.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Apr 2017 12:02:56 -0700 (PDT) From: Omar Sandoval To: Jens Axboe , linux-block@vger.kernel.org Cc: kernel-team@fb.com Subject: [PATCH v3 8/8] blk-mq: use true instead of 1 for blk_mq_queue_data.last Date: Wed, 5 Apr 2017 12:01:36 -0700 Message-Id: <78a868e8cbebc63525fe9aedc226c971a89d8186.1491418411.git.osandov@fb.com> X-Mailer: git-send-email 2.12.2 In-Reply-To: References: In-Reply-To: References: Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Omar Sandoval Trivial cleanup. Signed-off-by: Omar Sandoval --- block/blk-mq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index de57e7727c52..c82fcb923ff8 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -1435,7 +1435,7 @@ static void __blk_mq_try_issue_directly(struct request *rq, blk_qc_t *cookie, struct request_queue *q = rq->q; struct blk_mq_queue_data bd = { .rq = rq, - .last = 1 + .last = true, }; struct blk_mq_hw_ctx *hctx; blk_qc_t new_cookie;