Displaying 1 result from an estimated 1 matches for "c6467aa".
Did you mean:
964676a
2012 Nov 01
0
[PATCH] shared compression workspaces limits doesnot match
...thought the 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 unsubs...