uml: aIO deadlock avoidance
authorJeff Dike <jdike@addtoit.com>
Sun, 6 May 2007 21:51:44 +0000 (14:51 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 7 May 2007 19:13:03 +0000 (12:13 -0700)
commit8603ec81487a5fefbc29611ff0d635b33b6da990
tree2cb7a391880aef15f33a0cea71bfd09ac5264c8f
parenta6ea4cceed18edebe1eb6001cb9e0f88cd741a6c
uml: aIO deadlock avoidance

Allow deadlocks to be avoided in the AIO code by setting the pipe to the I/O
thread non-blocking.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/os-Linux/aio.c