diff options
author | 2024-09-15 15:09:01 -0400 | |
---|---|---|
committer | 2024-09-15 15:09:01 -0400 | |
commit | ae97578dcfe880dfa3dd24be70f99bd246a9fdd4 (patch) | |
tree | 44109ec3ddd3ea23a5d3d3e33ff5d35163772c10 | |
parent | Create the 6.11 branch with genpatches (diff) | |
download | linux-patches-ae97578dcfe880dfa3dd24be70f99bd246a9fdd4.tar.gz linux-patches-ae97578dcfe880dfa3dd24be70f99bd246a9fdd4.tar.bz2 linux-patches-ae97578dcfe880dfa3dd24be70f99bd246a9fdd4.zip |
Remove redundant patch6.11-1
Removed:
1900_xfs-finobt-count-blocks-fix.patch
Signed-off-by: Mike Pagano <mpagano@gentoo.org>
-rw-r--r-- | 0000_README | 4 | ||||
-rw-r--r-- | 1900_xfs-finobt-count-blocks-fix.patch | 55 |
2 files changed, 0 insertions, 59 deletions
diff --git a/0000_README b/0000_README index 6fb817a0..0367acc2 100644 --- a/0000_README +++ b/0000_README @@ -55,10 +55,6 @@ Patch: 1730_parisc-Disable-prctl.patch From: https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git Desc: prctl: Temporarily disable prctl(PR_SET_MDWE) on parisc -Patch: 1900_xfs-finobt-count-blocks-fix.patch -From: https://lore.kernel.org/linux-xfs/20240813152530.GF6051@frogsfrogsfrogs/T/#mdc718f38912ccc1b9b53b46d9adfaeff0828b55f -Desc: xfs: xfs_finobt_count_blocks() walks the wrong btree - Patch: 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch From: https://lore.kernel.org/linux-bluetooth/20190522070540.48895-1-marcel@holtmann.org/raw Desc: Bluetooth: Check key sizes only when Secure Simple Pairing is enabled. See bug #686758 diff --git a/1900_xfs-finobt-count-blocks-fix.patch b/1900_xfs-finobt-count-blocks-fix.patch deleted file mode 100644 index 02f60712..00000000 --- a/1900_xfs-finobt-count-blocks-fix.patch +++ /dev/null @@ -1,55 +0,0 @@ -xfs: xfs_finobt_count_blocks() walks the wrong btree - -From: Dave Chinner <dchinner@redhat.com> - -As a result of the factoring in commit 14dd46cf31f4 ("xfs: split -xfs_inobt_init_cursor"), mount started taking a long time on a -user's filesystem. For Anders, this made mount times regress from -under a second to over 15 minutes for a filesystem with only 30 -million inodes in it. - -Anders bisected it down to the above commit, but even then the bug -was not obvious. In this commit, over 20 calls to -xfs_inobt_init_cursor() were modified, and some we modified to call -a new function named xfs_finobt_init_cursor(). - -If that takes you a moment to reread those function names to see -what the rename was, then you have realised why this bug wasn't -spotted during review. And it wasn't spotted on inspection even -after the bisect pointed at this commit - a single missing "f" isn't -the easiest thing for a human eye to notice.... - -The result is that xfs_finobt_count_blocks() now incorrectly calls -xfs_inobt_init_cursor() so it is now walking the inobt instead of -the finobt. Hence when there are lots of allocated inodes in a -filesystem, mount takes a -long- time run because it now walks a -massive allocated inode btrees instead of the small, nearly empty -free inode btrees. It also means all the finobt space reservations -are wrong, so mount could potentially given ENOSPC on kernel -upgrade. - -In hindsight, commit 14dd46cf31f4 should have been two commits - the -first to convert the finobt callers to the new API, the second to -modify the xfs_inobt_init_cursor() API for the inobt callers. That -would have made the bug very obvious during review. - -Fixes: 14dd46cf31f4 ("xfs: split xfs_inobt_init_cursor") -Reported-by: Anders Blomdell <anders.blomdell@gmail.com> -Signed-off-by: Dave Chinner <dchinner@redhat.com> ---- - fs/xfs/libxfs/xfs_ialloc_btree.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/fs/xfs/libxfs/xfs_ialloc_btree.c b/fs/xfs/libxfs/xfs_ialloc_btree.c -index 496e2f72a85b..797d5b5f7b72 100644 ---- a/fs/xfs/libxfs/xfs_ialloc_btree.c -+++ b/fs/xfs/libxfs/xfs_ialloc_btree.c -@@ -749,7 +749,7 @@ xfs_finobt_count_blocks( - if (error) - return error; - -- cur = xfs_inobt_init_cursor(pag, tp, agbp); -+ cur = xfs_finobt_init_cursor(pag, tp, agbp); - error = xfs_btree_count_blocks(cur, tree_blocks); - xfs_btree_del_cursor(cur, error); - xfs_trans_brelse(tp, agbp); |