android_kernel_xiaomi_sm8350/arch/um/drivers
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
..
chan_kern.c [PATCH] uml: mostly const a structure 2007-02-11 10:51:22 -08:00
chan_user.c
cow_sys.h
cow_user.c
cow.h
daemon_kern.c [PATCH] uml: use get_random_bytes() after random pool is seeded 2006-12-07 08:39:29 -08:00
daemon_user.c [PATCH] um: fix errno usage 2007-03-08 07:38:21 -08:00
daemon.h
fd.c
harddog_kern.c [PATCH] mark struct file_operations const 2 2007-02-12 09:48:44 -08:00
harddog_user.c [PATCH] uml: watchdog driver formatting 2007-02-11 10:51:21 -08:00
hostaudio_kern.c [PATCH] uml: audio driver formatting 2007-02-11 10:51:21 -08:00
line.c [PATCH] um: fix confusion irq early reenabling 2007-03-08 07:38:21 -08:00
Makefile
mcast_kern.c [PATCH] uml: use get_random_bytes() after random pool is seeded 2006-12-07 08:39:29 -08:00
mcast_user.c [PATCH] um: fix a memory leak in the multicast driver 2007-03-08 07:38:21 -08:00
mcast.h
mconsole_kern.c [PATCH] uml: umid tidying 2007-02-11 10:51:24 -08:00
mconsole_user.c [PATCH] uml: umid tidying 2007-02-11 10:51:24 -08:00
mmapper_kern.c
net_kern.c [PATCH] uml: network driver locking and code cleanup 2007-02-11 10:51:22 -08:00
net_user.c
null.c
pcap_kern.c [PATCH] uml: use get_random_bytes() after random pool is seeded 2006-12-07 08:39:29 -08:00
pcap_user.c
pcap_user.h
port_kern.c [PATCH] uml: use LIST_HEAD where possible 2007-02-11 10:51:22 -08:00
port_user.c [PATCH] uml: port driver formatting 2007-02-11 10:51:21 -08:00
port.h
pty.c
random.c [PATCH] uml: locking commentary in the random driver 2007-02-11 10:51:22 -08:00
slip_common.c
slip_common.h
slip_kern.c [PATCH] uml: use get_random_bytes() after random pool is seeded 2006-12-07 08:39:29 -08:00
slip_user.c
slip.h
slirp_kern.c [PATCH] uml: use get_random_bytes() after random pool is seeded 2006-12-07 08:39:29 -08:00
slirp_user.c
slirp.h
ssl.c [PATCH] um: mark both consoles as CON_ANYTIME 2007-03-08 07:38:21 -08:00
ssl.h
stderr_console.c
stdio_console.c [PATCH] um: mark both consoles as CON_ANYTIME 2007-03-08 07:38:21 -08:00
stdio_console.h
tty.c
ubd_kern.c [PATCH] uml: fix I/O hang when multiple devices are in use 2007-03-29 08:22:24 -07:00
ubd_user.c
xterm_kern.c
xterm.c
xterm.h