This patch prevents the sheepdog driver from sleeping in coroutine context long time.
The first patch makes the driver use a non-blocking socket and the second one fixes a bug that yielded coroutines aren't entered. Changes from v2: - add a patch to use non-blocking fd - add explanation why it is safe to io_flush to NULL MORITA Kazutaka (2): sheepdog: use non-blocking fd in coroutine context sheepdog: set io_flush handler in do_co_req block/sheepdog.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) -- 1.8.1.3.566.gaa39828