From patchwork Thu Aug 9 20:26:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Omar Sandoval X-Patchwork-Id: 10561901 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 28985139A for ; Thu, 9 Aug 2018 20:26:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1638E2B9EE for ; Thu, 9 Aug 2018 20:26:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0A8852B9F7; Thu, 9 Aug 2018 20:26: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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,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 AEEE62B9EE for ; Thu, 9 Aug 2018 20:26:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727166AbeHIWx0 (ORCPT ); Thu, 9 Aug 2018 18:53:26 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:45562 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726890AbeHIWxZ (ORCPT ); Thu, 9 Aug 2018 18:53:25 -0400 Received: by mail-pf1-f194.google.com with SMTP id i26-v6so3362051pfo.12 for ; Thu, 09 Aug 2018 13:26: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; bh=SMVADMEVXu+i1LcNhMjePuGVnm30RbDJM7+K3ct3i3I=; b=1I+br2h57IXNqb9i8cbHgB1Axmha+sjS2+RJEESYNwWmI4AIjCLAOnGFNn4UVLVxdB QIgNu2CrHOEFtmUBKAC98DpCeHpATzwW6oiPGKsFui6stLPOfNm9gSkZMF3RKW/TBZsV p+q/B3/OjoCod1Ri/sYLmRt+BWJt+VSraeYa3DFtsKnEGgGF5kNylKf1oeE5vafl0hLd QjGljNAcYD+cm/eZsbiSAaySH/15Lxy1CcIDEPNYlwG8YeScoOI2pqoY8DTt6pg+G58o DN2/bsTak8saLiVmP7ZGBCHgI5OkG13YEGBG1kIwf0nlc1kwpX+jkrXoQLRMDmlUXO0j 4XVA== 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; bh=SMVADMEVXu+i1LcNhMjePuGVnm30RbDJM7+K3ct3i3I=; b=Bfii1rhfXMS98ZhNSyQvFVrK0Y5vRFoT8cZ6IPVoEgcKn36z3ZoxKIJT6QHzdhSZKL Ze8GUXXMibcG9oZkubwkrKj/qLxSmmSFLlwte9LILW9t0+po3cAje+1lYFsjajQQOUSK U9cvzRTYQviHjxEiU4q549+p3qhKktWs0d2gKYuWz+1OtALd8ZtsSdrM2XY1gEdmA3v6 k1cS/fz4KB+X02XutKReXkkokz2sT9p1FzGF1DRJ5rFao3Hh66Jd7syYaI2QWkk1Qhoe DanjdP6iNr9/xxN9x8WQSZvatYhtLwRp5K91AD2o0LuH2C9bp+vNANZWTIu95EUucm1l sspQ== X-Gm-Message-State: AOUpUlHVcl288nvGXRC/YRueFUvyg8vnkSAXYdw14vXouKd/r/T7K8CO V29oP3Ci9Rog4y/MDNPG0nC0l0IXl6g= X-Google-Smtp-Source: AA+uWPyPGYbh1wW5iMLXIp/gMDYPSPC7kip0PT2XTTt3+msQpA72Z2G9mtWXCivEqPK8ls+zl4ZueA== X-Received: by 2002:a62:be03:: with SMTP id l3-v6mr3864796pff.138.1533846417134; Thu, 09 Aug 2018 13:26:57 -0700 (PDT) Received: from vader.thefacebook.com ([2620:10d:c090:200::4:dd24]) by smtp.gmail.com with ESMTPSA id u2-v6sm9841709pfn.59.2018.08.09.13.26.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Aug 2018 13:26:56 -0700 (PDT) From: Omar Sandoval To: linux-block@vger.kernel.org Cc: Jens Axboe , kernel-team@fb.com Subject: [RFC PATCH 2/5] block: export blk_stat_enable_accounting() Date: Thu, 9 Aug 2018 13:26:44 -0700 Message-Id: <0201bd7f86112ddbe7c190a1344b6a030cc2e971.1533846185.git.osandov@fb.com> X-Mailer: git-send-email 2.18.0 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 Kyber will need this in a future change if it is built as a module. Signed-off-by: Omar Sandoval --- block/blk-stat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/block/blk-stat.c b/block/blk-stat.c index 175c143ac5b9..d98f3ad6794e 100644 --- a/block/blk-stat.c +++ b/block/blk-stat.c @@ -190,6 +190,7 @@ void blk_stat_enable_accounting(struct request_queue *q) blk_queue_flag_set(QUEUE_FLAG_STATS, q); spin_unlock(&q->stats->lock); } +EXPORT_SYMBOL_GPL(blk_stat_enable_accounting); struct blk_queue_stats *blk_alloc_queue_stats(void) {