From patchwork Fri May 18 07:49:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kent Overstreet X-Patchwork-Id: 10408395 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 61EA9602CB for ; Fri, 18 May 2018 07:50:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 51E752886E for ; Fri, 18 May 2018 07:50:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 44B5728892; Fri, 18 May 2018 07:50:25 +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=-3.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C8EF028875 for ; Fri, 18 May 2018 07:50:24 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D11946B0593; Fri, 18 May 2018 03:50:21 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id C96416B0594; Fri, 18 May 2018 03:50:21 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id BADE86B0595; Fri, 18 May 2018 03:50:21 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-qk0-f200.google.com (mail-qk0-f200.google.com [209.85.220.200]) by kanga.kvack.org (Postfix) with ESMTP id 8C39C6B0593 for ; Fri, 18 May 2018 03:50:21 -0400 (EDT) Received: by mail-qk0-f200.google.com with SMTP id w201-v6so672770qkb.16 for ; Fri, 18 May 2018 00:50:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:date :message-id:in-reply-to:references; bh=uSwYjPtNSEoklFrqCnXxJR+oVBNqCaRwiiDpFK3C7EM=; b=moEqcAueKDKwTB51a0z/QQkDLK5XpCwtTB51hB4hDVThWRYk4bik398l8WAs9sKHFi US+0lkG1XKzf4wa3qLakoxfauWGZaYrTxaQeUbOObETAXuq/DVMAwoYhiG6GFrfmkWkA ou/Ja8dG08p7RZFWqTc08rB4lHkMGIp48VabgpZK0CrVSwhJyoGV2C0iOT59HPY2bmcH dMrk852bvVe1khzHDAq/s6a8KNw+O3yi5kEd02TWWa+Pl7w7XaN6Eb6Oz9FJ44Qz8dHt 6x/H4WtpTZMMPNOMcenx+QlfXzYhwTboQuBdFTqkyAxQkqF+dnx87pHzsNbxFHu2Kp/F /l+g== X-Gm-Message-State: ALKqPwdc5TY1SKk0g8uUa6EYMXgV3CTa7DlPK8JabjYzEbfP/El/mMJy OstqmXtSgI3gzPzitt0d+VJiuwaPHk4l7HdAdFAQ3CAWVjyWpGl3td0Io5+Vg0336t9JvWezGNE FDyGDAM3yGE3BR0i/fbLgBn0NYQVOYlKOythQqhY2s/bZDqeWSd6PrJTM4MA879AVsD0tv+naGq PQqSpMfzNYwpqI5g7gNtPTaHdDNTAWc9hXmIESdAtX/ABvioiKyGtQ5BzIXclp+aIN8cLn3aahv LPdJYML0QnzzT6Uyhi9JrrJFdOnynmxYTtaYj/2phrxnmq8K+MdQxi3wG7oVqHsfu/72+o/HWNC SoLqW8ecZu5aVY+T+1LJ8DOFKHX8bamsGN6fdbAua0SOZTbs6GCVgrL/F3T9H2BPAHdrgyodFY2 Y X-Received: by 2002:ac8:4141:: with SMTP id e1-v6mr8098236qtm.324.1526629821394; Fri, 18 May 2018 00:50:21 -0700 (PDT) X-Received: by 2002:ac8:4141:: with SMTP id e1-v6mr8098217qtm.324.1526629820999; Fri, 18 May 2018 00:50:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526629820; cv=none; d=google.com; s=arc-20160816; b=HdRkwPzyPov1PvFfwlOUt8i3+jb/j7iSl1TFUVIBBToWTvBrnUf0U2qNnR+5G+1euu 2k2cJx9M7T+kth6eEwL0AM2BANAAZnGzU8XIO0eqWqMxwhMSHOxJ4hGHlNq2ZTEnzgbg VUSTc7zNNnaA8GzG8hxxgFG8cDgM0bwomUMDfzV4zDaHVu0lgPuHldLI8zFQ3JxWjWdi eu3cqX2sx0ftulC5dULz5rmrqujTqVz8FfKPzT/FddLzU4GS05/YE2dDdMCHq3UPXPDb HWeoSn554G0PZ30DiKME9VMLe1XAB8VH8iOhkwvMrIm3fNrxez0mRuhRaN96/gIM+I2Y TyNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=uSwYjPtNSEoklFrqCnXxJR+oVBNqCaRwiiDpFK3C7EM=; b=Qfmpo+POE/zTOKQfAVEHbnZjy3QA8BqrIfUbJyRPrG49nnmmFGSMb4mDV5mATnC3WP /4v8OWpoeZJO9RH8JVleqZGcdrhyS+wZYyDMQJo7A49POnNcaTKW9D5B2J+EdKfBYMmF cie17tL2tlUA8N8XaQZKLiMNeTcrR1hF7JF7MeIn/+Kfib3OndFNnXy+ONQ/brGBWlw7 35KsLGV7RkiR/HpwmXyWpmDw30UGxN/bV4tR57FiofgcEK4/lf0/DJbjALxmENn+ZVad Y7oGhohC0sFw5YBGRn/S7k9R9c9K3eXYt5GLmujqOOxSiRb2xc5E+oM89yQzYwbYzKY9 BDPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bnvIHBjb; spf=pass (google.com: domain of kent.overstreet@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=kent.overstreet@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id m17-v6sor5252250qvo.111.2018.05.18.00.50.20 for (Google Transport Security); Fri, 18 May 2018 00:50:20 -0700 (PDT) Received-SPF: pass (google.com: domain of kent.overstreet@gmail.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bnvIHBjb; spf=pass (google.com: domain of kent.overstreet@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=kent.overstreet@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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=bnvIHBjbOjfduzzRBnE4nkt3OuuPNDGmHndDe2MJ4FAhKT+CuuKlkQFW9PpuXrsKTg BjM5x0gpF6Wz1MfT0c1bQkexfJztiNoDb5NBIbFgd7QYXxK0HdtVOErh87y8WJZqEcIf FxWruSM1YWcLJK60wXrrVjuegbQmj9umO3+yDOGt/zpBqro+XsdPBFNy+uaiA5ZpCrYF 7CxzDGjcsESoi4h7E72lvC9zx3jtGh/pQB2caGcTB+3OZTWLAPGPV7n+C5b2nBWvW5w0 B/ZAkhYhZQrWLrNke3/8xq3hEJfsK/E01CTic0B2UFir07ZMV5GWABrvMn7S7PwDAOB4 fx8w== X-Google-Smtp-Source: AB8JxZqhYHFhnYlhyPTfBouIvaIsRmbrqI/84W16vZiMh12FQpbylxHaT1Eub+S5Btf3KlbzPvWNig== X-Received: by 2002:a0c:9487:: with SMTP id j7-v6mr7823554qvj.104.1526629820740; Fri, 18 May 2018 00:50:20 -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 s64-v6sm5443004qkl.85.2018.05.18.00.50.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 May 2018 00:50:19 -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: Fri, 18 May 2018 03:49:15 -0400 Message-Id: <20180518074918.13816-18-kent.overstreet@gmail.com> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180518074918.13816-1-kent.overstreet@gmail.com> References: <20180518074918.13816-1-kent.overstreet@gmail.com> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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)