Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp5109660rwb; Wed, 21 Sep 2022 03:22:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6B6b5dX76VqDfTXI7YCL2G3a9HvQjMz2lkYoJb/0v0VyNX3PsBJicCoCqOEYSqBpKj3YGf X-Received: by 2002:a05:6402:538f:b0:444:c17b:1665 with SMTP id ew15-20020a056402538f00b00444c17b1665mr24370801edb.98.1663755731730; Wed, 21 Sep 2022 03:22:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663755731; cv=none; d=google.com; s=arc-20160816; b=S5JhenIrJoeMl4uZApwWUbrwqTr3dkiG2Fhe1/jATUD5AyJeun+Z+ADSYAW72FjeRs fKup46lwiMD8g5nY7tpnDkiBGROf4Bga9uZx9M+dh/xEWIB/MXlx+rPrJWmiEDugXQgQ +ThhCZS/er90ENh7q0NgRalA6C6OTrlyym12J++3J4uuHhzyg4Ym6oqVRiO+625XSyui WcgEPslWIJbZL3Bw8Zt35/f/Ae/ATpts/fgVTn7Tw9AkcJBJRR2vxVWEYQGXmK193PuU 61GmRmacUVw8RE374bIhByGPFpoX2EnJyJIX5PzIfJUMP2M9d6hE6JvNWKNWjRjNaK3r Y5Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=rTVVsYBOO8OwajnCjfgKs1TplX2n0aTrXXq2VN7PiA0=; b=V0U8vjm0bumLuvIrpHhn+m+ayVEIQkjCm9g5QbVsIYWfuFs3vnWqmaxsEc/Z/PDmr2 0I3uU0JkgJ4QG1R+C4U7GHAlYA9/YeRGdrw7pjvgd+f7nshnn8wuHe5CZaP81vCelLvj TWJxjwXo56JaOaRzCdQarFmUIvcc3e0YGQqOS3XaQRLpNGiKQlqtxqL/rznbRLPasmpt OZklt0rptiqeRegNq39aTPBOBArt8DzPLWEYjeVUZM7O4FfM5Nvu9ekt6c9X1kh64YVO ksMyElrPjPDpdi2548uC2mjCzGlAcOpF7KngNQ5hWbhhaTyZTO8xIEd4RwB8dsNfmCcP m9xw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-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 a20-20020a1709063a5400b0075c4337b02dsi1762198ejf.827.2022.09.21.03.21.42; Wed, 21 Sep 2022 03:22:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231192AbiIUJzn (ORCPT + 99 others); Wed, 21 Sep 2022 05:55:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231613AbiIUJzV (ORCPT ); Wed, 21 Sep 2022 05:55:21 -0400 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [IPv6:2a01:488:42:1000:50ed:8234::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E93F25C6; Wed, 21 Sep 2022 02:55:08 -0700 (PDT) Received: from [2a02:8108:963f:de38:eca4:7d19:f9a2:22c5]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1oawRe-0004yz-68; Wed, 21 Sep 2022 11:55:06 +0200 Message-ID: Date: Wed, 21 Sep 2022 11:55:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: Ext4: Buffered random writes performance regression with dioread_nolock enabled Content-Language: en-US, de-DE To: Theodore Ts'o Cc: hazem ahmed mohamed , "linux-ext4@vger.kernel.org" , "adilger.kernel@dilger.ca" , "regressions@lists.linux.dev" , "stable@vger.kernel.org" , "Mohamed Abuelfotoh, Hazem" References: <48bb6266-2d5c-ffcd-6982-4fd02bfdcfc3@leemhuis.info> From: Thorsten Leemhuis In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1663754108;7b6f0d50; X-HE-SMSGID: 1oawRe-0004yz-68 X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS 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-ext4@vger.kernel.org On 21.09.22 04:41, Theodore Ts'o wrote: > Hazem started separate e-mail threads on this issue (separated by > about an hour), and I replied to the earlier one here: > > https://lore.kernel.org/all/Yypx6VQRbl3bFP2v@mit.edu/ #regbot monitor: https://lore.kernel.org/all/Yypx6VQRbl3bFP2v@mit.edu/ > TL;DR: > > 1) The patch landed in 5.6, and improved performance for some > workloads, and also fixed a potential security problem (exposure of > stale data caused by a race). > > 2) If you are using a storage device >= 128GB, and a version of > e2fsprogs v1.43.2 (released six years ago), the journal size will be > 1GB, which Hazem reported resolved the problem. > > 3) I disagree that we should revert this commit, as it only changes a > default. If you prefer the older behavior, you can change it with a > mount option. Great, thx for clarifying, in that case let me remove this from the tracking: #regzbot invalid: caused by a change of defaults that (among others) was done for security reasons, see Ted's answer in https://lore.kernel.org/all/Yypx6VQRbl3bFP2v@mit.edu/ for details Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) P.S.: As the Linux kernel's regression tracker I deal with a lot of reports and sometimes miss something important when writing mails like this. If that's the case here, don't hesitate to tell me in a public reply, it's in everyone's interest to set the public record straight.