From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C99FCC433F5 for ; Thu, 21 Oct 2021 11:17:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A300D6109F for ; Thu, 21 Oct 2021 11:17:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230233AbhJULTP (ORCPT ); Thu, 21 Oct 2021 07:19:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230231AbhJULTL (ORCPT ); Thu, 21 Oct 2021 07:19:11 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2314C06161C for ; Thu, 21 Oct 2021 04:16:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=VyH5ywSiW/7Isy9TxEdW6GuCapIoEP7S5itLkyGmeD4=; b=08Sg9xRN4pNy2S24Xgfphq+rBW fuupD+ABSSyMV8mboFL1rS2+ZJBz/rW+Vuo9MTa2huzNPpSc24z3ge8IejiNxVowGM6uMOMiBi1UM P/kbYoaBWpWOC6YrVxFbNZujUY42xT+wPuFC7A5JNbb1+wgnrSPwRC4097s7CP8U9hi+ouaQ8uad8 fahluK771dybLMYL6saStQvFLObmRMROY/NUlLGxQiTd0VpNUe9EON7Yw/TLnnMGTXiLjWBNiKNJc 8mv3xXSQcyCU3mlVbTPv2tf5BmX8cjNMYUw2pdjKXG0oOWVukClSWZjeLhDBQd+eBMS9NumdE2Noi fHziKAyQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mdW44-007K5H-J6; Thu, 21 Oct 2021 11:16:52 +0000 Date: Thu, 21 Oct 2021 04:16:52 -0700 From: Christoph Hellwig To: Manjong Lee Cc: akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, seunghwan.hyun@samsung.com, sookwan7.kim@samsung.com, nanich.lee@samsung.com, yt0928.kim@samsung.com, junho89.kim@samsung.com, jisoo2146.oh@samsung.com Subject: Re: [PATCH 1/1] mm: bdi: Initialize bdi_min_ratio when bdi unregister Message-ID: References: <20211021161942.5983-1-mj0123.lee@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211021161942.5983-1-mj0123.lee@samsung.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 22, 2021 at 01:19:43AM +0900, Manjong Lee wrote: > Because when sdcard is removed, bdi_min_ratio value will remain. > Currently, the only way to reset bdi_ min_ratio is to reboot. But bdis that are unregistered are never re-registered. What is the problem you're trying to solve?