]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
Drop ext4-improve-write-performance-with-disabled-delallo.patch
authorSasha Levin <sashal@kernel.org>
Mon, 4 Dec 2023 19:45:44 +0000 (14:45 -0500)
committerSasha Levin <sashal@kernel.org>
Mon, 4 Dec 2023 19:45:44 +0000 (14:45 -0500)
Signed-off-by: Sasha Levin <sashal@kernel.org>
queue-4.19/ext4-improve-write-performance-with-disabled-delallo.patch [deleted file]
queue-4.19/series
queue-5.10/ext4-improve-write-performance-with-disabled-delallo.patch [deleted file]
queue-5.10/series
queue-5.15/ext4-improve-write-performance-with-disabled-delallo.patch [deleted file]
queue-5.15/series
queue-5.4/ext4-improve-write-performance-with-disabled-delallo.patch [deleted file]
queue-5.4/series

diff --git a/queue-4.19/ext4-improve-write-performance-with-disabled-delallo.patch b/queue-4.19/ext4-improve-write-performance-with-disabled-delallo.patch
deleted file mode 100644 (file)
index 046912d..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-From b3e650cf14902f40db91bbe526e2bb107cb65f04 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Fri, 20 May 2022 13:14:02 +0200
-Subject: ext4: improve write performance with disabled delalloc
-
-From: Jan Kara <jack@suse.cz>
-
-[ Upstream commit 8d5459c11f548131ce48b2fbf45cccc5c382558f ]
-
-When delayed allocation is disabled (either through mount option or
-because we are running low on free space), ext4_write_begin() allocates
-blocks with EXT4_GET_BLOCKS_IO_CREATE_EXT flag. With this flag extent
-merging is disabled and since ext4_write_begin() is called for each page
-separately, we end up with a *lot* of 1 block extents in the extent tree
-and following writeback is writing 1 block at a time which results in
-very poor write throughput (4 MB/s instead of 200 MB/s). These days when
-ext4_get_block_unwritten() is used only by ext4_write_begin(),
-ext4_page_mkwrite() and inline data conversion, we can safely allow
-extent merging to happen from these paths since following writeback will
-happen on different boundaries anyway. So use
-EXT4_GET_BLOCKS_CREATE_UNRIT_EXT instead which restores the performance.
-
-Signed-off-by: Jan Kara <jack@suse.cz>
-Link: https://lore.kernel.org/r/20220520111402.4252-1-jack@suse.cz
-Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-Stable-dep-of: 2cd8bdb5efc1 ("ext4: mark buffer new if it is unwritten to avoid stale data exposure")
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- fs/ext4/inode.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
-index 646285fbc9fc0..949c5189c9be8 100644
---- a/fs/ext4/inode.c
-+++ b/fs/ext4/inode.c
-@@ -831,7 +831,7 @@ int ext4_get_block_unwritten(struct inode *inode, sector_t iblock,
-       ext4_debug("ext4_get_block_unwritten: inode %lu, create flag %d\n",
-                  inode->i_ino, create);
-       return _ext4_get_block(inode, iblock, bh_result,
--                             EXT4_GET_BLOCKS_IO_CREATE_EXT);
-+                             EXT4_GET_BLOCKS_CREATE_UNWRIT_EXT);
- }
- /* Maximum number of blocks we map for direct IO at once. */
--- 
-2.42.0
-
index ead3abd9dcca78dd790f7090b6c8f71a4e19ef52..c8cfd9e372f96e5df34aec4080e380de365b18d5 100644 (file)
@@ -47,7 +47,6 @@ ravb-fix-races-between-ravb_tx_timeout_work-and-net-.patch
 net-ravb-start-tx-queues-after-hw-initialization-suc.patch
 perf-intel-pt-adjust-sample-flags-for-vm-exit.patch
 perf-intel-pt-fix-async-branch-flags.patch
-ext4-improve-write-performance-with-disabled-delallo.patch
 ext4-mark-buffer-new-if-it-is-unwritten-to-avoid-sta.patch
 smb3-fix-touch-h-of-symlink.patch
 pci-let-pci_disable_link_state-propagate-errors.patch
diff --git a/queue-5.10/ext4-improve-write-performance-with-disabled-delallo.patch b/queue-5.10/ext4-improve-write-performance-with-disabled-delallo.patch
deleted file mode 100644 (file)
index eb352fe..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-From 5660cc0ca1a19b62ddee69191ffcb7d81606873d Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Fri, 20 May 2022 13:14:02 +0200
-Subject: ext4: improve write performance with disabled delalloc
-
-From: Jan Kara <jack@suse.cz>
-
-[ Upstream commit 8d5459c11f548131ce48b2fbf45cccc5c382558f ]
-
-When delayed allocation is disabled (either through mount option or
-because we are running low on free space), ext4_write_begin() allocates
-blocks with EXT4_GET_BLOCKS_IO_CREATE_EXT flag. With this flag extent
-merging is disabled and since ext4_write_begin() is called for each page
-separately, we end up with a *lot* of 1 block extents in the extent tree
-and following writeback is writing 1 block at a time which results in
-very poor write throughput (4 MB/s instead of 200 MB/s). These days when
-ext4_get_block_unwritten() is used only by ext4_write_begin(),
-ext4_page_mkwrite() and inline data conversion, we can safely allow
-extent merging to happen from these paths since following writeback will
-happen on different boundaries anyway. So use
-EXT4_GET_BLOCKS_CREATE_UNRIT_EXT instead which restores the performance.
-
-Signed-off-by: Jan Kara <jack@suse.cz>
-Link: https://lore.kernel.org/r/20220520111402.4252-1-jack@suse.cz
-Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-Stable-dep-of: 2cd8bdb5efc1 ("ext4: mark buffer new if it is unwritten to avoid stale data exposure")
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- fs/ext4/inode.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
-index 365c4d3a434ab..045f0efb696ad 100644
---- a/fs/ext4/inode.c
-+++ b/fs/ext4/inode.c
-@@ -821,7 +821,7 @@ int ext4_get_block_unwritten(struct inode *inode, sector_t iblock,
-       ext4_debug("ext4_get_block_unwritten: inode %lu, create flag %d\n",
-                  inode->i_ino, create);
-       return _ext4_get_block(inode, iblock, bh_result,
--                             EXT4_GET_BLOCKS_IO_CREATE_EXT);
-+                             EXT4_GET_BLOCKS_CREATE_UNWRIT_EXT);
- }
- /* Maximum number of blocks we map for direct IO at once. */
--- 
-2.42.0
-
index cbcf031c474687f93f939aa37b354fc0c731fce2..d7bbd7ccf9c9904e27721d76802b555fbe3f8e38 100644 (file)
@@ -102,7 +102,6 @@ net-ravb-use-pm_runtime_resume_and_get.patch
 net-ravb-start-tx-queues-after-hw-initialization-suc.patch
 perf-intel-pt-adjust-sample-flags-for-vm-exit.patch
 perf-intel-pt-fix-async-branch-flags.patch
-ext4-improve-write-performance-with-disabled-delallo.patch
 ext4-mark-buffer-new-if-it-is-unwritten-to-avoid-sta.patch
 smb3-fix-touch-h-of-symlink.patch
 asoc-intel-move-soc_intel_is_foo-helpers-to-a-generi.patch
diff --git a/queue-5.15/ext4-improve-write-performance-with-disabled-delallo.patch b/queue-5.15/ext4-improve-write-performance-with-disabled-delallo.patch
deleted file mode 100644 (file)
index 8239357..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-From 2f09b1565e6ec3112a2eb52acfbc41de93550a2f Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Fri, 20 May 2022 13:14:02 +0200
-Subject: ext4: improve write performance with disabled delalloc
-
-From: Jan Kara <jack@suse.cz>
-
-[ Upstream commit 8d5459c11f548131ce48b2fbf45cccc5c382558f ]
-
-When delayed allocation is disabled (either through mount option or
-because we are running low on free space), ext4_write_begin() allocates
-blocks with EXT4_GET_BLOCKS_IO_CREATE_EXT flag. With this flag extent
-merging is disabled and since ext4_write_begin() is called for each page
-separately, we end up with a *lot* of 1 block extents in the extent tree
-and following writeback is writing 1 block at a time which results in
-very poor write throughput (4 MB/s instead of 200 MB/s). These days when
-ext4_get_block_unwritten() is used only by ext4_write_begin(),
-ext4_page_mkwrite() and inline data conversion, we can safely allow
-extent merging to happen from these paths since following writeback will
-happen on different boundaries anyway. So use
-EXT4_GET_BLOCKS_CREATE_UNRIT_EXT instead which restores the performance.
-
-Signed-off-by: Jan Kara <jack@suse.cz>
-Link: https://lore.kernel.org/r/20220520111402.4252-1-jack@suse.cz
-Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-Stable-dep-of: 2cd8bdb5efc1 ("ext4: mark buffer new if it is unwritten to avoid stale data exposure")
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- fs/ext4/inode.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
-index 64a783f221052..c3b0fc7580e83 100644
---- a/fs/ext4/inode.c
-+++ b/fs/ext4/inode.c
-@@ -821,7 +821,7 @@ int ext4_get_block_unwritten(struct inode *inode, sector_t iblock,
-       ext4_debug("ext4_get_block_unwritten: inode %lu, create flag %d\n",
-                  inode->i_ino, create);
-       return _ext4_get_block(inode, iblock, bh_result,
--                             EXT4_GET_BLOCKS_IO_CREATE_EXT);
-+                             EXT4_GET_BLOCKS_CREATE_UNWRIT_EXT);
- }
- /* Maximum number of blocks we map for direct IO at once. */
--- 
-2.42.0
-
index 9b4e05ccfb1d9809ac257dbb920df02c5795a98a..fa895cf984c10d0e97f4688f4a99a7f181139b62 100644 (file)
@@ -45,7 +45,6 @@ ravb-separate-handling-of-irq-enable-disable-regs-in.patch
 ravb-support-separate-line0-desc-line1-err-and-line2.patch
 net-ravb-stop-dma-in-case-of-failures-on-ravb_open.patch
 perf-intel-pt-fix-async-branch-flags.patch
-ext4-improve-write-performance-with-disabled-delallo.patch
 ext4-mark-buffer-new-if-it-is-unwritten-to-avoid-sta.patch
 selftests-resctrl-add-missing-spdx-license-to-makefi.patch
 selftests-resctrl-move-_gnu_source-define-into-makef.patch
diff --git a/queue-5.4/ext4-improve-write-performance-with-disabled-delallo.patch b/queue-5.4/ext4-improve-write-performance-with-disabled-delallo.patch
deleted file mode 100644 (file)
index d5fe130..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-From b761964a221739a6175a704f4e3304bd8b809f3f Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Fri, 20 May 2022 13:14:02 +0200
-Subject: ext4: improve write performance with disabled delalloc
-
-From: Jan Kara <jack@suse.cz>
-
-[ Upstream commit 8d5459c11f548131ce48b2fbf45cccc5c382558f ]
-
-When delayed allocation is disabled (either through mount option or
-because we are running low on free space), ext4_write_begin() allocates
-blocks with EXT4_GET_BLOCKS_IO_CREATE_EXT flag. With this flag extent
-merging is disabled and since ext4_write_begin() is called for each page
-separately, we end up with a *lot* of 1 block extents in the extent tree
-and following writeback is writing 1 block at a time which results in
-very poor write throughput (4 MB/s instead of 200 MB/s). These days when
-ext4_get_block_unwritten() is used only by ext4_write_begin(),
-ext4_page_mkwrite() and inline data conversion, we can safely allow
-extent merging to happen from these paths since following writeback will
-happen on different boundaries anyway. So use
-EXT4_GET_BLOCKS_CREATE_UNRIT_EXT instead which restores the performance.
-
-Signed-off-by: Jan Kara <jack@suse.cz>
-Link: https://lore.kernel.org/r/20220520111402.4252-1-jack@suse.cz
-Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-Stable-dep-of: 2cd8bdb5efc1 ("ext4: mark buffer new if it is unwritten to avoid stale data exposure")
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- fs/ext4/inode.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
-index 8a0bca3b653bc..9ca7db0c4039a 100644
---- a/fs/ext4/inode.c
-+++ b/fs/ext4/inode.c
-@@ -830,7 +830,7 @@ int ext4_get_block_unwritten(struct inode *inode, sector_t iblock,
-       ext4_debug("ext4_get_block_unwritten: inode %lu, create flag %d\n",
-                  inode->i_ino, create);
-       return _ext4_get_block(inode, iblock, bh_result,
--                             EXT4_GET_BLOCKS_IO_CREATE_EXT);
-+                             EXT4_GET_BLOCKS_CREATE_UNWRIT_EXT);
- }
- /* Maximum number of blocks we map for direct IO at once. */
--- 
-2.42.0
-
index 3148575a5d9621f55b32e4acb932bc35333d7d8d..bae3ca58844f4b706f0b4f926c870dbf76206db8 100644 (file)
@@ -71,7 +71,6 @@ net-ravb-use-pm_runtime_resume_and_get.patch
 net-ravb-start-tx-queues-after-hw-initialization-suc.patch
 perf-intel-pt-adjust-sample-flags-for-vm-exit.patch
 perf-intel-pt-fix-async-branch-flags.patch
-ext4-improve-write-performance-with-disabled-delallo.patch
 ext4-mark-buffer-new-if-it-is-unwritten-to-avoid-sta.patch
 smb3-fix-touch-h-of-symlink.patch
 s390-mm-fix-phys-vs-virt-confusion-in-mark_kernel_px.patch