diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2009-03-31 15:49:08 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2009-04-15 10:15:08 +0100 |
commit | 7fa5d20d1a5e60ef7e453993b67b26c87dc09f07 (patch) | |
tree | f80bb0a1632a59748fb2cc5ab962fca3b52b0852 /fs/gfs2/quota.c | |
parent | 0882e8dd3aad33eca41696d463bb896e6c8817eb (diff) | |
download | lwn-7fa5d20d1a5e60ef7e453993b67b26c87dc09f07.tar.gz lwn-7fa5d20d1a5e60ef7e453993b67b26c87dc09f07.zip |
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.c | 2 |
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); |