Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23fc58b
)
branch: b_new_cmd
author
ericm
<ericm>
Tue, 10 Oct 2006 17:22:50 +0000
(17:22 +0000)
committer
ericm
<ericm>
Tue, 10 Oct 2006 17:22:50 +0000
(17:22 +0000)
port from b1_8_gss:
- wake waiting threads upon return enc pages to pools.
lustre/ptlrpc/sec_bulk.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/sec_bulk.c
b/lustre/ptlrpc/sec_bulk.c
index
ffdda1b
..
8099711
100644
(file)
--- a/
lustre/ptlrpc/sec_bulk.c
+++ b/
lustre/ptlrpc/sec_bulk.c
@@
-493,6
+493,12
@@
void sptlrpc_enc_pool_put_pages(struct ptlrpc_bulk_desc *desc)
page_pools.epp_free_pages += desc->bd_max_iov;
+ if (unlikely(page_pools.epp_waitqlen)) {
+ LASSERT(page_pools.epp_waitqlen > 0);
+ LASSERT(cfs_waitq_active(&page_pools.epp_waitq));
+ cfs_waitq_broadcast(&page_pools.epp_waitq);
+ }
+
spin_unlock(&page_pools.epp_lock);
OBD_FREE(desc->bd_enc_pages,