diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-03-29 08:20:27 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-29 15:22:24 (GMT) |
commit | 2a9529a0c890007ade5425b75272c3def283f8b1 (patch) | |
tree | 964576fad2872f41e798e109979daad4002007af /include/asm-um/pgtable-2level.h | |
parent | cb3fecc2f29056e89658e7eb371e7f9be66cda6d (diff) | |
download | linux-fsl-qoriq-2a9529a0c890007ade5425b75272c3def283f8b1.tar.xz |
[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 'include/asm-um/pgtable-2level.h')
0 files changed, 0 insertions, 0 deletions