android_kernel_xiaomi_sdm845/arch/um
Jeff Dike 2a9529a0c8 [PATCH] uml: fix I/O hang when multiple devices are in use
Commit 62f96cb01e 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>
2007-03-29 08:22:24 -07:00
..
drivers [PATCH] uml: fix I/O hang when multiple devices are in use 2007-03-29 08:22:24 -07:00
include [PATCH] uml: use correct register file size everywhere 2007-03-27 09:05:15 -07:00
kernel [PATCH] uml: activate_fd: return ENOMEM only when appropriate 2007-03-08 07:38:21 -08:00
os-Linux [PATCH] uml: use correct register file size everywhere 2007-03-27 09:05:15 -07:00
scripts [PATCH] (uml) sparse flags for userland glue are missing $(CF) 2007-03-14 15:27:48 -07:00
sys-i386 [PATCH] uml: fix host LDT lookup initialization locking, try 2 2007-03-01 14:53:38 -08:00
sys-ia64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sys-ppc Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sys-x86_64 [PATCH] uml: arch_prctl should set thread fs 2007-03-08 07:38:22 -08:00
config.release Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
defconfig [PATCH] uml: remove syscall debugging 2006-07-10 13:24:24 -07:00
Kconfig [PATCH] stacktrace doesn't work on uml 2007-03-14 15:27:49 -07:00
Kconfig.char [PATCH] uml: enable RAW 2007-03-01 14:53:38 -08:00
Kconfig.debug [PATCH] uml: remove syscall debugging 2006-07-10 13:24:24 -07:00
Kconfig.i386 [PATCH] fix indentation-related breakage in Kconfig.i386 2007-01-30 08:39:21 -08:00
Kconfig.net [PATCH] uml: Rename Kconfig files to be like the other arches 2005-09-05 00:06:19 -07:00
Kconfig.scsi [PATCH] uml: Rename Kconfig files to be like the other arches 2005-09-05 00:06:19 -07:00
Kconfig.x86_64 [PATCH] um: fix undefined reference to hweight32 2006-03-26 08:57:09 -08:00
Makefile [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00
Makefile-i386 [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00
Makefile-ia64 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-os-Linux Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-ppc Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-skas [PATCH] uml makefiles sanitized 2005-09-29 08:46:26 -07:00
Makefile-tt Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile-x86_64 [PATCH] uml: fix compilation options for USER_OBJS 2006-10-30 12:08:41 -08:00