Displaying 1 result from an estimated 1 matches for "eef1811".
Did you mean:
e83f1811
2012 Nov 01
0
[PATCH] shared compression workspaces limits doesnot match
...he original itention is
allowed to alloc
cpus compression workspaces at most.
Signed-off-by: Rock Lee <GeekerRockLee@gmail.com>
---
fs/btrfs/compression.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/btrfs/compression.c b/fs/btrfs/compression.c
index c6467aa..eef1811 100644
--- a/fs/btrfs/compression.c
+++ b/fs/btrfs/compression.c
@@ -779,7 +779,7 @@ again:
return workspace;
}
- if (atomic_read(alloc_workspace) > cpus) {
+ if (atomic_read(alloc_workspace) >= cpus) {
DEFINE_WAIT(wait);
spin_unlock(workspace_lock);
--
1.7.7.6
--
To unsubscribe fro...