From cecc5b8fc05f071e9556c84153634b6d50c77dbb Mon Sep 17 00:00:00 2001 From: Brian Foster Date: Wed, 2 Oct 2013 07:16:02 -0400 Subject: 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 Reviewed-on: http://review.gluster.org/6022 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- contrib/qemu/qemu-coroutine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/qemu/qemu-coroutine.c b/contrib/qemu/qemu-coroutine.c index 423430d3a..5e19307ee 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 */ -- cgit