Re: [BUG 2.6.20-rc3-mm1] raid1 mount blocks for ever



On Sat, Jan 06 2007, Torsten Kaiser wrote:
On Saturday 06 January 2007 11:02, Jens Axboe wrote:
On Sat, Jan 06 2007, Torsten Kaiser wrote:
On Saturday 06 January 2007 04:59, Andrew Morton wrote:
http://userweb.kernel.org/~akpm/2.6.20-rc3-mm1x.bz2 is basically
2.6.20-rc3-mm1, minus git-block.patch. Can you and Torsten please
test that, see if the hangs go away?

Works for me too.

Torsten, can you test XFS with barriers disabled? I have a feeling that
is where the problem lies.

With your patch from Bug 7775: Same hang detected by NMI watchdog

Does this fix it? Only apply this one, not the patch from 7775.

diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c
index ec40e44..bae57e0 100644
--- a/block/ll_rw_blk.c
+++ b/block/ll_rw_blk.c
@@ -1542,7 +1542,7 @@ static inline void queue_sync_plugs(request_queue_t *q)
* If the current process is plugged and has barriers submitted,
* we will livelock if we don't unplug first.
*/
- blk_unplug_current();
+ blk_replug_current_nested();

synchronize_qrcu(&q->qrcu);
}

--
Jens Axboe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [BUG 2.6.20-rc3-mm1] raid1 mount blocks for ever
    ... On Sat, Jan 06 2007, Torsten Kaiser wrote: ... 2.6.20-rc3-mm1, minus git-block.patch. ... see if the hangs go away? ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)
  • Re: [BUG 2.6.20-rc3-mm1] raid1 mount blocks for ever
    ... On Sat, Jan 06 2007, Torsten Kaiser wrote: ... 2.6.20-rc3-mm1, minus git-block.patch. ... see if the hangs go away? ... With your patch from Bug 7775: Same hang detected by NMI watchdog ...
    (Linux-Kernel)
  • Re: The update is a downgrade!
    ... Cannot browse with IE by manually entering a URL. ... IE hangs. ... or as I call it "the fix for the fix" ... is the direct download link to Version 2 of the KB908531 patch, ...
    (microsoft.public.windowsxp.general)
  • UPDATE2: hangs on sol10u2 and sol10u1 x86 (after applying 118855-15) case # 65112621
    ... There are zero hangs without it - and 100% reproducible hangs with it. ... In the latest iteration of patch testing - I applied all of the patches ... Kernel patch 118855-15 breaks my web server (causes it to hang and not serve ... [dtrace-discuss] apache hangs on sol10u2 and sol10u1 ...
    (SunManagers)
  • Re: Race condition in debugger?
    ... What happens is that the debugger hangs at some ... >process to see if they have exited, or should otherwise report status ... that there's no lock protecting that the conditions in the ... >patch, and using a nice sprinkling of printfs can show that when GDB ...
    (freebsd-current)