Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2927074rwb; Sat, 24 Sep 2022 18:55:55 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7DUIjs9AGFJcyU9TgpFKlpajcvqZ5c4DmjU7AnvvXwyTFQf8v1pW+xNrYzrb27KrUt7+bw X-Received: by 2002:a17:907:6d16:b0:781:be64:d192 with SMTP id sa22-20020a1709076d1600b00781be64d192mr12916000ejc.615.1664070955657; Sat, 24 Sep 2022 18:55:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664070955; cv=none; d=google.com; s=arc-20160816; b=Us4cTuaxsRSiHAjvXRVqTZulk5GS2wpb5HC8has+5eoEzw4/pjHpx3yQT1uOByZNpB w5+Z2Bcm87NdnbHsR9TyNo7IYMwWiSi4hEcQQJcpSdwsCWMBGKoBJq3N6Xdf+mYGsEJ/ btLHtixC/8rnJKIhNdPpEjOE2uza9/ThVNn8QGXiZnf4e2IPNFq8b6hXxEm0nqRWrQcL 8jKdq0PL6zDbmczRqidLJWBKW9kq2Y+WaSVZNrjebxPp1VsdZmx0F7DcM0GZpeCbzfCf wrPXoAaPw0tqHrJ9YfTX9/emMbfzLdtZZH42yBLh+YNCs9b62gpO2Dq8dy7AozWHorHL tAQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=37AvudU+2RcZXPsBoQfv6QjDwsbpfDJ6c1k4PgL7c1A=; b=GEL74jn0+3J2wycZO0VCfPqKtfxB0gzC3ZIxIO0ThnWwsQQLXxI+jTyH1FPoUayTlK IjQZ0ium4cvxxhA9xqUAeksPGzpUm092WBwl6Lu8ciYaV4wsIVQND4WiFRYDE6dCnAak 5gMl8LvEiYdD+nrdzW81KJFgY7OFpYM6f31UyIUxy4txnMsSArsEDCg1EF028Txdc0Q8 aa/RcGR/8At8ykTHIzdGr37ezZxEY5EX6gMa9LxKNmrrLLCcze8356jjG3Pk2THuaLgY WL4OlcP/cndT21PMi0GsSKBHRpv/mAc6lLGOeFamVUOkFHIP8IFrdithqfjXksZ9zNhX rUtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mit.edu header.s=outgoing header.b=aydjswFi; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lg5-20020a170906f88500b007806acadb4bsi10457593ejb.635.2022.09.24.18.55.15; Sat, 24 Sep 2022 18:55:55 -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; dkim=fail header.i=@mit.edu header.s=outgoing header.b=aydjswFi; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mit.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229458AbiIYBzN (ORCPT + 99 others); Sat, 24 Sep 2022 21:55:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbiIYBzL (ORCPT ); Sat, 24 Sep 2022 21:55:11 -0400 Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AFBBF2A252; Sat, 24 Sep 2022 18:55:09 -0700 (PDT) Received: from cwcc.thunk.org (pool-173-48-120-46.bstnma.fios.verizon.net [173.48.120.46]) (authenticated bits=0) (User authenticated as tytso@ATHENA.MIT.EDU) by outgoing.mit.edu (8.14.7/8.12.4) with ESMTP id 28P1t33c028813 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 24 Sep 2022 21:55:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mit.edu; s=outgoing; t=1664070904; bh=37AvudU+2RcZXPsBoQfv6QjDwsbpfDJ6c1k4PgL7c1A=; h=Date:From:To:Cc:Subject; b=aydjswFim7Peq2/k2acc9rTw08zTtTE0mTfS5lnQwcnVL8x0/zAApNNDKlv443SA1 clNxj6rvCAXUg6cihK59AG2mpu/j8D4t3nzaP+H8Yn11rbV7GBaR7MZKFlRPGV7Xhu AslPYUFM/uS/DWIzrQGIDuMaKPNVBBAjvfpjrtNEQY2vZes5xPtz7VhpYaJNdUCfVn SIfiNziSxwCgSjBLbjFIYb/aw5Xu5nfNjUAkpHraZKdmchQK8StJjv1/33HRbE1iBV 3vDD/kdNjQITz02//w1wDKOlRitXlTbhTxPKvTraTtax+ZIkw7O7WtYTQqX96FdQaD /9fNjaLeo1oqw== Received: by cwcc.thunk.org (Postfix, from userid 15806) id 37C9E15C5274; Sat, 24 Sep 2022 21:55:03 -0400 (EDT) Date: Sat, 24 Sep 2022 21:55:03 -0400 From: "Theodore Ts'o" To: Linus Torvalds Cc: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] ext4 bug and regression fixes for v6.0 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 The following changes since commit 7e18e42e4b280c85b76967a9106a13ca61c16179: Linux 6.0-rc4 (2022-09-04 13:10:01 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus_stable for you to fetch changes up to 80fa46d6b9e7b1527bfd2197d75431fd9c382161: ext4: limit the number of retries after discarding preallocations blocks (2022-09-22 10:51:19 -0400) ---------------------------------------------------------------- Ext4 regression and bug fixes: - Performance regression fix from 5.18 on a Rasberry Pi - Fix extent parsing bug which triggers a BUG_ON when a (corrupted) extent tree has has a non-root node when zero entries. - Fix a livelock where in the right (wrong) circumstances a large number of nfsd threads can try to write to a nearly full file system, and retry for hours(!) ---------------------------------------------------------------- Jan Kara (5): ext4: make mballoc try target group first even with mb_optimize_scan ext4: avoid unnecessary spreading of allocations among groups ext4: make directory inode spreading reflect flexbg size ext4: use locality group preallocation for small closed files ext4: use buckets for cr 1 block scan instead of rbtree Lu?s Henriques (1): ext4: fix bug in extents parsing when eh_entries == 0 and eh_depth > 0 Theodore Ts'o (1): ext4: limit the number of retries after discarding preallocations blocks fs/ext4/ext4.h | 10 +- fs/ext4/extents.c | 4 + fs/ext4/ialloc.c | 2 +- fs/ext4/mballoc.c | 318 ++++++++++++++++++++++++++++--------------------------------- fs/ext4/mballoc.h | 1 - 5 files changed, 154 insertions(+), 181 deletions(-)