Home Home > GIT Browse > openSUSE-42.3
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Koutný <mkoutny@suse.com>2019-01-10 18:35:28 +0100
committerMichal Koutný <mkoutny@suse.com>2019-01-14 19:22:08 +0100
commitd9fd526e3c3c7cbbca7006db0d7b2888bbc98e5b (patch)
treec4cb72e58a1080362d1fd0e0dba8666714cf9365
parentf04fdc98a457544a222135150006f8c6e10bbbd3 (diff)
housekeeping: remove unused patches.suse/0001-Btrfs-skip-commit-transaction-if-we-don-t-have-enoug.patch
-rw-r--r--patches.suse/0001-Btrfs-skip-commit-transaction-if-we-don-t-have-enoug.patch43
-rw-r--r--series.conf1
2 files changed, 0 insertions, 44 deletions
diff --git a/patches.suse/0001-Btrfs-skip-commit-transaction-if-we-don-t-have-enoug.patch b/patches.suse/0001-Btrfs-skip-commit-transaction-if-we-don-t-have-enoug.patch
deleted file mode 100644
index 409ae3d6b3..0000000000
--- a/patches.suse/0001-Btrfs-skip-commit-transaction-if-we-don-t-have-enoug.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 2cc1bac553b516f0e38b5e893a911f5e7c2e94a2 Mon Sep 17 00:00:00 2001
-From: Liu Bo <bo.li.liu@oracle.com>
-Date: Fri, 19 May 2017 11:39:15 -0600
-Subject: [PATCH] Btrfs: skip commit transaction if we don't have enough pinned
- bytes
-Git-commit: 28785f70ef882e4798cd5706066a55dbf7adf80e
-Patch-mainline: v4.13
-References: bsc#1037186
-
-We commit transaction in order to reclaim space from pinned bytes because
-it could process delayed refs, and in may_commit_transaction(), we check
-first if pinned bytes are enough for the required space, we then check if
-that plus bytes reserved for delayed insert are enough for the required
-space.
-
-This changes the code to the above logic.
-
-Fixes: b150a4f10d87 ("Btrfs: use a percpu to keep track of possibly pinned bytes")
-Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
-Reviewed-by: Nikolay Borisov <nborisov@suse.com>
-Tested-by: Nikolay Borisov <nborisov@suse.com>
-Signed-off-by: David Sterba <dsterba@suse.cz>
-Acked-by: Nikolay Borisov <nborisov@suse.com>
----
- fs/btrfs/extent-tree.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
-index 896dcdab0a26..5cf4b1ca70ed 100644
---- a/fs/btrfs/extent-tree.c
-+++ b/fs/btrfs/extent-tree.c
-@@ -4819,7 +4819,7 @@ static int may_commit_transaction(struct btrfs_root *root,
-
- spin_lock(&delayed_rsv->lock);
- if (percpu_counter_compare(&space_info->total_bytes_pinned,
-- bytes - delayed_rsv->size) >= 0) {
-+ bytes - delayed_rsv->size) < 0) {
- spin_unlock(&delayed_rsv->lock);
- return -ENOSPC;
- }
---
-2.7.4
-
diff --git a/series.conf b/series.conf
index 1c96721b1e..67a082b21a 100644
--- a/series.conf
+++ b/series.conf
@@ -2922,7 +2922,6 @@
patches.suse/btrfs-8059-syslog-when-quota-is-enabled.patch
patches.suse/btrfs-8060-syslog-when-quota-is-disabled.patch
patches.suse/btrfs-8447-serialize-subvolume-mounts-with-potentially-mi.patch
-+nborisov patches.suse/0001-Btrfs-skip-commit-transaction-if-we-don-t-have-enoug.patch
# SUSE-specific
patches.suse/btrfs-provide-super_operations-get_inode_dev