mirage/mirage-block-unix — pull request #15 by djs55 (2013-12-18 11:11:45+00:00)
Title: Fix a serious race condition when multiple threads access the same devic...

...e

The low-level I/O mechanism is:
seek >>= fun _ ->
(read | write) >>= fun _ ->

Since threads may switch between the seek and the (read | write), we
must hold an Lwt_mutex.t across this section.

Signed-off-by: David Scott