From patchwork Tue Apr 4 16:49:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Omar Sandoval X-Patchwork-Id: 9662095 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 D728E60353 for ; Tue, 4 Apr 2017 16:51:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE42627F10 for ; Tue, 4 Apr 2017 16:51:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C337C2833B; Tue, 4 Apr 2017 16:51:18 +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.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM 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 BED14283F3 for ; Tue, 4 Apr 2017 16:51:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932072AbdDDQvM (ORCPT ); Tue, 4 Apr 2017 12:51:12 -0400 Received: from mail-pg0-f52.google.com ([74.125.83.52]:36542 "EHLO mail-pg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754209AbdDDQvK (ORCPT ); Tue, 4 Apr 2017 12:51:10 -0400 Received: by mail-pg0-f52.google.com with SMTP id g2so155821894pge.3 for ; Tue, 04 Apr 2017 09:51:10 -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=YBI8strJL6PfODXtIpIrNQU2MrbpnPzJyETsx4VNAd8=; b=x7FVEhHpcyyFKo4c2izlsKL6YB0ot1LgvF/8p9OTAESdI7VCHjhp+8DoYXe3Yj1hsZ pjVIRc277H9xG825AyWyqMs7hlKL4AwaErCPYwbLTZcnFeIAFgKSUFNMVzaI++naKkb9 PeGIGxRcYnBv02CZ/wthNIMJJQbtIfAYL2dPhL0i0E2fhZT56ROtUFY+m1fO0VSNxnXR ZxpZzffwo2/SYeMf8gbm9UrrmUXJwH/Pm12wsA4eV4bTP4y2y31KXcYXdtUttcYdJ0EK /uWlGgA11g7F58yYRvy0Hq0yb+E0xR/tjKsci8zDi4WSf3cI6EeLJ0vip4FP2Pn58c+R 5jpg== 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=YBI8strJL6PfODXtIpIrNQU2MrbpnPzJyETsx4VNAd8=; b=nag6cXMm+PHaId9QNQ0dA2AwZn/Hiie+HxS0FinUrIo2eQpEU+sXFJRI/hLuic/5up 7NjYS8r//ZFXBCYXFlnwbYWkv6BeuIy3byCX1PXWIknaQzvEZrS5xiq4zqQDTnLk6L58 KAJkiUcI7prDOEKkUfoVd0QomYEeIkT1X0U5cPGNIxo8LohcaqwsUbXm9WY8CLqyzBZo 5tGFZHscprtZXFuCE1c2EF6Q1cT1GPZn0mm5oyU2mEJo8RxrXZWzPnEK3FROxUBDFYlV 3rlJDQ3hM99mGVg8OdTMyFZhvqTedoWODOUv/ey460/gxXAY/7sCGeT0gvTcUDxENYlw El6Q== X-Gm-Message-State: AFeK/H1Alwx9ZznMNG116STYHaMUqYkypkdoXAiGLpRSgu01c/4Qtc+z78YFOlSOu0OGnRMR X-Received: by 10.98.209.73 with SMTP id t9mr24339791pfl.203.1491324665090; Tue, 04 Apr 2017 09:51:05 -0700 (PDT) Received: from vader.thefacebook.com ([2620:10d:c090:200::e:987e]) by smtp.gmail.com with ESMTPSA id z25sm32835297pfi.28.2017.04.04.09.51.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Apr 2017 09:51:04 -0700 (PDT) From: Omar Sandoval To: Jens Axboe , linux-block@vger.kernel.org Cc: kernel-team@fb.com Subject: [PATCH v2 4/5] blk-mq: export blk_mq_finish_request() Date: Tue, 4 Apr 2017 09:49:57 -0700 Message-Id: <7b169ea3fc51fff8d9244eb2e3cdbfb168c7fb41.1491324365.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 This is required for schedulers that define their own put_request(). Signed-off-by: Omar Sandoval --- block/blk-mq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/block/blk-mq.c b/block/blk-mq.c index 3dbfed6d0e5b..e75fa7a1a653 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -368,6 +368,7 @@ void blk_mq_finish_request(struct request *rq) { blk_mq_finish_hctx_request(blk_mq_map_queue(rq->q, rq->mq_ctx->cpu), rq); } +EXPORT_SYMBOL_GPL(blk_mq_finish_request); void blk_mq_free_request(struct request *rq) {