diff options
author | Brian Foster <bfoster@redhat.com> | 2013-10-02 07:16:02 -0400 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-10-09 18:57:53 -0700 |
commit | cecc5b8fc05f071e9556c84153634b6d50c77dbb (patch) | |
tree | 2c5482d2a06eeb7e17f3a7a4a5c1639a48d0b54b | |
parent | 19ae2464c0800965c18c35132b0b6c7fe09d5f68 (diff) |
contrib/qemu: disable coroutine caching in qemu
Coroutine caching in qemu is dangerous in the manner that the
qemu-block translator embeds the qemu block subsystem code. After
a graph switch, new requests can fork off and pass active graph
data structures (i.e., inodes) down into old syncenvs and old
graphs, leading to failures.
BUG: 986775
Change-Id: I7b7226ff57c7867d0e51a58a7c0e58f4d8424c31
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-on: http://review.gluster.org/6022
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
-rw-r--r-- | contrib/qemu/qemu-coroutine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/qemu/qemu-coroutine.c b/contrib/qemu/qemu-coroutine.c index 423430d3a03..5e19307eeda 100644 --- a/contrib/qemu/qemu-coroutine.c +++ b/contrib/qemu/qemu-coroutine.c @@ -20,7 +20,7 @@ enum { /* Maximum free pool size prevents holding too many freed coroutines */ - POOL_MAX_SIZE = 64, + POOL_MAX_SIZE = 0, }; /** Free list to speed up creation */ |