GFS2: gfs2_logd should be using interruptible waits
Looks like this crept in, in a recent update. Reported-by: Krzysztof Urbaniak <urban@bash.org.pl> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
This commit is contained in:
parent
03a7ab083e
commit
5f4874903d
|
@ -932,7 +932,7 @@ int gfs2_logd(void *data)
|
||||||
|
|
||||||
do {
|
do {
|
||||||
prepare_to_wait(&sdp->sd_logd_waitq, &wait,
|
prepare_to_wait(&sdp->sd_logd_waitq, &wait,
|
||||||
TASK_UNINTERRUPTIBLE);
|
TASK_INTERRUPTIBLE);
|
||||||
if (!gfs2_ail_flush_reqd(sdp) &&
|
if (!gfs2_ail_flush_reqd(sdp) &&
|
||||||
!gfs2_jrnl_flush_reqd(sdp) &&
|
!gfs2_jrnl_flush_reqd(sdp) &&
|
||||||
!kthread_should_stop())
|
!kthread_should_stop())
|
||||||
|
|
Loading…
Reference in New Issue