Files
linux-stable-mirror/include/linux
Laurent Vivier 48cf6061b3 NBD: allow nbd to be used locally
This patch allows Network Block Device to be mounted locally (nbd-client to
nbd-server over 127.0.0.1).

It creates a kthread to avoid the deadlock described in NBD tools
documentation.  So, if nbd-client hangs waiting for pages, the kblockd thread
can continue its work and free pages.

I have tested the patch to verify that it avoids the hang that always occurs
when writing to a localhost nbd connection.  I have also tested to verify that
no performance degradation results from the additional thread and queue.

Patch originally from Laurent Vivier.

Signed-off-by: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-29 08:06:23 -07:00
..
2008-04-29 08:06:00 -07:00
2008-04-29 08:05:59 -07:00
2008-04-29 08:06:01 -07:00
2008-04-25 13:26:55 +01:00
2008-04-25 13:26:55 +01:00
2008-04-25 13:26:55 +01:00
2008-04-28 08:58:30 -07:00
2008-04-28 08:58:35 -07:00
2008-04-29 08:06:00 -07:00
2008-04-28 10:03:31 -07:00
2008-04-29 08:06:03 -07:00
2008-04-29 08:06:02 -07:00
2008-04-29 08:06:15 -07:00
2008-04-25 00:46:09 -04:00
2008-04-29 08:06:01 -07:00
2008-04-29 08:06:17 -07:00
2008-04-29 08:06:17 -07:00
2008-04-29 08:06:23 -07:00
2008-04-28 08:58:29 -07:00
2008-04-29 08:06:02 -07:00
2008-04-29 08:06:02 -07:00
2008-04-29 08:05:59 -07:00
2008-04-29 08:06:10 -07:00
2008-04-28 08:58:32 -07:00
2008-04-28 08:58:20 -07:00
2008-04-28 08:58:29 -07:00
2008-04-24 21:16:57 -07:00
2008-04-28 08:58:21 -07:00