[DRBD-user] Kernel 2.67.17.1 is hanging I/O under AMD64 [Was Re: Kernel 2.6.17-rc5 under amd64 may be hanging I/O]

Lars Ellenberg Lars.Ellenberg at linbit.com
Fri Jun 30 21:01:15 CEST 2006

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


/ 2006-06-30 01:44:59 -0400
\ Maurice Volaski:
> The problem,at least I think it's the same problem, also occurs in 
> kernel 2.6.17.1.
> 
> The relevant output has been posted online at
> http://www.kennedy.aecom.yu.edu/misc/drbdstall2.htm

does the following patch help (in svn since we first used .17 ourselves)?

Modified: branches/drbd-0.7/drbd/drbd_main.c
===================================================================
--- branches/drbd-0.7/drbd/drbd_main.c  2006-06-23 09:16:53 UTC (rev 2243)
+++ branches/drbd-0.7/drbd/drbd_main.c  2006-06-23 12:26:09 UTC (rev 2244)
@@ -544,7 +544,7 @@
 		D_ASSERT(thi->task == NULL);
 		thi->t_state = Running;
 		spin_unlock(&thi->t_lock);
-
+               drbd_flush_signals(current); // otherw. may get -ERESTARTNOINTR
 		pid = kernel_thread(drbd_thread_setup, (void *) thi, CLONE_FS);
 		if (pid < 0) {
 			ERR("Couldn't start thread (%d)\n", pid);

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list