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: 10387967 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 604E260236 for ; Wed, 9 May 2018 01:34:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2F3CC28FF5 for ; Wed, 9 May 2018 01:34:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 23FCE28FF7; Wed, 9 May 2018 01:34:49 +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 AA0C828FF5 for ; Wed, 9 May 2018 01:34:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C772E6B0316; Tue, 8 May 2018 21:34:31 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id C02D06B0318; Tue, 8 May 2018 21:34:31 -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 A08026B0319; Tue, 8 May 2018 21:34:31 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-qk0-f197.google.com (mail-qk0-f197.google.com [209.85.220.197]) by kanga.kvack.org (Postfix) with ESMTP id 6F6F66B0316 for ; Tue, 8 May 2018 21:34:31 -0400 (EDT) Received: by mail-qk0-f197.google.com with SMTP id d128so25174836qkf.18 for ; Tue, 08 May 2018 18:34:31 -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=A1OGrLv7Yt6uEK34MXARQtOpOAyXW8wKvnSprS6PV72zJo4sI3uhDcSS/mfh6bpQ+S QLT4rb4BiNMnw8wgg9cTUT0Pp8G4oHftEcZ3GxO2QDfFdZf/GnCac+TWUX6wTjXuEdS8 XBWZ/bdB10j33BW2Tu8b8V9Y3wy9i2Jo8I0RxweiZ8w4wOfxNVC2OGv39omGbTMmVVUt MrQfGx8EWl0XCi39BvFE4++NkmNUtA2MehSczulz+e9tREokXwIZtPLaQ4VJp/GeSyMt orlPxDea+fnlCsi/jWaAGkibcoDQjKKxUxpr6t7o6lIA6UhmTPpxI6NaLn/JTkofIQl2 +8bg== X-Gm-Message-State: ALQs6tCnlaVHXC4z94MWdyWFNzYOs87PMRGgSS7hmyjQAGxUXHDtZloe BZB6acoE9dutAUhB9BuoyHYSplAvDrczFgh52cFaZ31fxigC9kbebCCpo9yET9vhhToamTAqTxk pHMbbqodXDSJ6WT5s89LYyLGm9d5Ay9PgMz92tLSjQ0ja0tevlq+e34yPAIFbaP8X1ArZCOAu7V r7l/l7605Bs4J8rbKzMtDiDzIGUPHrdyBJmzNk12ucdySMvZjqVI9n/NS4lj7tZsO2iQ4ObSRFF ESl/haqRjqBJodBsnS37F5kbHdLLYtpizhjbvTb9UNdSEWvaVtYKVNUAXqYRhEXXSKSRZLq/WRl KvyMXL+5DeGwBJ8ALkXUNlUaqmWbWgNr5PM/2eEUPzaoL4aa8vD7mNGa9kKZ6vdYKEIKNvBp2g/ Q X-Received: by 2002:aed:3fda:: with SMTP id w26-v6mr38410476qth.15.1525829671229; Tue, 08 May 2018 18:34:31 -0700 (PDT) X-Received: by 2002:aed:3fda:: with SMTP id w26-v6mr38410460qth.15.1525829670747; Tue, 08 May 2018 18:34:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525829670; cv=none; d=google.com; s=arc-20160816; b=OdDpT08FJIWBaOWGqgRQ7kBqb8CZnGKzdi0fzzJ0Fl2I60y3BgAFucF2LH83Ln+CiZ vhKDngHSbF77b7K6/9Hnz+fifTKtYD4g7xWGEHVhr+XmbiknC643GyzqqWIxbFSuTeUR dapYMFCB5pcPdrH+0zGa0AIOitUet8ALiRFpjBvfHVF9XlwhvujpWu8ceWuvVQq0CJGX JvLyu0t4KPuq9v4Oc8vQ5+0X6T7OCahxRpNxw76/c02Rwp6bU8ID5aDFqS26+iin+4lF 5AVBD9UrA3WrdwFjRLOBJ9lQngcZGgGUS6bW4WRSrhZc3dDpZ4YXOpJ+KTCVDux8M+y1 A4zQ== 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=Si7pSsaBOnj90BOptmsQuVPr2fzoGUYnWw17rRHwJOuxnNX47PB00ER4D6h/PU0Mo9 QxqJKI5OTxbyDkj0kNAdiF1clrtDS8Xr5QnuZW9vdUwWqqvZ1AZq+PQ71g0UNAaMVcQC rgO0gL8/uyINDcXpu5wkWAbBbL8R8TVFi4G5dPEG/vFNIexrGx7zAV3RM7KrwC+pv5bt 4/Y4020bVE7IB31H2E7XSpRl47s4YAet02tumoMZ/niMYe+WCqYSgNATHLGZMRBEe2Vs 5x7YzRu/Lr1X4qFQkNYosEzs6UeHgkRun1PH9ZT4dsT7m8KSpg3TYDt0hc46e1z4sfRj P6Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JnMJo0s6; 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 y23sor2762246qkj.27.2018.05.08.18.34.30 for (Google Transport Security); Tue, 08 May 2018 18:34:30 -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=JnMJo0s6; 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=JnMJo0s6tt70b4nV3Pzz7hAgJX/kQvQkL2Ir/cU+k2+W107vcL2mElJaA30OSsAtuk 6TFuhcOsXUKWXn9JscNb2dhgtCPQmYEYMVv1+jS2kHvx8IVvHejHSTCIKgNjo/dJWelr N/oVdU2kLvGa4TfH12CWrhncwxG2Paj0sL9fAfIKjIB4zjq4VGVB64ph4AilHbJXWJYq ShorCNcqDoyCxOO6PjbLMVYxWm8YsZd+QNiDAphNMbQ9tVY+K+C5RISxlHhM51dOxPsH volRTx+ewsZFGRbldHkSz8FzP9/DmWSucj+X8BQoW0IF8R/zx0bYKFoexRoYjrxZQTX+ qiKA== 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> 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)