Jeff Dike 62f96cb01e [PATCH] uml: add per-device queues and locks to ubd driver
Replace global queue and lock with per-device queues and locks.  Mostly a
straightforward replacement of ubd_io_lock with dev->lock and ubd_queue with
dev->queue.

Complications -
	There was no way to get a request struct (and queue) from the
structure sent to the io_thread, so a pointer to the request was
added.  This is needed in ubd_handler in order to kick do_ubd_request
to process another request.
	Queue initialization is moved from ubd_init to ubd_add.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-11 10:51:23 -08:00
..
2006-11-30 05:32:19 +01:00
2006-05-01 18:17:44 -07:00
2006-09-27 08:26:15 -07:00
2006-09-27 08:26:15 -07:00
2006-10-24 22:01:10 -07:00
2006-09-29 09:18:04 -07:00
2006-10-10 15:37:24 -07:00
2006-09-27 08:26:15 -07:00
2006-09-27 08:26:15 -07:00
2006-09-27 08:26:15 -07:00
2006-10-08 16:34:08 -07:00