eio: forcefully wait on shutdown for all thread to stop.
authorCedric BAIL <cedric@osg.samsung.com>
Wed, 7 Jan 2015 15:43:47 +0000 (16:43 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Wed, 7 Jan 2015 15:45:07 +0000 (16:45 +0100)
commite6ff0a53ae7b1fc526ac88067b71337d6e271f0c
treec926e1a273ac2cc03f600c4513a52636c6c41daa
parente5ddfb4b2b76304aae9c7c15f465d7ef9863a2c0
eio: forcefully wait on shutdown for all thread to stop.

This should avoid potential crash during shutdown while some Eio thread
were still running. We are still not blocking for more than 30s, so if
an IO is blocked on a dead device, you should be fine.
src/lib/eio/eio_main.c
src/lib/eio/eio_private.h
src/lib/eio/eio_single.c