|
@@ -1685,6 +1685,7 @@ static int nodemgr_host_thread(void *data)
|
|
g = get_hpsb_generation(host);
|
|
g = get_hpsb_generation(host);
|
|
for (i = 0; i < 4 ; i++) {
|
|
for (i = 0; i < 4 ; i++) {
|
|
msleep_interruptible(63);
|
|
msleep_interruptible(63);
|
|
|
|
+ try_to_freeze();
|
|
if (kthread_should_stop())
|
|
if (kthread_should_stop())
|
|
goto exit;
|
|
goto exit;
|
|
|
|
|
|
@@ -1725,6 +1726,7 @@ static int nodemgr_host_thread(void *data)
|
|
/* Sleep 3 seconds */
|
|
/* Sleep 3 seconds */
|
|
for (i = 3000/200; i; i--) {
|
|
for (i = 3000/200; i; i--) {
|
|
msleep_interruptible(200);
|
|
msleep_interruptible(200);
|
|
|
|
+ try_to_freeze();
|
|
if (kthread_should_stop())
|
|
if (kthread_should_stop())
|
|
goto exit;
|
|
goto exit;
|
|
|
|
|