djs55/xen-api — pull request #2 by mcclurmc (2013-10-02 23:31:14+00:00)
Title: Wrap call to write() in directio_stubs.c with {enter/leave}_blocking_section

I compared the implementation of really_write in directio_stubs.c with that of unix_write in ocaml/otherlibs/unix/write.c, and it looks like we're missing calls to {enter/leave}_blocking_section around the call to write(). See here: https://github.com/ocaml/ocaml/blob/4.01/otherlibs/unix/write.c#L42