linux-stable/include/linux/raid
NeilBrown 3d310eb7b3 [PATCH] md: fix deadlock due to md thread processing delayed requests.
Before completing a 'write' the md superblock might need to be updated.
This is best done by the md_thread.

The current code schedules this up and queues the write request for later
handling by the md_thread.

However some personalities (Raid5/raid6) will deadlock if the md_thread
tries to submit requests to its own array.

So this patch changes things so the processes submitting the request waits
for the superblock to be written and then submits the request itself.

This fixes a recently-created deadlock in raid5/raid6

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-21 19:07:46 -07:00
..
bitmap.h [PATCH] md: enable the bitmap write-back daemon and wait for it. 2005-06-21 19:07:45 -07:00
linear.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md.h [PATCH] md: fix deadlock due to md thread processing delayed requests. 2005-06-21 19:07:46 -07:00
md_k.h [PATCH] md: fix deadlock due to md thread processing delayed requests. 2005-06-21 19:07:46 -07:00
md_p.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
md_u.h [PATCH] md: optimised resync using Bitmap based intent logging 2005-06-21 19:07:43 -07:00
multipath.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
raid0.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
raid1.h [PATCH] md: raid1 support for bitmap intent logging 2005-06-21 19:07:46 -07:00
raid5.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
raid10.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xor.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00