commit | b6fc8245e96dea6b7198a46e883d107403ddb90c | [log] [tgz] |
---|---|---|
author | MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> | Thu May 17 03:15:34 2012 +0900 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri May 25 18:12:54 2012 +0200 |
tree | bbba397365af96105c046f6084cf9ce6c2c8af9b | |
parent | cb595887cc4ddd7c732b711164756eb0b1b31077 [diff] |
sheepdog: use heap instead of stack for BDRVSheepdogState bdrv_create() is called in coroutine context now, so we cannot use more stack than 1 MB in the function if we use ucontext coroutine. This patch allocates BDRVSheepdogState, whose size is 4 MB, on the heap in sd_create(). Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Signed-off-by: Kevin Wolf <kwolf@redhat.com>