Skip to contentSkip to conversation

GFS2: gfs2_logd should be using interruptible waits

Cluster-devel Steven Whitehouse 1 participant 1 message Sep 9, 2010 GFS2 file system

lore
Share & tools
lore
#0 lore raw

From 47622e16e32a87bdaadb0f4d9eed663046c6b8e3 Mon Sep 17 00:00:00 2001
From: Steven Whitehouse <[email protected]>
Date: Thu, 9 Sep 2010 13:50:05 +0100
Subject: GFS2: gfs2_logd should be using interruptible waits

Looks like this crept in, in a recent update.

fs/gfs2/log.c +1 -1
index cde1248..ac750bd 100644
@@ -932,7 +932,7 @@ int gfs2_logd(void *data)
 
 		do {
 			prepare_to_wait(&sdp->sd_logd_waitq, &wait,
-					TASK_UNINTERRUPTIBLE);
+					TASK_INTERRUPTIBLE);
 			if (!gfs2_ail_flush_reqd(sdp) &&
 			    !gfs2_jrnl_flush_reqd(sdp) &&
 			    !kthread_should_stop())
Signature · 1 line
1.7.1.1