summaryrefslogtreecommitdiffstats
path: root/fs/gfs2
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2009-03-31 15:49:08 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2009-04-15 10:15:08 +0100
commit7fa5d20d1a5e60ef7e453993b67b26c87dc09f07 (patch)
treef80bb0a1632a59748fb2cc5ab962fca3b52b0852 /fs/gfs2
parent0882e8dd3aad33eca41696d463bb896e6c8817eb (diff)
GFS2: Make quotad's waiting interruptible
So we don't count its D state in the loadavg. Reported-by: Nathan Straz <nstraz@redhat.com> Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/quota.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c
index 8d53f66b5bc..47bc5cbba48 100644
--- a/fs/gfs2/quota.c
+++ b/fs/gfs2/quota.c
@@ -1364,7 +1364,7 @@ int gfs2_quotad(void *data)
refrigerator();
t = min(quotad_timeo, statfs_timeo);
- prepare_to_wait(&sdp->sd_quota_wait, &wait, TASK_UNINTERRUPTIBLE);
+ prepare_to_wait(&sdp->sd_quota_wait, &wait, TASK_INTERRUPTIBLE);
spin_lock(&sdp->sd_trunc_lock);
empty = list_empty(&sdp->sd_trunc_list);
spin_unlock(&sdp->sd_trunc_lock);