]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Aug 2023 21:42:41 +0000 (23:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Aug 2023 21:42:41 +0000 (23:42 +0200)
12 files changed:
queue-4.14/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch [deleted file]
queue-4.14/series
queue-4.19/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch [deleted file]
queue-4.19/series
queue-5.10/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch [deleted file]
queue-5.10/series
queue-5.15/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch [deleted file]
queue-5.15/series
queue-5.4/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch [deleted file]
queue-5.4/series
queue-6.1/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch [deleted file]
queue-6.1/series

diff --git a/queue-4.14/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch b/queue-4.14/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch
deleted file mode 100644 (file)
index 88aab8f..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-From 5c25699871112853f231e52d51c576d5c759a020 Mon Sep 17 00:00:00 2001
-From: Christoph Hellwig <hch@lst.de>
-Date: Mon, 24 Jul 2023 06:26:54 -0700
-Subject: btrfs: don't wait for writeback on clean pages in extent_write_cache_pages
-
-From: Christoph Hellwig <hch@lst.de>
-
-commit 5c25699871112853f231e52d51c576d5c759a020 upstream.
-
-__extent_writepage could have started on more pages than the one it was
-called for.  This happens regularly for zoned file systems, and in theory
-could happen for compressed I/O if the worker thread was executed very
-quickly. For such pages extent_write_cache_pages waits for writeback
-to complete before moving on to the next page, which is highly inefficient
-as it blocks the flusher thread.
-
-Port over the PageDirty check that was added to write_cache_pages in
-commit 515f4a037fb ("mm: write_cache_pages optimise page cleaning") to
-fix this.
-
-CC: stable@vger.kernel.org # 4.14+
-Reviewed-by: Josef Bacik <josef@toxicpanda.com>
-Signed-off-by: Christoph Hellwig <hch@lst.de>
-Reviewed-by: David Sterba <dsterba@suse.com>
-Signed-off-by: David Sterba <dsterba@suse.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- fs/btrfs/extent_io.c |    6 ++++++
- 1 file changed, 6 insertions(+)
-
---- a/fs/btrfs/extent_io.c
-+++ b/fs/btrfs/extent_io.c
-@@ -4004,6 +4004,12 @@ retry:
-                               continue;
-                       }
-+                      if (!folio_test_dirty(folio)) {
-+                              /* Someone wrote it for us. */
-+                              folio_unlock(folio);
-+                              continue;
-+                      }
-+
-                       if (wbc->sync_mode != WB_SYNC_NONE) {
-                               if (PageWriteback(page))
-                                       flush_fn(data);
index 2fe46df3115e97561e833c7182a1dcf43f8934fb..cbd851844097bd73ec4b3a93eaceeec3a4151f17 100644 (file)
@@ -18,5 +18,4 @@ dccp-fix-data-race-around-dp-dccps_mss_cache.patch
 drivers-net-prevent-tun_build_skb-to-exceed-the-packet-size-limit.patch
 ib-hfi1-fix-possible-panic-during-hotplug-remove.patch
 btrfs-don-t-stop-integrity-writeback-too-early.patch
-btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch
 btrfs-set-cache_block_group_error-if-we-find-an-error.patch
diff --git a/queue-4.19/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch b/queue-4.19/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch
deleted file mode 100644 (file)
index 3aab5bf..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-From 5c25699871112853f231e52d51c576d5c759a020 Mon Sep 17 00:00:00 2001
-From: Christoph Hellwig <hch@lst.de>
-Date: Mon, 24 Jul 2023 06:26:54 -0700
-Subject: btrfs: don't wait for writeback on clean pages in extent_write_cache_pages
-
-From: Christoph Hellwig <hch@lst.de>
-
-commit 5c25699871112853f231e52d51c576d5c759a020 upstream.
-
-__extent_writepage could have started on more pages than the one it was
-called for.  This happens regularly for zoned file systems, and in theory
-could happen for compressed I/O if the worker thread was executed very
-quickly. For such pages extent_write_cache_pages waits for writeback
-to complete before moving on to the next page, which is highly inefficient
-as it blocks the flusher thread.
-
-Port over the PageDirty check that was added to write_cache_pages in
-commit 515f4a037fb ("mm: write_cache_pages optimise page cleaning") to
-fix this.
-
-CC: stable@vger.kernel.org # 4.14+
-Reviewed-by: Josef Bacik <josef@toxicpanda.com>
-Signed-off-by: Christoph Hellwig <hch@lst.de>
-Reviewed-by: David Sterba <dsterba@suse.com>
-Signed-off-by: David Sterba <dsterba@suse.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- fs/btrfs/extent_io.c |    6 ++++++
- 1 file changed, 6 insertions(+)
-
---- a/fs/btrfs/extent_io.c
-+++ b/fs/btrfs/extent_io.c
-@@ -4091,6 +4091,12 @@ retry:
-                               continue;
-                       }
-+                      if (!folio_test_dirty(folio)) {
-+                              /* Someone wrote it for us. */
-+                              folio_unlock(folio);
-+                              continue;
-+                      }
-+
-                       if (wbc->sync_mode != WB_SYNC_NONE) {
-                               if (PageWriteback(page)) {
-                                       ret = flush_write_bio(epd);
index caac451ec8fb93dc82e7a3af8e7d4e74285e592e..765f103fc4929ca1275eed3bd540127b778f09f3 100644 (file)
@@ -23,5 +23,4 @@ ib-hfi1-fix-possible-panic-during-hotplug-remove.patch
 wifi-cfg80211-fix-sband-iftype-data-lookup-for-ap_vlan.patch
 ibmvnic-handle-dma-unmapping-of-login-buffs-in-release-functions.patch
 btrfs-don-t-stop-integrity-writeback-too-early.patch
-btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch
 btrfs-set-cache_block_group_error-if-we-find-an-error.patch
diff --git a/queue-5.10/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch b/queue-5.10/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch
deleted file mode 100644 (file)
index caa0a28..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-From 5c25699871112853f231e52d51c576d5c759a020 Mon Sep 17 00:00:00 2001
-From: Christoph Hellwig <hch@lst.de>
-Date: Mon, 24 Jul 2023 06:26:54 -0700
-Subject: btrfs: don't wait for writeback on clean pages in extent_write_cache_pages
-
-From: Christoph Hellwig <hch@lst.de>
-
-commit 5c25699871112853f231e52d51c576d5c759a020 upstream.
-
-__extent_writepage could have started on more pages than the one it was
-called for.  This happens regularly for zoned file systems, and in theory
-could happen for compressed I/O if the worker thread was executed very
-quickly. For such pages extent_write_cache_pages waits for writeback
-to complete before moving on to the next page, which is highly inefficient
-as it blocks the flusher thread.
-
-Port over the PageDirty check that was added to write_cache_pages in
-commit 515f4a037fb ("mm: write_cache_pages optimise page cleaning") to
-fix this.
-
-CC: stable@vger.kernel.org # 4.14+
-Reviewed-by: Josef Bacik <josef@toxicpanda.com>
-Signed-off-by: Christoph Hellwig <hch@lst.de>
-Reviewed-by: David Sterba <dsterba@suse.com>
-Signed-off-by: David Sterba <dsterba@suse.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- fs/btrfs/extent_io.c |    6 ++++++
- 1 file changed, 6 insertions(+)
-
---- a/fs/btrfs/extent_io.c
-+++ b/fs/btrfs/extent_io.c
-@@ -4201,6 +4201,12 @@ retry:
-                               continue;
-                       }
-+                      if (!folio_test_dirty(folio)) {
-+                              /* Someone wrote it for us. */
-+                              folio_unlock(folio);
-+                              continue;
-+                      }
-+
-                       if (wbc->sync_mode != WB_SYNC_NONE) {
-                               if (PageWriteback(page)) {
-                                       ret = flush_write_bio(epd);
index 331beff2ce7b06a139fbfac87b9bb37b86921c06..e71ffa8c6a8d13e95001d5ed91f33cabc8c88b3f 100644 (file)
@@ -54,5 +54,4 @@ ibmvnic-enforce-stronger-sanity-checks-on-login-response.patch
 ibmvnic-unmap-dma-login-rsp-buffer-on-send-login-fail.patch
 ibmvnic-handle-dma-unmapping-of-login-buffs-in-release-functions.patch
 btrfs-don-t-stop-integrity-writeback-too-early.patch
-btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch
 btrfs-set-cache_block_group_error-if-we-find-an-error.patch
diff --git a/queue-5.15/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch b/queue-5.15/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch
deleted file mode 100644 (file)
index 7906f4f..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-From 5c25699871112853f231e52d51c576d5c759a020 Mon Sep 17 00:00:00 2001
-From: Christoph Hellwig <hch@lst.de>
-Date: Mon, 24 Jul 2023 06:26:54 -0700
-Subject: btrfs: don't wait for writeback on clean pages in extent_write_cache_pages
-
-From: Christoph Hellwig <hch@lst.de>
-
-commit 5c25699871112853f231e52d51c576d5c759a020 upstream.
-
-__extent_writepage could have started on more pages than the one it was
-called for.  This happens regularly for zoned file systems, and in theory
-could happen for compressed I/O if the worker thread was executed very
-quickly. For such pages extent_write_cache_pages waits for writeback
-to complete before moving on to the next page, which is highly inefficient
-as it blocks the flusher thread.
-
-Port over the PageDirty check that was added to write_cache_pages in
-commit 515f4a037fb ("mm: write_cache_pages optimise page cleaning") to
-fix this.
-
-CC: stable@vger.kernel.org # 4.14+
-Reviewed-by: Josef Bacik <josef@toxicpanda.com>
-Signed-off-by: Christoph Hellwig <hch@lst.de>
-Reviewed-by: David Sterba <dsterba@suse.com>
-Signed-off-by: David Sterba <dsterba@suse.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- fs/btrfs/extent_io.c |    6 ++++++
- 1 file changed, 6 insertions(+)
-
---- a/fs/btrfs/extent_io.c
-+++ b/fs/btrfs/extent_io.c
-@@ -5013,6 +5013,12 @@ retry:
-                               continue;
-                       }
-+                      if (!folio_test_dirty(folio)) {
-+                              /* Someone wrote it for us. */
-+                              folio_unlock(folio);
-+                              continue;
-+                      }
-+
-                       if (wbc->sync_mode != WB_SYNC_NONE) {
-                               if (PageWriteback(page)) {
-                                       ret = flush_write_bio(epd);
index 8901771be323b2fb045f02319d98ecf02e977045..eed005ddcddaa2dd76099947818399950440108b 100644 (file)
@@ -69,7 +69,6 @@ ibmvnic-enforce-stronger-sanity-checks-on-login-response.patch
 ibmvnic-unmap-dma-login-rsp-buffer-on-send-login-fail.patch
 ibmvnic-handle-dma-unmapping-of-login-buffs-in-release-functions.patch
 btrfs-don-t-stop-integrity-writeback-too-early.patch
-btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch
 btrfs-exit-gracefully-if-reloc-roots-don-t-match.patch
 btrfs-reject-invalid-reloc-tree-root-keys-with-stack-dump.patch
 btrfs-set-cache_block_group_error-if-we-find-an-error.patch
diff --git a/queue-5.4/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch b/queue-5.4/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch
deleted file mode 100644 (file)
index 57dba92..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-From 5c25699871112853f231e52d51c576d5c759a020 Mon Sep 17 00:00:00 2001
-From: Christoph Hellwig <hch@lst.de>
-Date: Mon, 24 Jul 2023 06:26:54 -0700
-Subject: btrfs: don't wait for writeback on clean pages in extent_write_cache_pages
-
-From: Christoph Hellwig <hch@lst.de>
-
-commit 5c25699871112853f231e52d51c576d5c759a020 upstream.
-
-__extent_writepage could have started on more pages than the one it was
-called for.  This happens regularly for zoned file systems, and in theory
-could happen for compressed I/O if the worker thread was executed very
-quickly. For such pages extent_write_cache_pages waits for writeback
-to complete before moving on to the next page, which is highly inefficient
-as it blocks the flusher thread.
-
-Port over the PageDirty check that was added to write_cache_pages in
-commit 515f4a037fb ("mm: write_cache_pages optimise page cleaning") to
-fix this.
-
-CC: stable@vger.kernel.org # 4.14+
-Reviewed-by: Josef Bacik <josef@toxicpanda.com>
-Signed-off-by: Christoph Hellwig <hch@lst.de>
-Reviewed-by: David Sterba <dsterba@suse.com>
-Signed-off-by: David Sterba <dsterba@suse.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- fs/btrfs/extent_io.c |    6 ++++++
- 1 file changed, 6 insertions(+)
-
---- a/fs/btrfs/extent_io.c
-+++ b/fs/btrfs/extent_io.c
-@@ -4191,6 +4191,12 @@ retry:
-                               continue;
-                       }
-+                      if (!folio_test_dirty(folio)) {
-+                              /* Someone wrote it for us. */
-+                              folio_unlock(folio);
-+                              continue;
-+                      }
-+
-                       if (wbc->sync_mode != WB_SYNC_NONE) {
-                               if (PageWriteback(page)) {
-                                       ret = flush_write_bio(epd);
index 8a57a11cfc88ff69c86e100a7543caae7bab8f08..517256fbe7001fd5e78b19cd422a50d61736f461 100644 (file)
@@ -27,5 +27,4 @@ dmaengine-mcf-edma-fix-a-potential-un-allocated-memory-access.patch
 net-mlx5-allow-0-for-total-host-vfs.patch
 ibmvnic-handle-dma-unmapping-of-login-buffs-in-release-functions.patch
 btrfs-don-t-stop-integrity-writeback-too-early.patch
-btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch
 btrfs-set-cache_block_group_error-if-we-find-an-error.patch
diff --git a/queue-6.1/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch b/queue-6.1/btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch
deleted file mode 100644 (file)
index d01497e..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-From 5c25699871112853f231e52d51c576d5c759a020 Mon Sep 17 00:00:00 2001
-From: Christoph Hellwig <hch@lst.de>
-Date: Mon, 24 Jul 2023 06:26:54 -0700
-Subject: btrfs: don't wait for writeback on clean pages in extent_write_cache_pages
-
-From: Christoph Hellwig <hch@lst.de>
-
-commit 5c25699871112853f231e52d51c576d5c759a020 upstream.
-
-__extent_writepage could have started on more pages than the one it was
-called for.  This happens regularly for zoned file systems, and in theory
-could happen for compressed I/O if the worker thread was executed very
-quickly. For such pages extent_write_cache_pages waits for writeback
-to complete before moving on to the next page, which is highly inefficient
-as it blocks the flusher thread.
-
-Port over the PageDirty check that was added to write_cache_pages in
-commit 515f4a037fb ("mm: write_cache_pages optimise page cleaning") to
-fix this.
-
-CC: stable@vger.kernel.org # 4.14+
-Reviewed-by: Josef Bacik <josef@toxicpanda.com>
-Signed-off-by: Christoph Hellwig <hch@lst.de>
-Reviewed-by: David Sterba <dsterba@suse.com>
-Signed-off-by: David Sterba <dsterba@suse.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- fs/btrfs/extent_io.c |    6 ++++++
- 1 file changed, 6 insertions(+)
-
---- a/fs/btrfs/extent_io.c
-+++ b/fs/btrfs/extent_io.c
-@@ -3181,6 +3181,12 @@ retry:
-                               continue;
-                       }
-+                      if (!folio_test_dirty(folio)) {
-+                              /* Someone wrote it for us. */
-+                              folio_unlock(folio);
-+                              continue;
-+                      }
-+
-                       if (wbc->sync_mode != WB_SYNC_NONE) {
-                               if (PageWriteback(page))
-                                       submit_write_bio(epd, 0);
index d1dc129bc68b607cfdc54732cb56a516cb1a2389..883eff5e5c987c5a1490d1287d20a77c87ceb3ae 100644 (file)
@@ -127,7 +127,6 @@ gpio-ws16c48-fix-off-by-one-error-in-ws16c48-resource-region-extent.patch
 gpio-sim-mark-the-gpio-chip-as-a-one-that-can-sleep.patch
 btrfs-wait-for-actual-caching-progress-during-allocation.patch
 btrfs-don-t-stop-integrity-writeback-too-early.patch
-btrfs-don-t-wait-for-writeback-on-clean-pages-in-extent_write_cache_pages.patch
 btrfs-properly-clear-end-of-the-unreserved-range-in-cow_file_range.patch
 btrfs-exit-gracefully-if-reloc-roots-don-t-match.patch
 btrfs-reject-invalid-reloc-tree-root-keys-with-stack-dump.patch