Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp3894535pxm; Tue, 1 Mar 2022 07:25:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJyBJSMPkJWIiNSkIdFW+5p0uoO5FSKcmEGC9Xtmf72qhC49wXOJ+F+cNhaRfzT1SfC3zS7X X-Received: by 2002:a17:903:244e:b0:150:9b8c:3a6f with SMTP id l14-20020a170903244e00b001509b8c3a6fmr22230972pls.120.1646148311469; Tue, 01 Mar 2022 07:25:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646148311; cv=none; d=google.com; s=arc-20160816; b=fTeJGFxE9z1zTWnMi5sXuESqp0z37MXnycMvKmYD5BGMoHtIYY3/wPSbRdQz4VvfZv znw3m6+vJx6XTQSqSkUI2gSE1KRKK3eaMmbZiYlDpDnS0kzgA8fXj2i0lnn9uLNRv0TT E6owfl+vujIiMvpxAwcEl021G4SrCgcfnDeBXvhbRLRtcSfSm5BmdTMZyNrmY+eggl4Y 1I7dCyuJqF4vNAG2xhLJutCRespJjKCLRYf7jJaTivRMD+1xv8PKnEB485yNLeWgXQdE JnYdApznJ5h1+DS27Yyb1s2H15bsW9WxMqyfhKxQCiT1SZDMfRMbU0B/OJk/RrqL/usD dMgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-topic:thread-index :content-transfer-encoding:mime-version:subject:message-id:cc:to :from:date; bh=BfVHpI0MF0B++QvCJ2jEOpkw5EpE+AkQp9YKJZZL6VQ=; b=DPryKjX4jEJC2xKZjI9ILE5MrOd3qCyohgkDfMDri/LXC/HghU8TU1AMYvZRWMaKFO 2dR2f4x+9SDtveh4TVrCC/6QX3Wg7NzdOlcmuZR5k8AdQfxQ1fH9UmVJ4yCk7GdGQytv oyt4R2OKUt4PWUWWxEu/B/nmji/WY4NN6Xqm+v89KieiCVtttUtkF/1wAe0HOGuYE2mt MzL/1fd4SVXGPp3KN35dO6SYXYGRTOlZjY5oOYL0WamawL793AVKk2BjjIq8f5flJfVQ MbBUnDB77FNSNIzQb2DmFj6uQL/x+lc40KXsTdJB7UHK147/kvdrbdPAGC6kFJaaR5xQ km+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s203-20020a632cd4000000b003653ba72c24si2855166pgs.434.2022.03.01.07.24.53; Tue, 01 Mar 2022 07:25:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233159AbiCAK27 convert rfc822-to-8bit (ORCPT + 99 others); Tue, 1 Mar 2022 05:28:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230272AbiCAK26 (ORCPT ); Tue, 1 Mar 2022 05:28:58 -0500 X-Greylist: delayed 600 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 01 Mar 2022 02:28:16 PST Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E03E4F9F5; Tue, 1 Mar 2022 02:28:16 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id D7119609B3C0; Tue, 1 Mar 2022 11:11:57 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id uHtvGrDw6G89; Tue, 1 Mar 2022 11:11:57 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 77E61609B3F0; Tue, 1 Mar 2022 11:11:57 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id V9Nv3lnaehro; Tue, 1 Mar 2022 11:11:57 +0100 (CET) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id 47DDE609B3C0; Tue, 1 Mar 2022 11:11:57 +0100 (CET) Date: Tue, 1 Mar 2022 11:11:57 +0100 (CET) From: Richard Weinberger To: wuchi.zero@gmail.com Cc: =?utf-8?Q?Rafa=C5=82_Mi=C5=82ecki?= , jack@suse.cz, tj@kernel.org, mszeredi@redhat.com, sedat.dilek@gmail.com, axboe@fb.com, akpm@linux-foundation.org, torvalds@linux-foundation.org, linux-mm , linux-mtd , linux-fsdevel , linux-kernel Message-ID: <2104629126.100059.1646129517209.JavaMail.zimbra@nod.at> Subject: Different writeback timing since v5.14 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF97 (Linux)/8.8.12_GA_3809) Thread-Index: 5JNzjBL9+smBCCGCkEapAfbWm9hEtw== Thread-Topic: Different writeback timing since v5.14 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE,T_SPF_PERMERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! RafaƂ and I discovered that page writeback on UBIFS behaves different since v5.14. When a simple write, such as "echo foo > /mnt/ubibfs/bar.txt", happens it takes a few seconds until writeback calls ubifs_writepage(). Before commit ab19939a6a50 ("mm/page-writeback: Fix performance when BDI's share of ratio is 0.") it was 30 seconds (vm.dirty_expire_centisecs), after this change it happens after 5 seconds (vm.dirty_writeback_centisecs). Is this expected? Just want to make sure that the said commit didn't uncover an UBIFS issue. Thanks, //richard