Message ID | CAJtFHUSt1q=YYQXGVg+bK2H4fpDT0c0kqaXj3odLo6KFdJcwfg@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-btrfs-owner@kernel.org> 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 34CE26071C for <patchwork-linux-btrfs@patchwork.kernel.org>; Fri, 25 Nov 2016 14:06:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 21B7E27D5D for <patchwork-linux-btrfs@patchwork.kernel.org>; Fri, 25 Nov 2016 14:06:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 145B527FAE; Fri, 25 Nov 2016 14:06:47 +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.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 42BF727D5D for <patchwork-linux-btrfs@patchwork.kernel.org>; Fri, 25 Nov 2016 14:06:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754790AbcKYOGi (ORCPT <rfc822;patchwork-linux-btrfs@patchwork.kernel.org>); Fri, 25 Nov 2016 09:06:38 -0500 Received: from mail-vk0-f66.google.com ([209.85.213.66]:32917 "EHLO mail-vk0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754566AbcKYOGf (ORCPT <rfc822;linux-btrfs@vger.kernel.org>); Fri, 25 Nov 2016 09:06:35 -0500 Received: by mail-vk0-f66.google.com with SMTP id l126so1838576vkh.0 for <linux-btrfs@vger.kernel.org>; Fri, 25 Nov 2016 06:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=dwbB4uVy05qYAOH84rgWe5wj92ecQgy9gwupEUhia/E=; b=FSlfcWzQbgPYFH/fBTwOsHahsCT6YTNUUI3J6PvhUWvBfuvB35oiohFqBxb+Y7QQIL y7PIZZBj4cX9q1WAzpleePyvfpUAJiEdGBSrd+qfH833ZRRb6Js0LFe3UAoqpXh9OdsK VUrIrgfh3A03FHonMWr5NbvL88ALb2grdEq4Pqs2gnpriu2WPF4oxfBWrZ28j7q2mCSJ +AiUnwdeCE0lI2Ug0ve3EgDJ9vTb5XhYbXObZMQe9jO3PKzg0JpJ8KsIj/m2BbTUJFjU ECg/n4pyVcAszYaYgE1HT3da4S34W/Kuixj6NNtrdBy0Qah4ewksRtDpKTTjDOBCcOeh vG8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=dwbB4uVy05qYAOH84rgWe5wj92ecQgy9gwupEUhia/E=; b=R1PTeHsYQos0xr3AXS4HinadmUeBCXPjNoqGJ9nk3VGk6UFF6A8apK7johv63DcW6Y BmRhsWP/eVeBzjFRKLmBezpmgO7oBLiZSY9img1g/DH40d0XuKfTbXFBhLzYCJ29l/kC 1l6VcAqS8+cuBoyp/mk7/Zb7VCN89gRdgrSXG7rVea4y6/nxpB4HrBT0T/Db7BxwLdSv OVfjybnpp48aIohEy2ePwQjpJSFeDP413oweDs1ZMRqDwcwlWV59fxzoIR/LtpYN6Xs6 A6baK4HDOTQ5iHB2fxhdapy6uNFwARm+fyRg9lOzhn8RL8jPkMFJMXxK0XiYAo6M/kbf yq1g== X-Gm-Message-State: AKaTC03aqzXVb+nfPHiRxpFVvePZ1KyBzgej0ol6JuCPzEMfjK3bno5ryCkISB+TCCnODQgqmlkqlhRE+MY+yQ== X-Received: by 10.31.183.144 with SMTP id h138mr2425187vkf.48.1480082794041; Fri, 25 Nov 2016 06:06:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.159.48.155 with HTTP; Fri, 25 Nov 2016 06:06:33 -0800 (PST) In-Reply-To: <74787aa3-4140-2bae-ce59-5b67db33d811@suse.cz> References: <bug-186671-27@https.bugzilla.kernel.org/> <20161103115353.de87ff35756a4ca8b21d2c57@linux-foundation.org> <b5b0cef0-8482-e4de-cb81-69a4dd3410fb@suse.cz> <CAJtFHUQcJKSnyQ7t7-eDpiF2C+U23+iWpZ+X6fGEzN8qdbzmtA@mail.gmail.com> <a8cf869e-f527-9c65-d16d-ac70cf66472a@suse.cz> <CAJtFHUQgkvFaPdyRcoiV-m5hynDGo2qXfMXzZvGahoWp2LL_KA@mail.gmail.com> <bbcd6cb7-3b73-02e9-0409-4601a6f573f5@suse.cz> <CAJtFHUSka8nbaO5RNEcWVRi7VoQ7UORWkMu_7pNW3n_9iRRdew@mail.gmail.com> <CAJtFHUTn9Ejvyj3vJkqnsLoa6gci104-TPu5viG=epfJ9Rk_qg@mail.gmail.com> <4c85dfa5-9dbe-ea3c-7816-1ab321931e1c@suse.cz> <d0a4adfc-5017-71ba-c895-fc7603b54f7a@I-love.SAKURA.ne.jp> <CAJtFHUT3qK_DA2xPbWpjeaeHyqksM7+bYvvrFtL5g0=uP0jrvg@mail.gmail.com> <CAJtFHURrPdJcLrB1sN6YUnJ4F-aH6oSbMY59gVwiEHPt+BL9KA@mail.gmail.com> <74787aa3-4140-2bae-ce59-5b67db33d811@suse.cz> From: E V <eliventer@gmail.com> Date: Fri, 25 Nov 2016 09:06:33 -0500 Message-ID: <CAJtFHUSt1q=YYQXGVg+bK2H4fpDT0c0kqaXj3odLo6KFdJcwfg@mail.gmail.com> Subject: Re: [Bug 186671] New: OOM on system with just rsync running 32GB of ram 30GB of pagecache To: Vlastimil Babka <vbabka@suse.cz> Cc: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>, Andrew Morton <akpm@linux-foundation.org>, bugzilla-daemon@bugzilla.kernel.org, linux-mm@kvack.org, Michal Hocko <mhocko@kernel.org>, linux-btrfs <linux-btrfs@vger.kernel.org>, "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>, Joonsoo Kim <iamjoonsoo.kim@lge.com> Content-Type: text/plain; charset=UTF-8 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: <linux-btrfs.vger.kernel.org> X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
--- fs/btrfs/inode.c 2016-11-13 13:32:32.000000000 -0500 +++ ../linux-4.9-rc6/fs/btrfs/inode.c 2016-11-23 08:31:02.145669550 -0500 @@ -1159,5 +1159,5 @@ unsigned long nr_pages; u64 cur_end; - int limit = 10 * SZ_1M; + int limit = SZ_512K; clear_extent_bit(&BTRFS_I(inode)->io_tree, start, end, EXTENT_LOCKED,