summaryrefslogtreecommitdiff
path: root/fs/gfs2/quota.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2009-03-31 18:49:08 +0400
committerSteven Whitehouse <swhiteho@redhat.com>2009-04-15 13:15:08 +0400
commit7fa5d20d1a5e60ef7e453993b67b26c87dc09f07 (patch)
treef80bb0a1632a59748fb2cc5ab962fca3b52b0852 /fs/gfs2/quota.c
parent0882e8dd3aad33eca41696d463bb896e6c8817eb (diff)
downloadlinux-7fa5d20d1a5e60ef7e453993b67b26c87dc09f07.tar.xz
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/quota.c')
-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 8d53f66b5bcc..47bc5cbba48e 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);