From patchwork Wed May 9 01:33:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kent Overstreet X-Patchwork-Id: 10387977 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 9C1BF60236 for ; Wed, 9 May 2018 01:35:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6DCB5285F0 for ; Wed, 9 May 2018 01:35:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 622AB28FF6; Wed, 9 May 2018 01:35:30 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable 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 0A887285F0 for ; Wed, 9 May 2018 01:35:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933297AbeEIBfR (ORCPT ); Tue, 8 May 2018 21:35:17 -0400 Received: from mail-qk0-f194.google.com ([209.85.220.194]:42976 "EHLO mail-qk0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933506AbeEIBec (ORCPT ); Tue, 8 May 2018 21:34:32 -0400 Received: by mail-qk0-f194.google.com with SMTP id j10so26314428qke.9; Tue, 08 May 2018 18:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=uSwYjPtNSEoklFrqCnXxJR+oVBNqCaRwiiDpFK3C7EM=; b=JnMJo0s6tt70b4nV3Pzz7hAgJX/kQvQkL2Ir/cU+k2+W107vcL2mElJaA30OSsAtuk 6TFuhcOsXUKWXn9JscNb2dhgtCPQmYEYMVv1+jS2kHvx8IVvHejHSTCIKgNjo/dJWelr N/oVdU2kLvGa4TfH12CWrhncwxG2Paj0sL9fAfIKjIB4zjq4VGVB64ph4AilHbJXWJYq ShorCNcqDoyCxOO6PjbLMVYxWm8YsZd+QNiDAphNMbQ9tVY+K+C5RISxlHhM51dOxPsH volRTx+ewsZFGRbldHkSz8FzP9/DmWSucj+X8BQoW0IF8R/zx0bYKFoexRoYjrxZQTX+ qiKA== 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=uSwYjPtNSEoklFrqCnXxJR+oVBNqCaRwiiDpFK3C7EM=; b=fNaicmU1dWKhlVquxovL5AdrlCWaQsO75CuVpyDdNY1R/3SzUAyPhupDJMVxPX6OJO Q5PNBld0qtCBQzRrW3NqxqtCW51k/BWTSDSw49kc7BKBwh6IVKqu1KtsjrtxjmAeMs8k zK8xYfLUhltJrORI03ty7YbOHwfENSt4ZPeD6irmT8owTaSPR3TDmhcGAWDxnMV0Tm6O qoeMwcnA794da3ySiwAsASgtYtfebjctwmZX2r4YgVZ42CXdixoZiZCmhUTyuNs2QdGu dDfBgh527lGcvBUK7RvhKb+Xi8GqtHMbKo1xznJMQEJzzyTlbpaaMI2J9S+FH2RcwtCQ p97Q== X-Gm-Message-State: ALQs6tD971Xz+Wtc+EpfSAj7zv40x9GJsewB+pTIoH0FZzeLMnSIKBWA 9q9Rr6NE1I1M70Z8YrDbNMNz1tv/RQ== X-Google-Smtp-Source: AB8JxZoJlUzUMhBEwnGmxsjW2y/5aikerp+SgxP7MeUfBgQ+F/SbcsXPOH67ju80J4fW9DNjuh+PSw== X-Received: by 10.55.31.233 with SMTP id n102mr35293664qkh.385.1525829670397; Tue, 08 May 2018 18:34:30 -0700 (PDT) Received: from localhost.localdomain (c-71-234-172-214.hsd1.vt.comcast.net. [71.234.172.214]) by smtp.gmail.com with ESMTPSA id x28-v6sm23719003qtx.95.2018.05.08.18.34.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 May 2018 18:34:29 -0700 (PDT) From: Kent Overstreet To: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-mm@kvack.org, Jens Axboe , Ingo Molnar Cc: Kent Overstreet Subject: [PATCH 09/10] block: Export bio check/set pages_dirty Date: Tue, 8 May 2018 21:33:57 -0400 Message-Id: <20180509013358.16399-10-kent.overstreet@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180509013358.16399-1-kent.overstreet@gmail.com> References: <20180509013358.16399-1-kent.overstreet@gmail.com> 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 Signed-off-by: Kent Overstreet --- block/bio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/block/bio.c b/block/bio.c index 5c81391100..6689102f5d 100644 --- a/block/bio.c +++ b/block/bio.c @@ -1610,6 +1610,7 @@ void bio_set_pages_dirty(struct bio *bio) set_page_dirty_lock(page); } } +EXPORT_SYMBOL_GPL(bio_set_pages_dirty); static void bio_release_pages(struct bio *bio) { @@ -1693,6 +1694,7 @@ void bio_check_pages_dirty(struct bio *bio) bio_put(bio); } } +EXPORT_SYMBOL_GPL(bio_check_pages_dirty); void generic_start_io_acct(struct request_queue *q, int rw, unsigned long sectors, struct hd_struct *part)