diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-03-29 01:20:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-29 08:22:24 -0700 |
commit | 2a9529a0c890007ade5425b75272c3def283f8b1 (patch) | |
tree | 964576fad2872f41e798e109979daad4002007af /arch/um/sys-ppc | |
parent | cb3fecc2f29056e89658e7eb371e7f9be66cda6d (diff) |
[PATCH] uml: fix I/O hang when multiple devices are in use
Commit 62f96cb01e8de7a5daee472e540f726db2801499 introduced per-devices
queues and locks, which was fine as far as it went, but left in place a
global which controlled access to submitting requests to the host. This
should have been made per-device as well, since it causes I/O hangs when
multiple block devices are in use.
This patch fixes that by replacing the global with an activity flag in the
device structure in order to tell whether the queue is currently being run.
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>
Diffstat (limited to 'arch/um/sys-ppc')
0 files changed, 0 insertions, 0 deletions